Your message dated Tue, 01 Dec 2015 07:04:21 +0800
with message-id <[email protected]>
and subject line Re: [Aptitude-devel] 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)
has caused the Debian Bug report #800017,
regarding aptitude: Update fails periodically
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
800017: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=800017
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: aptitude
Version: 0.7.4-1
Severity: normal
Dear Maintainer,
Every so often, aptitude fails to update (with 'u') properly. When
figuring out how to properly report this, I tried using update on the
command line. Here is the result:
$ sudo aptitude update
Hit http://download.virtualbox.org jessie InRelease
Ign http://dl.google.com stable InRelease
Hit http://dl.google.com stable Release.gpg
Hit http://ftp.us.debian.org unstable InRelease
Get: 1 http://download.virtualbox.org jessie/contrib amd64 Packages [1,344
B]
Hit http://dl.google.com stable Release
Hit http://download.virtualbox.org jessie/non-free amd64 Packages
Hit http://ftp.us.debian.org testing InRelease
Get: 2 http://download.virtualbox.org jessie/contrib i386 Packages [1,345 B]
Ign http://ftp.us.debian.org stable InRelease
Hit http://download.virtualbox.org jessie/non-free i386 Packages
Hit http://ftp.us.debian.org experimental InRelease
Hit http://archive.grahamedgecombe.com stable InRelease
Hit http://ftp.us.debian.org unstable/main Sources/DiffIndex
Fetched 2,689 B in 0s (7,946 B/s)
E: Could not open file
/var/lib/apt/lists/ftp.us.debian.org_debian_dists_unstable_main_source_Sources.IndexDiff
- open (2: No such file or directory)
The problem is solved by running apt-get update. After this, aptitude
update works just fine.
$ sudo apt-get update
Hit:1 http://download.virtualbox.org/virtualbox/debian jessie InRelease
Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:3 http://dl.google.com/linux/chrome/deb stable Release
Hit:4 http://ftp.us.debian.org/debian unstable InRelease
Hit:6 http://ftp.us.debian.org/debian testing InRelease
Ign:7 http://ftp.us.debian.org/debian stable InRelease
Hit:8 http://ftp.us.debian.org/debian experimental InRelease
Hit:9 http://archive.grahamedgecombe.com stable InRelease
Hit:10 http://ftp.us.debian.org/debian stable Release
Get:11 http://deb-multimedia.org sid InRelease [22.3 kB]
Hit:13 http://deb-multimedia.org sid/main Sources
Hit:14 http://deb-multimedia.org sid/main amd64 Packages
Hit:15 http://deb-multimedia.org sid/main i386 Packages
Reading package lists... Done
$ sudo aptitude update
Hit http://download.virtualbox.org jessie InRelease
Ign http://dl.google.com stable InRelease
Hit http://dl.google.com stable Release.gpg
Hit http://ftp.us.debian.org unstable InRelease
Hit http://dl.google.com stable Release
Hit http://download.virtualbox.org jessie/contrib amd64 Packages
Hit http://ftp.us.debian.org testing InRelease
Hit http://download.virtualbox.org jessie/non-free amd64 Packages
Ign http://ftp.us.debian.org stable InRelease
Hit http://download.virtualbox.org jessie/contrib i386 Packages
Hit http://ftp.us.debian.org experimental InRelease
Hit http://archive.grahamedgecombe.com stable InRelease
Hit http://dl.google.com stable/main amd64 Packages
Hit http://download.virtualbox.org jessie/non-free i386 Packages
Get: 1 http://ftp.us.debian.org unstable/main Sources/DiffIndex [7,876 B]
Get: 2 http://ftp.us.debian.org unstable/non-free Sources/DiffIndex [5,611
B]
Get: 3 http://ftp.us.debian.org unstable/contrib Sources/DiffIndex [5,473 B]
Get: 4 http://ftp.us.debian.org unstable/main amd64 Packages/DiffIndex
[7,876 B]
Get: 5 http://ftp.us.debian.org unstable/non-free amd64 Packages/DiffIndex
[4,093 B]
Get: 6 http://ftp.us.debian.org unstable/contrib amd64 Packages/DiffIndex
[5,611 B]
Get: 7 http://ftp.us.debian.org unstable/main i386 Packages/DiffIndex
[7,876 B]
Get: 8 http://ftp.us.debian.org unstable/non-free i386 Packages/DiffIndex
[4,231 B]
Hit http://deb-multimedia.org sid InRelease
Hit http://dl.google.com stable/main i386 Packages
Get: 9 http://ftp.us.debian.org unstable/contrib i386 Packages/DiffIndex
[5,611 B]
Get: 10 http://ftp.us.debian.org unstable/contrib Translation-en/DiffIndex
[1,747 B]
Get: 11 http://ftp.us.debian.org unstable/main Translation-en/DiffIndex
[7,876 B]
Get: 12 http://ftp.us.debian.org unstable/non-free Translation-en/DiffIndex
[2,713 B]
Hit http://ftp.us.debian.org stable Release.gpg
Get: 13 http://ftp.us.debian.org testing/main Sources/DiffIndex [7,876 B]
Get: 14 http://ftp.us.debian.org testing/non-free Sources/DiffIndex [3,265
B]
Get: 15 http://ftp.us.debian.org testing/contrib Sources/DiffIndex [3,403 B]
Get: 16 http://ftp.us.debian.org testing/main amd64 Packages/DiffIndex
[7,876 B]
Get: 17 http://ftp.us.debian.org testing/non-free amd64 Packages/DiffIndex
[3,127 B]
Get: 18 http://ftp.us.debian.org testing/contrib amd64 Packages/DiffIndex
[3,541 B]
Get: 19 http://ftp.us.debian.org testing/main i386 Packages/DiffIndex
[7,876 B]
Get: 20 http://ftp.us.debian.org testing/non-free i386 Packages/DiffIndex
[3,127 B]
Get: 21 http://ftp.us.debian.org testing/contrib i386 Packages/DiffIndex
[3,679 B]
Get: 22 http://ftp.us.debian.org testing/contrib Translation-en/DiffIndex
[1,885 B]
Get: 23 http://ftp.us.debian.org testing/main Translation-en/DiffIndex
[7,876 B]
Get: 24 http://ftp.us.debian.org testing/non-free Translation-en/DiffIndex
[2,023 B]
Hit http://archive.grahamedgecombe.com stable/main Sources
Get: 25 http://ftp.us.debian.org experimental/main Sources/DiffIndex [7,819
B]
Ign http://download.virtualbox.org jessie/contrib Translation-en_US
Get: 26 http://ftp.us.debian.org experimental/non-free Sources/DiffIndex
[1,195 B]
Ign http://download.virtualbox.org jessie/contrib Translation-en
Hit http://deb-multimedia.org sid/main Sources
Hit http://archive.grahamedgecombe.com stable/main amd64 Packages
Ign http://download.virtualbox.org jessie/non-free Translation-en_US
Get: 27 http://ftp.us.debian.org experimental/contrib Sources/DiffIndex
[505 B]
Ign http://download.virtualbox.org jessie/non-free Translation-en
Ign http://dl.google.com stable/main Translation-en_US
Get: 28 http://ftp.us.debian.org experimental/main amd64 Packages/DiffIndex
[7,819 B]
Ign http://dl.google.com stable/main Translation-en
Hit http://deb-multimedia.org sid/main amd64 Packages
Hit http://archive.grahamedgecombe.com stable/main i386 Packages
Get: 29 http://ftp.us.debian.org experimental/non-free amd64
Packages/DiffIndex [781 B]
Get: 30 http://ftp.us.debian.org experimental/contrib amd64
Packages/DiffIndex [919 B]
Get: 31 http://ftp.us.debian.org experimental/main i386 Packages/DiffIndex
[7,819 B]
Hit http://deb-multimedia.org sid/main i386 Packages
Get: 32 http://ftp.us.debian.org experimental/non-free i386
Packages/DiffIndex [781 B]
Get: 33 http://ftp.us.debian.org experimental/contrib i386
Packages/DiffIndex [919 B]
Get: 34 http://ftp.us.debian.org experimental/contrib
Translation-en/DiffIndex [643 B]
Get: 35 http://ftp.us.debian.org experimental/main Translation-en/DiffIndex
[7,819 B]
Get: 36 http://ftp.us.debian.org experimental/non-free
Translation-en/DiffIndex [919 B]
Hit http://ftp.us.debian.org stable Release
Hit http://ftp.us.debian.org stable/main Sources
Hit http://ftp.us.debian.org stable/non-free Sources
Hit http://ftp.us.debian.org stable/contrib Sources
Hit http://ftp.us.debian.org stable/main amd64 Packages
Hit http://ftp.us.debian.org stable/non-free amd64 Packages
Hit http://ftp.us.debian.org stable/contrib amd64 Packages
Hit http://ftp.us.debian.org stable/main i386 Packages
Hit http://ftp.us.debian.org stable/non-free i386 Packages
Hit http://ftp.us.debian.org stable/contrib i386 Packages
Hit http://ftp.us.debian.org stable/contrib Translation-en
Hit http://ftp.us.debian.org stable/main Translation-en
Ign http://archive.grahamedgecombe.com stable/main Translation-en_US
Hit http://ftp.us.debian.org stable/non-free Translation-en
Ign http://deb-multimedia.org sid/main Translation-en_US
Ign http://archive.grahamedgecombe.com stable/main Translation-en
Ign http://deb-multimedia.org sid/main Translation-en
Fetched 160 kB in 4s (33.6 kB/s)
As an extra data point, I have apt updating and downloading packages
daily with the following /etc/apt/apt.conf.d:
APT::Periodic
{
Update-Package-Lists "1";
Download-Upgradeable-Packages "1";
AutocleanInterval "7";
};
-- Package-specific info:
Terminal: eterm-color
$DISPLAY is set.
which aptitude: /usr/bin/aptitude
aptitude version information:
aptitude 0.7.4 compiled at Oct 16 2015 12:35:50
Compiler: g++ 5.2.1 20151010
Compiled against:
apt version 4.16.0
NCurses version 6.0
libsigc++ version: 2.6.1
Gtk+ support disabled.
Qt support disabled.
Current library versions:
NCurses version: ncurses 6.0.20151024
cwidget version: 0.5.17
Apt version: 4.16.0
aptitude linkage:
linux-vdso.so.1 (0x00007ffd382b5000)
libapt-pkg.so.4.16 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.16
(0x00007f2d13921000)
libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5
(0x00007f2d136f1000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5
(0x00007f2d134c6000)
libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0
(0x00007f2d132c0000)
libcwidget.so.3 => /usr/lib/x86_64-linux-gnu/libcwidget.so.3
(0x00007f2d12fc1000)
libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
(0x00007f2d12cea000)
libboost_iostreams.so.1.58.0 =>
/usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.58.0 (0x00007f2d12ad1000)
libxapian.so.22 => /usr/lib/libxapian.so.22 (0x00007f2d126cf000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f2d124b1000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(0x00007f2d12136000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f2d11e35000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
(0x00007f2d11c1e000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2d11875000)
libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f2d11672000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f2d1146d000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f2d11252000)
libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0
(0x00007f2d11042000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f2d10e1e000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f2d10c16000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f2d10a10000)
/lib64/ld-linux-x86-64.so.2 (0x00005650a6fe7000)
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages aptitude depends on:
ii aptitude-common 0.7.4-1
ii libapt-pkg4.16 1.0.10.2
ii libboost-iostreams1.58.0 1.58.0+dfsg-3.1
ii libc6 2.19-22
ii libcwidget3v5 0.5.17-4
ii libgcc1 1:5.2.1-23
ii libncursesw5 6.0+20151024-1
ii libsigc++-2.0-0v5 2.6.1-3
ii libsqlite3-0 3.9.1-2
ii libstdc++6 5.2.1-23
ii libtinfo5 6.0+20151024-1
ii libxapian22v5 1.2.21-1.2
Versions of packages aptitude recommends:
pn aptitude-doc-en | aptitude-doc <none>
ii libparse-debianchangelog-perl 1.2.0-8
ii sensible-utils 0.0.9
Versions of packages aptitude suggests:
pn apt-xapian-index <none>
pn debtags <none>
ii tasksel 3.33
-- no debconf information
--
Michael Welsh Duggan
([email protected])
--- End Message ---
--- Begin Message ---
MAFM> Have you seen this problem with the recent updates?
No. Closing. Thanks.
I currently do:
aa=/var/cache/apt/archives\ /var/lib/apt/lists
set -- $(find $aa -maxdepth 0 -type d -perm 0)
if test $# -ne 2
then
ls -ld $aa
echo -n "$0: not 000 !!!!! Got that holmes? "; read
fi
err=0
for m in $aa
do
fsck -C -f -a $m && mount $m && chown -R root:root $m &&
find $m/partial -type f -delete
chown -R _apt:root $m/partial || err=1
done
if test $err != 0
then echo "MOUNT and chown $aa YOURSELF, DUDE, OK? "; read
fi
--- End Message ---
_______________________________________________
Aptitude-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/aptitude-devel