Expiration wants to delete almost all packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-cacher-ng (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I've setup apt-cacher-ng on an Ubuntu 16.04 box. During the installation
of all the software I use on Ubuntu it cached around 2GB of stuff:
du -sh /srv/packages/
2.1G /srv/packages/
The problem is that now whenever it runs the expiration process it wants
to delete about 1.8GB of this. I've checked several of the packages it
wants to delete and they're all still installed, and still available in
the repos (they're all from the official Ubuntu main and universe repos):
Tagging
uburep/
Tagging uburep/
Tagging
uburep/
Tagging uburep/
Tagging uburep/
Tagging
uburep/
Tagging
uburep/
Tagging
uburep/
Tagging
uburep/
Tagging uburep/
Tagging uburep/
Tagging
uburep/
Tagging uburep/
Tagging
uburep/
2738 package file(s) marked for removal in few days. Estimated disk
space to be released: 1.8 GiB.
I never had this problem with Ubuntu Wily and Trusty, with exactly the
same setup. Is there any way I can get the expiration working properly?
How can I debug why it's doing this?
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: apt-cacher-ng 0.9.1-1ubuntu1
ProcVersionSign
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: KDE
Date: Sun May 8 16:58:58 2016
InstallationDate: Installed on 2016-05-01 (6 days ago)
InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.3)
SourcePackage: apt-cacher-ng
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
mtime.conffile.
mtime.conffile.
I've looked into this a bit more and it might be to do with the new apt-cacher- ng-wily/ uburep/ dists/wily/ main/
by-hash/ feature in the Ubuntu 16.04 repos:
$ ls /srv/packages/
binary-amd64 binary-i386 i18n source
$ ls /srv/packages/ apt-cacher- ng-xenial/ uburep/ dists/xenial/ main/
dep11 source
I'm guessing apt-cacher-ng doesn't support this? I can't find a way to /wiki.ubuntu. com/AptByHash
turn it off though.
https:/