[Bug 1274466] [NEW] apt-ftparchive on-disk cache format changed between lucid and precise, results in Packages files with silently corrupted checksums fields
Launchpad Bug Tracker
1274466 at bugs.launchpad.net
Mon Dec 8 16:19:57 UTC 2014
You have been subscribed to a public bug by Mathew Hodson (mathew-hodson):
TEST CASE:
1. generate a cachedb with apt-ftparchive from lucid via
apt-ftparchive --db old-db packages 2vcard_0.5-3_all.deb > Packages.1
- use apt-ftparchive from precise and run
apt-ftparchive --db old-db packages 2vcard_0.5-3_all.deb > Packages.2
and verify that it generates different hashes than Packages.1 (diff -u Packages.1 Packages.2)
- use apt-ftparchive from precise-proposed and run:
apt-ftparchive --db old-db packages 2vcard_0.5-3_all.deb > Packages.3
and verify that the hashes are identical to the ones in Packages.1
The archive.ubuntu.com master server has just been upgraded from lucid
to precise. As a result, the apt version went from 0.7.25.3 to
0.8.16~exp12, and apparently some time in that interval the on-disk
format of apt-ftparchive's cache changed.
This wouldn't be a problem, except apt-ftparchive itself doesn't
*notice* that the cache format has changed, and instead happily reads
the existing files and parses them incorrectly, resulting in corrupted
checksums output in the Packages file for each of the .debs.
apt-ftparchive should version its file formats so that it correctly
notices incompatible cache files.
** Affects: apt (Ubuntu)
Importance: Critical
Assignee: Michael Vogt (mvo)
Status: Fix Released
** Affects: apt (Ubuntu Precise)
Importance: Undecided
Status: In Progress
** Affects: apt (Ubuntu Trusty)
Importance: High
Status: In Progress
** Tags: patch verification-failed
--
apt-ftparchive on-disk cache format changed between lucid and precise, results in Packages files with silently corrupted checksums fields
https://bugs.launchpad.net/bugs/1274466
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list