Note that this also fixes a segfault due to a broken FileFD::ReadOnlyGzip in this particular apt version.
** Patch added: "debdiff with the fix for precise" https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1371058/+attachment/4207383/+files/apt_0.8.16%7Eexp12ubuntu10.20.debdiff -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1371058 Title: Regression: Latest apt security update returns Hash Sum mismatch for file: URI:s Status in “apt” package in Ubuntu: In Progress Status in “apt” source package in Lucid: New Status in “apt” source package in Precise: New Status in “apt” source package in Trusty: New Status in “apt” source package in Utopic: In Progress Status in “apt” package in Debian: Unknown Bug description: When running 'apt-get update' on Ubuntu Lucid using 0.7.25.3ubuntu9.16 I get Hash Sum mismatch when using file: URI:s. First time running apt-get update after cleaning /var/lib/dpkg/lists/ and /var/lib/dpkg/lists/partial it works. However the second time I get: root@crepes:/etc/apt# apt-get update Ign file:/mirrors/ubuntu/ubuntu/ lucid-security/main Translation-en_DK Ign file:/mirrors/ubuntu/ubuntu/ lucid-security/restricted Translation-en_DK Ign file:/mirrors/ubuntu/ubuntu/ lucid-security/universe Translation-en_DK Ign file:/mirrors/ubuntu/ubuntu/ lucid-security/multiverse Translation-en_DK Get:1 file: lucid-security Release.gpg [198B] Get:2 file: lucid-security Release [57,3kB] Hit http://security.ubuntu.com lucid-security Release.gpg Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_DK Ign http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_DK Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_DK Ign http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_DK Hit http://security.ubuntu.com lucid-security Release Hit http://security.ubuntu.com lucid-security/main Packages Hit http://security.ubuntu.com lucid-security/restricted Packages Hit http://security.ubuntu.com lucid-security/universe Packages Hit http://security.ubuntu.com lucid-security/multiverse Packages W: Failed to fetch file:/mirrors/ubuntu/ubuntu/dists/lucid-security/main/binary-amd64/Packages.bz2 Hash Sum mismatch W: Failed to fetch file:/mirrors/ubuntu/ubuntu/dists/lucid- security/restricted/binary-amd64/Packages.bz2 Hash Sum mismatch W: Failed to fetch file:/mirrors/ubuntu/ubuntu/dists/lucid- security/universe/binary-amd64/Packages.bz2 Hash Sum mismatch W: Failed to fetch file:/mirrors/ubuntu/ubuntu/dists/lucid- security/multiverse/binary-amd64/Packages.bz2 Hash Sum mismatch E: Some index files failed to download, they have been ignored, or old ones used instead. Runnng apt-get -o Acquire::CompressionTypes::Order="gz" changing to bz2 every second it works. Reverting back to 0.7.25.3ubuntu9.15 it works. And, of course, it works if only using http: URI:s. Looks like a regression in 0.7.25.3ubuntu9.16 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1371058/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp