[Aptitude-devel] Bug#800017: Bug#800017: Bug#800017: Could not open file /var/lib/apt/lists/ftp.tw.debian.org_debian_dists_experimental_main_i18n_Translation-en.IndexDiff - open (2: No such file or directory)
積丹尼 Dan Jacobson
jidanni at jidanni.org
Fri Sep 25 14:54:12 UTC 2015
I bet the problem has something to do with the residue left with the
_apt owner stuff...
# find /var/lib/apt/lists/partial -ls
49345 17 drwx------ 2 _apt root 16384 Sep 25 18:52 /var/lib/apt/lists/partial
49381 18 -rw-r--r-- 1 root root 18409 Aug 15 09:21 /var/lib/apt/lists/partial/ftp.tw.debian.org_debian_dists_experimental_contrib_i18n_Translation-en
OK I moved that file to /tmp and now indeed "aptitude update" is
working.
I moved it back, and "aptitude update" is still working (but maybe that
is because it was freshly updated.)
As this is on a "sneakernet" disk, I use
chown root:root lists
chown _apt:root lists/partial
at boot.
OK I'll use
chown -R _apt:root lists/partial
or better yet
find lists/partial -type f -delete
More information about the Aptitude-devel
mailing list