On Tue, 2004-10-19 at 14:24, David Clymer wrote: > On Mon, 2004-10-18 at 12:51, Leif W wrote: > > Hello, > > > > I'm sorry if this question has been asked or answered before, but I > > simply can not find the answer. I've looked in every apt related > > documentation package (apt, apt-doc, apt-howto), I've searched the web > > using Google, with and without resticting to site:debian.org. The apt > > documentation is woefully inadequate when it comes to describing the > > configuration of this very handy program. The only thing I could find > > which might be useful was at the link below. But before attempting to > > get the apt source and apply a patch that may or may not even work with > > the current apt source, I figured I'd ask. > > > > http://lists.debian.org/deity/2004/02/msg00146.html > > > > Try the settings below: > > Default > { > Packages::Compress ". bzip2"; > Sources::Compress "bzip2"; > Contents::Compress "bzip2"; > } > > I added that to my apt config and it didnt complain...though I'm not > sure how to tell if its actually using bzip2, since the package files > end up stored locally in uncompressed form >
Well...I take that all back. I swear I found that section in a file called apt.conf, but It seems that the only references I can find to the config directives above are in the man page for apt-ftparchive, where those directives dictate the format that the Package files will be compressed in when building an apt archive. Looking at the apt source, it appears that that bzip2 support is implemented, though in the code that (i think) handles fetching package index files it appears that the extension .gz is hardcoded in. That seems awfully strange, but I didnt fully grok the source, so I may just have the wrong idea. Anyway, my cursory read of the source leads me to believe that you may need to modify the it in order to get it to actually download Packages.bz2. -davidc -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]