Changelogs fail to download (403)

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

Bug Description

Bug: Changelogs fail to download in update-manager with apt-cacher-ng in the default configuration.

Solutions:

1. Enable ForwardBtSoap in /etc/apt-cacher-ng/acng.conf and cross fingers

> # Experimental feature for apt-listbugs: pass-through SOAP requests and
> # responses to/from bugs.debian.org. If not set, default is true if
> # ForceManaged is enabled and false otherwise.
> #ForwardBtsSoap: 0
> ForwardBtsSoap: 1

2. Remap and update PassThroughPattern

> ## docker
> Remap-docker: get.docker.io ; https://get.docker.io
> #PassThroughPattern: get\.docker\.io:443$
>
> ## changelogs
> Remap-changelogs: changelogs.ubuntu.com ; http://changelogs.ubuntu.com
> #PassThroughPattern: changelogs\.ubuntu\.com$
>
> ## passthrough
> PassThroughPattern: (get\.docker\.io:443|changelogs\.ubuntu\.com)$

It may be helpful to add Remap-changelogs and PassThroughPattern to the default Ubuntu configuration with instructions for how to add an additional pattern (e.g. "get.docker.io:443").

Revision history for this message
Wes Turner (wes-turner) wrote :

I also needed to add "NEWS\.Debian" to VfilePattern to get ubuntu changelogs to download.

> VfilePattern = (^|.*/)(Index|Packages(\.gz|\.bz2|\.lzma|\.xz)?|NEWS\.Debian|InRelease|Release|Release\.gpg
|Sources(\.gz|\.bz2|\.lzma|\.xz)?|release|index\.db-.*\.gz|Contents-[^/]*(\.gz|\.bz2|\.lzma|\.xz)?|pkglist
[^/]*\.bz2|rclist[^/]*\.bz2|meta-release[^/]*|Translation[^/]*(\.gz|\.bz2|\.lzma|\.xz)?|MD5SUMS|SHA1SUMS|(
(setup|setup-legacy)(\.ini|\.bz2|\.hint)(\.sig)?)|mirrors\.lst|repo(index|md)\.xml(\.asc|\.key)?|directory
\.yast|products|content(\.asc|\.key)?|media|filelists\.xml\.gz|filelists\.sqlite\.bz2|repomd\.xml|packages
\.[a-zA-Z][a-zA-Z]\.gz|info\.txt|license\.tar\.gz|license\.zip|.*\.(db|files|abs)(\.tar(\.gz|\.bz2|\.lzma|
\.xz))?|metalink\?repo|.*prestodelta\.xml\.gz|repodata/.*\.(xml|sqlite)(\.gz|\.bz2|\.lzma|\.xz))$|/dists/.
*/installer-[^/]+/[^0-9][^/]+/images/.*
# PfilePattern = .*(\.d?deb|\.rpm|\.drpm|\.dsc|\.tar(\.gz|\.bz2|\.lzma|\.xz)(\.gpg)?|\.diff(\.gz|\.bz2|\.l
zma|\.xz)|\.jigdo|\.template|changelog|copyright|\.udeb|\.debdelta|\.diff/.*\.gz|(Devel)?ReleaseAnnounceme
nt(\?.*)?|[a-f0-9]+-(susedata|updateinfo|primary|deltainfo).xml.gz|fonts/(final/)?[a-z]+32.exe(\?download.
*)?|/dists/.*/installer-[^/]+/[0-9][^/]+/images/.*)$

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

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

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

  * New upstream version
    + workaround for processing of damaged caches in maintenance tasks
      (smarter/optimistic download source guessing, closes: #737069)
  * Dutch Debconf strings translation update by Frans Spiesschaert
    (closes: #764082)

 -- Eduard Bloch <email address hidden> Mon, 20 Oct 2014 22:52:25 +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.