[Aptitude-devel] Bug#887624: new hardwired SetupAPTPartialDirectory foils non-root use

積丹尼 Dan Jacobson jidanni at jidanni.org
Thu Jan 18 14:31:53 UTC 2018

Package: aptitude
Version: 0.8.10-6

There is something now hardwired into aptitude that no -o option can
change that causes this to complain when run as a regular user.

As you can see the user just wants to download some .debs including
dependencies and is not interested in locking any files or updating any
lists and you should let him do that.

$ aptitude -y -o Debug::NoLocking=true -o Dir::Cache=/tmp --download-only install libbest-perl
The following NEW packages will be installed:
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 15.8 kB of archives. After unpacking 66.6 kB will be used.
Get: 1 http://free.nchc.org.tw/debian unstable/main amd64 libbest-perl all 0.15-1 [15.8 kB]
Fetched 15.8 kB in 0s (73.7 kB/s)

Current status: 0 (+0) broken, 0 (+0) upgradable, 0 (-7302) new.
W: chmod 0700 of directory /var/lib/apt/lists/auxfiles failed - SetupAPTPartialDirectory (1: Operation not permitted)

More information about the Aptitude-devel mailing list