#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
Source:
apt
Description:
commandline package manager
Submitter:
Axel Beckert
Date:
2014-10-21 10:21:17 UTC
Severity:
minor
#764503#5
Date:
2014-10-08 16:21:57 UTC
From:
To:
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

#764503#12
Date:
2014-10-21 10:18:30 UTC
From:
To:
Downgrading packages is not supported. Unless there is a real bug
here, I am not sure it makes sense to add a workaround.