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

Bug#583502: Processed: retitle 583502 to apt generates incorrect index uris



Hi,

as every other (interesting) config setting this one is also documented
in apt.conf (5) section Acquire group, item CompressionTypes.
That the internet doesn't know about it by now is caused by the
fact that it is relatively "new".
The default is "bz2", "lzma", "gz".

I suspect you don't have bzip2 installed, but lzma (and gzip)?
So APT will ignore "bz2" as it can't unpack it without bzip2,
tries lzma and if this file can't be downloaded
(and it can't from any official debian server) "gz".
End of the story.

I guess apt-offline just asks for uris from python-apt
(which is a package on it's own btw) much like you can with
apt-get update --print-uris    and
apt-get update --print-uris -o Acquire::CompressionTypes::Order::=lzma
this will obviously return the first "available" - in terms that a
binary is present to unpack this file - APT can think of, and
in the case that bzip2 is not installed that is most likely lzma.

That these files are not on the server is nothing APT can know
before downloading stuff, so it is optimistic. Ever noticed that
APT in this stage doesn't display the Checksums for the files
it downloads while it does it for deb-files? Guess why…

Could you confirm or deny this please Ritesh Raj Sarraf
and take the bugreport back (or not)?
It is already to late for me to play a good round of bug-reassign
ping-pong (I hate this game anyway). ;)


Best regards,

David Kalnischkies



Reply to: