Questions tagged [apt-cacher-ng]
apt-cacher-ng is a proxy for debian (and other) packages to reduce bandwidth usage with multiple clients.
33
questions
15
votes
3
answers
38k
views
How to prevent apt-get/aptitude keeping a cache
I have installed Apt-Cacher NG to provide a cache of packages for several machines. I therefore see no point in having aptitude/apt-get keeping their own (second) cache in /var/cache/apt/archives. I ...
9
votes
8
answers
19k
views
Apt-Get using Apt-Cacher NG fails to fetch packages with hash sum mismatch
I have a machine who is using Apt-Cacher NG running on another machine as caching proxy.
When I try to run sudo apt-get update I get the following errors:
W: Failed to fetch gzip:/var/lib/apt/lists/...
8
votes
3
answers
1k
views
How can I make pbuilder use my apt-cacher-ng instance?
I have a apt-cacher-ng server on my LAN network, and I was wondering how I could "force" pbuilder to use it (to speed up package builds).
Typical setup client-side of the cache goes something like ...
7
votes
5
answers
6k
views
Install oracle-java7-installer through apt-cacher-ng
I've added the oracle-java7-installer ppa to my apt-cacher-ng server and to my clients. I cannot get it to install.
Any ideas on how I can do this? I think it fails when it tries to download the ...
6
votes
3
answers
4k
views
Howto use apt-cacher-ng only when available?
I'm using apt-cacher-ng at my local network with the following configuration on the clients:
Acquire::http { Proxy "http://acng-host:3142"; };
Some of the clients are laptops, so how do I configure ...
6
votes
1
answer
1k
views
Use a PPA with a Password while still using Apt-cacher-ng?
I'm using apt-cacher-ng to cache package downloads for my LAN. I'm also using the Ubuntu Beta fonts PPA which requires a password for access. I keep getting the error
bjorn@bjorn-laptop-natty:~$ ...
5
votes
3
answers
2k
views
apt-cacher-ng: force client on local repository
I'm currently managing a dozen servers. apt-cacher-ng is installed on the development server to maintain the packages.
The idea is to have exactly the same version and number of packages on the ...
4
votes
2
answers
5k
views
Unable to download anything from apt-cacher-ng proxy
I have installed apt-cacher-ng on my server. There are about 10 clients which will use this proxy to download the packages. Things were working fine since many days, however, all of sudden I started ...
4
votes
1
answer
5k
views
How do Remap-* statements work in apt-cacher-ng?
I've just started using apt-cacher-ng to cache my apt-get downloads. Whenever I start it I get this error:
WARNING: No URL list file matching file:backends_gentoo found in config or support ...
4
votes
0
answers
388
views
How to get Docker images to use my transparent/intercept squid on the host without touching Docker images?
I have a squid instance running on my server which is connected to 192.168.178.0/24 through eth0 with 192.168.178.26 and serves as gateway for the LAN 192.168.179.0/24 through p18p1 with 192.168.179.1....
3
votes
2
answers
7k
views
Caching CentOS packages on Ubuntu using apt-cacher-ng
I am using VirtualBox with Ubuntu 12.04 as the host and CentOS 6.3 as the guest OS. apt-cacher-ng is configured on the host OS for caching the packages.
I did a bit of googling, but could not figure ...
3
votes
2
answers
3k
views
How to install flashplugin-installer and ttf-mscorefonts-installer using apt-cacher-ng?
On my network i use apt-cacher-ng on server and add
Acquire::http { Proxy "http://[10.48.21.23]:3142"; };
to /etc/apt/apt.conf on clients.
So apt-get can't download file through proxy with wget.
3
votes
3
answers
3k
views
Does anyone know why apt-cacher-ng always downloads an index file (Packages.gz) even though its exist on the apt-cacher-ng's cache?
I just updated from 11.04 to Ubuntu 12.04 by doing a fresh install.
I installed apt-cacher-ng and notice something strange about it. It's always downloading an index file (Packages.gz) even though ...
3
votes
0
answers
87
views
apt-cache implementation
I am looking at the apt-cache implementation. How does apt-cache create and updates the local package cache? Is it periodic or manual? As far as my investigation, it is manual (apt-get update).
When ...
2
votes
2
answers
301
views
apt-cacher-ng not caching packages installed on the server
I have three Ubuntu systems and I wish to minimize download bandwidth by setting up a cache of downloaded packages. (With only three systems, it's not worth setting up a full mirror).
apt-cacher-ng ...
2
votes
0
answers
136
views
Apt-cacher-ng: Is there a way to avoid duplicating /var/cache/apt?
I know apt-cacher-ng is duplicating the data in /var/cache/apt.
Is there a way to tell it to use /var/cache/apt, or it isn't doable due to permissions?
Mi partition has little space. I could indeed ...
1
vote
3
answers
576
views
Making up cacher server for older ubuntu releases
we have ubuntu 10.04 and ubuntu 10.10 operating systems. However our software works only in these versions. We are facing some problems in the new versions 12.04 (LTS) we are working in it. But ...
1
vote
2
answers
83
views
Is apt-cacher capable of managing packages which are being requested by clients ?
I'm currently experimenting with building a repository for our company.
Our only need is ability to control which specific packages are beeing pushed to clients.
We agreed on apt-cacher.
My question ...
1
vote
1
answer
788
views
apt-cacher-ng fails to import from new distribution, ie bionic 18.04
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 ...
1
vote
1
answer
333
views
What is the proper way to use a package cache with MAAS or Juju?
I use an apt-cacher-ng server on one of the computers on my network.
I'm new trying to set up OpenStack, using Juju on MAAS. Is there a way to tell the machines Juju will be setting up to use this ...
1
vote
1
answer
503
views
Can't find Apt-Cacher NG cache files after performing Ubuntu preseed installation using cacher as proxy
I've setup Apt-Cacher NG in an Ubuntu host. I'm using this to cache another Ubuntu installation and setup a repo for further installations. I've tried installing Ubuntu through preseed file bellow, ...
1
vote
0
answers
577
views
How to set up a local Ubuntu Xenial repository using apt-cacher-ng for later network installation?
I would like to know how to setup apt-cacher-ng for .deb caching during a system installation of Ubuntu server 64bits dvd. I want to install other machines after repository setup via preseed. I've ...
0
votes
1
answer
3k
views
How to get apt-cacher-ng to download AND cache packages from Apt HTTPS repositories?
Typically Apt packages are served over bare HTTP and the downloaded contents are verified with GPG signatures. This makes it easy for apt-cacher-ng to proxy the HTTP connections and add the downloaded ...
0
votes
1
answer
1k
views
For apt to use local cache - apt-cacher-ng
I have a host where I have installed apt-cacher-ng and copied over a pre-populated cache under /var/cache/apt-cacher-ng. I see that the service is running with no errors.
However, when I try to ...
0
votes
2
answers
831
views
Ubuntu on WSL and apt cache
I have several Ubuntu servers, VMs and laptops on my home and office network. I have them all using apt cache for updates (saves a lot of bandwidth)
I know I can't use this cache with anything but ...
0
votes
1
answer
3k
views
Preseed proxy setting for local repository
I'm trying to set up a preseed configuration for Ubuntu 14.04 network installation from the example on the official documentation. I am affected by the proxy bug on choose-mirror. I'm using an apt-...
0
votes
0
answers
79
views
Is it possible to have apt-cacher-ng retain static versions of certain packages
Is there any way designate that apt-cacher should not update versions of certain packages and should retain a static version for a particular period of time? For example, when I am in an upgrade ...
0
votes
1
answer
905
views
How to trigger apt-cacher-ng's cache update on server side?
I am running successfully apt-cacher-ng on a server and using it as an apt proxy for 20+ devices/vms which use various distributions, and ppas (I have no control on the client side except for the fact ...
0
votes
0
answers
36
views
ESM over apt-acher-ng [duplicate]
I have a ubuntu 16.04 Server without Internet Connection. It gets updates over a central apt-cacher-ng server.
I have copied the ubuntu-esm-infra.list to the central server to /etc/apt-cacher-ng/ and ...
0
votes
1
answer
495
views
Migrate apt-cacher-ng cache
I have a Debian 10 server with apt-cacher-ng and would like to migrate the cache to an Ubuntu 18.04 server. Is it enough to just copy the /var/cache/apt-cacher-ng/ directory over? Or is there some ...
0
votes
0
answers
151
views
How can I get an older package from apt-cacher-ng?
I am trying to download a set of older .deb files that are no longer available from the official Ubuntu repos but are in a local cache maintained by apt-cacher-ng. I've added Acquire::http::Proxy "...
0
votes
0
answers
284
views
apt-cacher-ng for different distros OK?
Would setting up apt-cacher-ng in the host and serve it for different dockers running different distros be OK? E.g., even for a Ubuntu host servicing different versions of Debian?
0
votes
1
answer
168
views
Best way to cache Ubuntu updates and control when new updates retrieved
What is the best way to cache Ubuntu updates on a server and prevent new updates being added to the cache (from the internet) until I am ready to update the cache?
I have read about apt-cacher, apt-...