incorrect pregenerated Release file for extras.ubuntu.com
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-setup (Ubuntu) |
Fix Released
|
High
|
Colin Watson |
Bug Description
apt-setup-
But it ignores it when calculating the list of sources to prepopulate:
lines="$($chroot $ROOT \
apt-get -o APT::Get:
-o Dir::Etc:
grep "^'.*'")"
That regex is fairly useless, matching every line and causing a bogus Release to be thrown into the cache for even non-primary sources. The mtime of the file is the time of the package build, so "apt-get update" will not pull down a correct one unless the archive has been updated recently. Then Packages and Sources retrieval explodes with hash mismatches.
This was hitting new maverick installations (extras.ubuntu.com is a couple of weeks old), but has been worked around by touching its Release.