On Fri, Jul 09, 2010 at 02:19:55PM -0400, Zachary Palmer wrote: > Package: apt-cacher > Version: 1.6.4 > Severity: normal > > > Content-Type: text/plain; charset="us-ascii" > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > From: Zachary Palmer <zep_deb...@bahj.com> > To: Debian Bug Tracking System <sub...@bugs.debian.org> > Subject: Regression: apt-cacher no longer properly supports Debian installer > files > Message-ID: <20100709181656.28329.91443.report...@nestor.bahj.com> > X-Mailer: reportbug 3.48 > Date: Fri, 09 Jul 2010 14:16:56 -0400 > > Package: apt-cacher > Version: 1.6.4 > Severity: normal > > > A patch was applied to apt-cacher 1.5.5 to allow the Debian Live > project's scripts to properly pull Debian Installer files through > apt-cacher. The patch appears to have involved adding a clause to the > /usr/share/apt-cacher/apt-cacher script (at line 540 in my copy of > version 1.6.4) which checks based on the following condition: > > ($filename =~ /^(?:vmlinuz|initrd\.gz)$/) > > However, attempting to create a clean Debian Live Lenny image including > the Lenny installer results in the error: > > http://nestor:3142/debian//dists/lenny/main/installer-i386/current/images//netboot/debian-installer/i386/linux: > 2010-07-09 14:10:37 ERROR 403: Sorry, not allowed to fetch that type of > file: linux. > E: Could not download file: > http://nestor:3142/debian//dists/lenny/main/installer-i386/current/images//netboot/debian-installer/i386/linux > > It appears that the Debian Installer is now using the name "linux" > rather than the name "vmlinuz". Adding this name to the above condition > to get > > ($filename =~ /^(?:linux|vmlinuz|initrd\.gz)$/) > > and restarting apt-cacher seems to have worked for me. This problem > also seems to exist in 1.6.11 in Sid at the moment. Can this fix be > applied to mainstream?
Thanks. I will look into that > On a slightly more wishlist-y note, it would be nice for apt-cacher to > use a configuration file for these filenames rather than a hardcoded > regexp. That way, I could edit something in /etc to fix this if it > comes up again as opposed to editing something in /usr/share. This has been in place since version 1.6.6 for ordinary package and index files. I will look at adding it for Debian Live as well. Mark -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org