Questions tagged [apt-cacher-ng]

apt-cacher-ng is a proxy for debian (and other) packages to reduce bandwidth usage with multiple clients.

Filter by
Sorted by
Tagged with
0
votes
1answer
42 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
0answers
18 views

Use apt-cacher-ng host as a client

I would like to use my ubuntu host as a client itself for apt-cacher-ng. So whenever I install packages on my main machine, it can be cached. I have tried editing /etc/apt/apt.conf.d/00aptproxy and ...
0
votes
1answer
58 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
0answers
34 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 "...
3
votes
0answers
66 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 ...
0
votes
0answers
163 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
1answer
355 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 ...
4
votes
0answers
273 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....
1
vote
1answer
365 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
0answers
538 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 ...
2
votes
0answers
105 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 ...
0
votes
1answer
105 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-...
4
votes
2answers
2k 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
1answer
4k 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 ...
0
votes
1answer
2k 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-...
1
vote
1answer
256 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
2answers
73 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 ...
5
votes
2answers
1k 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 ...
2
votes
2answers
6k 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 ...
6
votes
3answers
3k 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 ...
1
vote
3answers
520 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 ...
7
votes
5answers
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 ...
3
votes
3answers
2k 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 ...
9
votes
8answers
14k 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
3answers
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 ...
14
votes
2answers
15k 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 ...
2
votes
2answers
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.
6
votes
1answer
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:~$ ...