2012-11-13 10:03:46 |
Roger Hunwicks |
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" |
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 |
|