i'm running apt-cacher-ng (acng) on an ubuntu 16.04 server (desktop) with a slow network connection. i have an 18.04 laptop and have used a fast connection to download all installed packages, and rsync'd them to _import for acng. i then point the laptop apt to use the server port 3142 as a proxy (and verified that it is actually used). this should populate the acng index files. however, when i trigger the import from the server (http://localhost:3142/acng-report.html), none of the bionic files are imported. further, it appears that the index files (Package.xz) are never stored in the acng dir (they appear for older distributions, but not for bionic)
what needs to be done to import 18.04 packages on a 16.04 acng ? how are the index files being recreated on the laptop without showing up in the acng cache ?
# on laptop
echo 'Acquire::http { Proxy "http://desktop:3142"; };' | sudo tee /etc/apt/apt.conf.d/01proxy
sudo rm /var/cache/apt/*.bin
sudo rm /var/lib/apt/lists/*
sudo apt-get update
no hits are found during the import and at the bottom it says:
4908 files (2.1 GiB) left behind