[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#326743: More info (apt CLAIMS it tried to use bzip2 on Packages.gz)



Hi there

I fixed this error message today on an Ubuntu box, and the issue at heart was actually a bad error message which claimed it was trying to bzip2 the Packages.gz.

What was REALLY happening was that an HTTP content filter was swapping in an HTML error page in place of the original file (access restriction on .bz2/.gz extensions), and then apt was trying to bzip2 / ungzip the HTML page. Which, of course, produced an error - but a confusing one.

The issue I think is that it *says* it had a bzip2 error on Packages.gz. Perhaps it tries both decompression methods, or perhaps the word "Packages.gz" is in there by error and apt-get was really fetching Packages.bz2. But, errors like below resulted (for me) in several hours of trying to fix stuff that wasn't broken.

    Failed to fetch
http://mirror.site.url/debian/dists/testing/non-free/source/ Sources.gz
    Sub-process bzip2 returned an error code (2)

All I had to do to 'fix' this issue was go around the content filter by using FTP.

Hope this helps your bug tracking.



Reply to: