On Thu, Oct 21, 2010 at 11:42:01AM +1100, Ben Finney wrote:
> Package: apt-cacher
> Version: 1.6.12
> Severity: normal
> 
> When using a client (such as Aptitude) to fetch the changelog for a
> package, the ‘apt-cacher’ server responds with a 403 error, and the
> message “Sorry, not allowed to fetch that type of file: changelog”.

Thanks

> This is a regression from earlier versions, which would happily serve
> changelogs requested by Aptitude.

Really? Which version did fetching changelogs through work for?

> This may be related to a bug fixed in Ubuntu version 1.6.10ubuntu2
> <URL:https://bugs.launchpad.net/ubuntu/+source/apt-cacher/+bug/561902>.

I will fix this as the default, but it is now a configurable item. See
installer_files_regexp in apt-cacher(1).

Having read the documentation, I have realised it may not be entirely
clear that this is the correct config item to tweak. But if you add the
necessary items to the default, something like

 installer_files_regexp = ^(?:vmlinuz|linux|initrd\.gz|changelog|NEWS.Debian)$ 

I think it should work. Please could you verify and let me know if it
doesn't.

Thanks

Mark



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to