Changelogs fail to download (403)
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-
> # 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:/
> #PassThroughPat
>
> ## changelogs
> Remap-changelogs: changelogs.
> #PassThroughPat
>
> ## passthrough
> PassThroughPattern: (get\.docker\
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.
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 \.gz|\. bz2|\.lzma| \.xz)?| release| index\. db-.*\. gz|Contents- [^/]*(\ .gz|\.bz2| \.lzma| \.xz)?| pkglist bz2|rclist[ ^/]*\.bz2| meta-release[ ^/]*|Translatio n[^/]*( \.gz|\. bz2|\.lzma| \.xz)?| MD5SUMS| SHA1SUMS| ( setup-legacy) (\.ini| \.bz2|\ .hint)( \.sig)? )|mirrors\ .lst|repo( index|md) \.xml(\ .asc|\. key)?|directory products| content( \.asc|\ .key)?| media|filelists \.xml\. gz|filelists\ .sqlite\ .bz2|repomd\ .xml|packages Z][a-zA- Z]\.gz| info\.txt| license\ .tar\.gz| license\ .zip|.* \.(db|files| abs)(\. tar(\.gz| \.bz2|\ .lzma| |metalink\ ?repo|. *prestodelta\ .xml\.gz| repodata/ .*\.(xml| sqlite) (\.gz|\ .bz2|\. lzma|\. xz))$|/ dists/. [^/]+/[ ^0-9][^ /]+/images/ .* deb|\.rpm| \.drpm| \.dsc|\ .tar(\. gz|\.bz2| \.lzma| \.xz)(\ .gpg)?| \.diff( \.gz|\. bz2|\.l |\.jigdo| \.template| changelog| copyright| \.udeb| \.debdelta| \.diff/ .*\.gz| (Devel) ?ReleaseAnnounc eme )?|[a-f0- 9]+-(susedata| updateinfo| primary| deltainfo) .xml.gz| fonts/( final/) ?[a-z]+ 32.exe( \?download. .*/installer- [^/]+/[ 0-9][^/ ]+/images/ .*)$
|Sources(
[^/]*\.
(setup|
\.yast|
\.[a-zA-
\.xz))?
*/installer-
# PfilePattern = .*(\.d?
zma|\.xz)
nt(\?.*
*)?|/dists/