apt-cacher-ng corrupt/bad files on 22.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-cacher-ng (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I have about a number of containers that are running ubuntu using lxc-start (not lxcd) and
use apt-cache-ng to keep down the amount of network data I need to download.
apt-cacher-ng work without a problem on 20.04. I updated to the cache container to 22.04
and started having problem.
I have had to go to the maintenanace page a number of time because client get the follow error:
Err:5 http://
The following signatures were invalid: BADSIG 871920D1991BC93C Ubuntu Archive Automatic Signing Key (2018) <email address hidden>
I uncheck "Stop the work on errors during index update step"
I then check every thing under "Scan and semi-automatic expiration" and run a scan
it then finds a number (160 list time) file the are corrupt and need to be delete.
I then delete the files and thing work again for some time and then have to redo the process again because the error show up again,
Here is /etc/apt/
root@mike-
Acquire::http { Proxy "http://
root@mike-
Here is the output from a client:
root@mike-think:~# apt-get update
Hit:1 http://
Hit:2 http://
Ign:3 http://
Hit:4 http://
Get:5 http://
Hit:6 http://
Hit:7 http://
Get:8 http://
Get:9 http://
Err:5 http://
The following signatures were invalid: BADSIG 871920D1991BC93C Ubuntu Archive Automatic Signing Key (2018) <email address hidden>
Hit:3 http://
Err:8 http://
The following signatures were invalid: BADSIG 871920D1991BC93C Ubuntu Archive Automatic Signing Key (2018) <email address hidden>
Err:9 http://
The following signatures were invalid: BADSIG 871920D1991BC93C Ubuntu Archive Automatic Signing Key (2018) <email address hidden>
Fetched 324 kB in 2s (207 kB/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@mike-think:~#
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: apt-cacher-ng 3.7.4-1build1
ProcVersionSign
Uname: Linux 5.15.0-52-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.2
Architecture: amd64
CasperMD5CheckR
Date: Mon Dec 5 17:38:52 2022
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: apt-cacher-ng
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile.
Status changed to 'Confirmed' because the bug affects multiple users.