Bug#764503: apt: "apt-get update" fails after downgrading from 1.1~exp4 to 1.0.9.2: E: Could not open file /var/lib/apt/lists/ftp.ch.debian.org_debian_dists_sid_main_source_Sources.IndexDiff - open (2: No such file or directory)
Package: apt
Version: 1.1~exp4
Severity: minor
Control: affects -1 aptitude
Dear APT Developers,
since apt 1.1~exp4 caused some malfunctioning with aptitude (mostly
related to "aptitude update" and "aptitude -u"), I decided to downgrade
apt to 1.0.9.2 again.
But since then, "apt-get update" fails as follows (and aptitude already
did so before downgrading, too):
# apt-get update
Hit http://ftp.ch.debian.org sid InRelease
Hit http://ftp.ch.debian.org testing InRelease
Hit http://ftp.ch.debian.org experimental InRelease
Hit http://ftp.ch.debian.org sid/main Sources/DiffIndex
E: Could not open file /var/lib/apt/lists/ftp.ch.debian.org_debian_dists_sid_main_source_Sources.IndexDiff - open (2: No such file or directory)
The following sufficed to fix the issue:
# rm /var/lib/apt/lists/ftp.ch.debian.org_debian_dists_*
# apt-get update
-- Package-specific info:
-- (/etc/apt/preferences present, but not submitted) --
-- (/etc/apt/sources.list present, but not submitted) --
The following information is from _after_ the downgrade to 1.0.9.2:
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (990, 'unstable'), (600, 'testing'), (110, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt depends on:
ii debian-archive-keyring 2014.1
ii gnupg 1.4.18-4
ii libapt-pkg4.12 1.0.9.2
ii libc6 2.19-11
ii libgcc1 1:4.9.1-16
ii libstdc++6 4.9.1-16
apt recommends no packages.
Versions of packages apt suggests:
ii apt-doc 1.0.9.2
ii aptitude 0.6.11-1
ii dpkg-dev 1.17.16
ii python-apt 0.9.3.10
ii synaptic 0.81.2
ii wajig 2.14
-- Configuration Files:
/etc/apt/apt.conf.d/01autoremove changed:
APT
{
NeverAutoRemove
{
"^firmware-linux.*";
"^linux-firmware$";
};
VersionedKernelPackages
{
# linux kernels
"linux-image";
"linux-headers";
"linux-image-extra";
"linux-signed-image";
# kfreebsd kernels
"kfreebsd-image";
"kfreebsd-headers";
# hurd kernels
"gnumach-image";
# (out-of-tree) modules
".*-modules";
".*-kernel";
"linux-backports-modules-.*";
# tools
"linux-tools";
};
Never-MarkAuto-Sections
{
};
};
-- no debconf information
Reply to: