2012-04-03 03:50:55 |
Scott Moser |
description |
Due to problems in apt, squid-deb-proxy needs special handling of Release, Packages, Sources.
Even the stock ubuntu /etc/squid3/squid3.conf has:
refresh_pattern (Release|Packages(.gz)*)$ 0 20% 2880
In orchestra-provisioning-server, we had:
refresh_pattern \/(Packages|Sources)(|\.bz2|\.gz)$ 0 0% 0
I'm suggesting somethin glike:
refresh_pattern \/(Release|Packages|Sources)(|\.bz2|\.gz)$ 0 0% 0
If you dont have this, you can easily end up with a Packages or Sources file that is cached and invalid when compared to Release.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: squid-deb-proxy 0.6.1
ProcVersionSignature: Ubuntu 3.2.0-20.33-generic 3.2.12
Uname: Linux 3.2.0-20-generic x86_64
ApportVersion: 2.0-0ubuntu2
Architecture: amd64
Date: Mon Apr 2 20:10:37 2012
PackageArchitecture: all
SourcePackage: squid-deb-proxy
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.init.squid.deb.proxy.conf: 2012-04-02T19:38:05.591083
mtime.conffile..etc.squid.deb.proxy.squid.deb.proxy.conf: 2012-04-02T19:41:37.218980 |
Due to problems in apt, squid-deb-proxy needs special handling of Release, Packages, Sources.
Even the stock ubuntu /etc/squid3/squid3.conf has:
refresh_pattern (Release|Packages(.gz)*)$ 0 20% 2880
In orchestra-provisioning-server, we had:
refresh_pattern \/(Packages|Sources)(|\.bz2|\.gz)$ 0 0% 0
I'm suggesting somethin glike:
refresh_pattern \/(Release|Packages|Sources)(|\.bz2|\.gz)$ 0 0% 0
If you dont have this, you can easily end up with a Packages or Sources file that is cached and invalid when compared to Release.
Related bugs:
* bug 972077: apt repository disk format has race conditions
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: squid-deb-proxy 0.6.1
ProcVersionSignature: Ubuntu 3.2.0-20.33-generic 3.2.12
Uname: Linux 3.2.0-20-generic x86_64
ApportVersion: 2.0-0ubuntu2
Architecture: amd64
Date: Mon Apr 2 20:10:37 2012
PackageArchitecture: all
SourcePackage: squid-deb-proxy
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.init.squid.deb.proxy.conf: 2012-04-02T19:38:05.591083
mtime.conffile..etc.squid.deb.proxy.squid.deb.proxy.conf: 2012-04-02T19:41:37.218980 |
|