cacher mangles release notes queries when set as proxy

Bug #1507953 reported by Harald Sitter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt-cacher-ng (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

When apt-cacher-ng is set as global apt proxy

> $ cat /etc/apt/apt.conf.d/apt-cacher
> Acquire::http { Proxy "http://localhost:3142"; };

the ubuntu-release-upgrader tool will use the proxy setting to access the release notes [1] on archive.ubuntu.com. These will be answered by apt-cacher-ng with 403 denied making the release notes unavailable for no apparent reason.

[1] http://archive.ubuntu.com/ubuntu/dists/vivid-updates/main/dist-upgrader-all/current/ReleaseAnnouncement.html

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: apt-cacher-ng 0.8.5-1
ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
Uname: Linux 4.2.0-16-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.19.1-0ubuntu3
Architecture: amd64
CurrentDesktop: KDE
Date: Tue Oct 20 11:19:31 2015
InstallationDate: Installed on 2013-10-29 (720 days ago)
InstallationMedia: Kubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
SourcePackage: apt-cacher-ng
UpgradeStatus: Upgraded to wily on 2015-10-19 (0 days ago)
modified.conffile..etc.apt.cacher.ng.security.conf: [inaccessible: [Errno 13] Permission denied: '/etc/apt-cacher-ng/security.conf']

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

echo VfilePatternEx:.*ubuntu.dists.*html > /etc/apt-cacher-ng/temp_fix.conf
And restart the service.

This is a stop-gap solution. Remove that conf file later when the pattern is added to the regular list.

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

The latest version 0.9.1 should solve it, at least partly (I tested the release notes view in the graphical installation).

The stylesheets of that page are missing since I didn't have time to investigate the fetching of that data properly but the content itself should be ok.

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

Is this fixed?

ping @apachelogger

Changed in apt-cacher-ng (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for apt-cacher-ng (Ubuntu) because there has been no activity for 60 days.]

Changed in apt-cacher-ng (Ubuntu):
status: Incomplete → Expired
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.