Comment 21 for bug 156070

Revision history for this message
Reinier Battenberg (reinier-battenberg) wrote :

I fixed this in Hardy by changing line 605 in the file '/usr/shared/apt-cacher/apt-cacher' to

 if ($filename =~ /(\.gpg|\.deb|\.rpm|\.dsc|\.tar\.gz|\.diff\.gz|\.udeb|index\.db-.+\.gz)$/) {

I also changed line 12 in apt-cacher-format-transition.pl to

       for $fname (<*gpg>,<*.deb>, <*pgp>, <*gz>, <*bz2>, <*Release>) {

But i am not sure if that is wise or necessary.

I think releasing this patch is very usefull, after all, Hardy is quite likely to run on a lot of servers, until the next LTS release.