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

Bug#607135: marked as done (GzipIndexes not working anymore with the default compression order)



Your message dated Thu, 13 Aug 2015 23:06:49 +0200
with message-id <20150813210649.GA23940@crossbow>
and subject line Re: GzipIndexes not working anymore with the default compression order
has caused the Debian Bug report #607135,
regarding GzipIndexes not working anymore with the default compression order
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
607135: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=607135
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.8.8


Hi, 


Problem
-------

Acquire::GzipIndexes "true" is not working properly with the default
Acquire::CompressionTypes::Order, because apt downloads the "Packages" file as
a bzip2 and not the gzip one archive : it simply never gzip the "Packages"
files.

It occurs since recently (i was late at updating, so install date would not be
relevant).

Here is my apt.conf :

APT::Install-Recommends "false";
APT::Install-Suggests "false";
APT::Get::Purge "true";
Acquire::GzipIndexes "true";
Dir::Cache::srcpkgcache "";
Dir::Cache::pkgcache "";

The 'apt-config dump' :

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "false";
APT::Install-Suggests "false";
APT::Acquire "";
APT::Acquire::Translation "environment";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^firmware-linux.*";
APT::NeverAutoRemove:: "^linux-firmware$";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^kfreebsd-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::NeverAutoRemove:: "^linux-ubuntu-modules-.*";
APT::Never-MarkAuto-Sections "";
APT::Never-MarkAuto-Sections:: "metapackages";
APT::Never-MarkAuto-Sections:: "restricted/metapackages";
APT::Never-MarkAuto-Sections:: "universe/metapackages";
APT::Never-MarkAuto-Sections:: "multiverse/metapackages";
APT::Never-MarkAuto-Sections:: "oldlibs";
APT::Never-MarkAuto-Sections:: "restricted/oldlibs";
APT::Never-MarkAuto-Sections:: "universe/oldlibs";
APT::Never-MarkAuto-Sections:: "multiverse/oldlibs";
APT::Get "";
APT::Get::Purge "true";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::mirrors "mirrors/";
Dir::State::extended_states "extended_states";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "";
Dir::Cache::pkgcache "";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::netrc "auth.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Etc::preferencesparts "preferences.d";
Dir::Etc::trusted "trusted.gpg";
Dir::Etc::trustedparts "trusted.gpg.d";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Media "";
Dir::Media::MountPath "/media/cdrom";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
Dir::Log::History "history.log";
Dir::Ignore-Files-Silently "";
Dir::Ignore-Files-Silently:: "~$";
Dir::Ignore-Files-Silently:: "\.disabled$";
Dir::Ignore-Files-Silently:: "\.bak$";
Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$";
Acquire "";
Acquire::cdrom "";
Acquire::cdrom::mount "/media/cdrom";
Acquire::GzipIndexes "true";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/sbin/localepurge ] && [ $(ps w -p $PPID | grep -c remove) != 1 ]; then /usr/sbin/localepurge; else exit 0; fi";
CommandLine "";
CommandLine::AsString "apt-config dump";


Reproduce it
------------

(that's barbaric)

cd /var/lib/apt/lists
rm *
# use the apt.conf above.
apt-get update



Workaround
----------

I had to add this to my apt.conf: 

Acquire::CompressionTypes::Order:: "gz";


Please document it, or change the Compression order when GzipIndexes is set to
true.


Cheers, 

François.

--
System Information
Debian Release: squeeze/sid
Architecture: i386
Kernel: Linux 2.6.34.7-slimfast2



--- End Message ---
--- Begin Message ---
Version: 1.0.9.2

On Tue, Dec 14, 2010 at 10:49:50PM +0100, François Wendling wrote:
> Acquire::GzipIndexes "true" is not working properly with the default
> Acquire::CompressionTypes::Order, because apt downloads the "Packages" file as
> a bzip2 and not the gzip one archive : it simply never gzip the "Packages"
> files.

This was fixed in 1.0.9.2 with the changelog entry:

  * generalize Acquire::GzipIndex to support all compressions that
    apt supports

So, this bug can be closed which I am doing with this message now.


Best regards

David Kalnischkies

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: