The packageproxy snap ships a pre-confgured Approx install. In the default configuration you can point your sources.list to:
http://localhost:9999/ubuntu
.. or replace "localhost" with the actual IP when accessing it from another host. If you use any of the Ubuntu Ports architectures, replace "/ubuntu" with "ubuntu-ports".
Approx is an HTTP-based proxy server for Debian-style package archives. It fetches files from remote repositories on demand, and caches them for local use.
Details for packageproxy
Package name
packageproxy
License
Other Open Source
Last updated
14 November 2019 - latest/stable
6 November 2018 - latest/edge
This snap hasn't been updated in a while. It might be unmaintained and have stability or security issues.
(Ownership verified)
The publisher has verified that they own this domain.
It does not guarantee the Snap is an official upload
from the upstream project.
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
Enable snapd
Snap can be installed from the command line. Open the Konsole terminal and enter the following:
sudo apt update
sudo apt install snapd
Install packageproxy
To install packageproxy, simply use the following command: