apt-cacher-ng does not allow .o files to be downloaded

Bug #1078224 reported by Roger Hunwicks
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt-cacher-ng (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

If you try to install a package that downloads a '.o' file, e.g. a binary firmware for a wireless card, via apt-cacher-ng it fails because the .o extension is not allowed:

sudo apt-get install firmware-b43legacy-installer b43-fwcutter
...
ERROR 403: Forbidden file type or location: http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o.

The solution, as reported in #227240, is to edit /etc/apt-cacher-ng/acng.conf and uncomment the PfilePattern setting and update part of the regular expression for extentions (|\.jigdo|\.template, etc.) to include "|\.o"
---
ApportVersion: 2.0.1-0ubuntu1
Architecture: amd64
DistroRelease: Ubuntu 12.04
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120130)
Package: apt-cacher-ng 0.7.2-1ubuntu1
PackageArchitecture: amd64
ProcEnviron:
 TERM=xterm
 LANG=en_GB.UTF-8
 LANGUAGE=en_GB:en
 SHELL=/bin/bash
 PATH=(custom, no user)
ProcVersionSignature: Ubuntu 3.2.0-22.35-generic 3.2.14
Tags: precise
Uname: Linux 3.2.0-22-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

modified.conffile..etc.apt.cacher.ng.acng.conf: [modified]
modified.conffile..etc.apt.cacher.ng.backends.ubuntu: [modified]
modified.conffile..etc.apt.cacher.ng.security.conf: [modified]
mtime.conffile..etc.apt.cacher.ng.acng.conf: 2012-11-13T15:41:58.088162
mtime.conffile..etc.apt.cacher.ng.backends.ubuntu: 2012-05-28T12:04:25.573032
mtime.conffile..etc.apt.cacher.ng.security.conf: 2012-08-14T09:21:47.307735

Related branches

Revision history for this message
Roger Hunwicks (roger-tonic-solutions) wrote : Dependencies.txt

apport information

tags: added: apport-collected precise
description: updated
Revision history for this message
Ken Sharp (kennybobs) wrote :

apt-cacher-ng only pulls the .debs, why would it then be trying to download from downloads.openwrt.org?

Can you supply the full apt output?

Changed in apt-cacher-ng (Ubuntu):
status: New → Incomplete
Revision history for this message
Rolf Leggewie (r0lf) wrote :

Ken, the full information to reproduce the problem was already given:

"If you try to install a package that downloads a '.o' file
[...]
sudo apt-get install firmware-b43legacy-installer b43-fwcutter"

Changed in apt-cacher-ng (Ubuntu):
status: Incomplete → New
Revision history for this message
Ken Sharp (kennybobs) wrote :

That still only pulls .deb files. I assume you're saying that you're running apt-get on an openwrt box?

Is this still an issue? If so this will want sending upstream as nothing is going to happen in Launchpad.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

Ken, thank you for your comment but you are mistaken on both accounts.

That package will do a download of binary firmware as reported by Roger. And upstream is already subscribed to this ticket and all other bug tickets in LP.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

ping Eduard

Revision history for this message
Eduard Bloch (edi-gmx) wrote :

Ok... since I have no idea about the rules of that files' storage I will just add .o type to the volatile set. See acng git, upstream/sid branch.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apt-cacher-ng - 0.8.3-1

---------------
apt-cacher-ng (0.8.3-1) unstable; urgency=medium

  * New upstream version
    + solves the expiration hickup with disappeared .bz2 file versions

 -- Eduard Bloch <email address hidden> Sat, 02 May 2015 17:20:16 +0200

Changed in apt-cacher-ng (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.