Questions tagged [apt-cacher]

14 questions
5
votes
1 answer

Avoid -dbg_version packages on apt-cacher-ng server

Intro: We have created a apt-cacher-ng server to provide cached packages to our users that have Ubuntu 14.04 installed. Combined with the cached packages, we are doing a weekly "mirror" of some Ubuntu update uris using the PrecacheFor parameter. The…
user34720
5
votes
1 answer

Consequences of setting up POSIX locales

We are using several Ubuntu servers having English as working language; however having en_US locale set in machines we encounter problems with apt-cacher-ng downloading translation files. One solution is to change locale to POSIX. Considering all…
Kris
  • 51
  • 1
  • 2
4
votes
1 answer

Specifying APT proxy from the command line

Is there a way of specifying APT proxy without needing to use a file (think apt.conf)?
tshepang
  • 64,472
  • 86
  • 223
  • 290
2
votes
1 answer

Not getting Google Chrome updates, after setting up apt-cacher-ng

I set up a server with the apt-cacher-ng package. I configured a PC to use this cache. I created /etc/apt/apt.conf.d/02proxy, with this line: Acquire::http::proxy "http://my-server:3142"; I installed Google Chrome. I.e. downloaded and…
sourcejedi
  • 48,311
  • 17
  • 143
  • 296
2
votes
1 answer

Is it possible to cache pip downloads in a http cache server?

I have a virtual linux machine with python2 and pip installed. I want to save bandwidth by caching pip downloads in a http cache server and use this cache server in other machines. The functionality that I require is similar to apt-cacher-ng but for…
gopy
  • 351
  • 3
  • 10
2
votes
2 answers

Can't apt update after deleting proxy

I had an apt cache server installed in 192.168.40.97:3142 using apt-cacher-ng. To use it on my laptop I added a file 02proxy in /etc/apt/apt.conf.d directory which had the following content. Acquire::http { Proxy "http://192.168.40.97:3142"; }; But…
icyfire
  • 157
  • 1
  • 9
1
vote
1 answer

Unable to use apt-cacher

I would like to use apt-cacher as my package proxy locally. Especially when I rebuilding my Docker image several times in a row. I have apt-cacher installed and running on my system. I set my proxy address to: http://melroy-pc:3142 (melroy-pc is my…
1
vote
1 answer

Making an offline apt-cacher / mirror

I can't quite find an existing thread that suits my needs, so here goes. We are using Raspberry Pi (RPI) as thin clients with RPITC as the OS ( It is a stripped down, modified version of Debian http://rpitc.blogspot.com ). We would like to be able…
1
vote
1 answer

avoiding caching twice with apt-cacher

I have installed apt-cacher, but am worried that when I install a package on the machine that is running apt-cacher, that it will cache twice. Once with apt-cacher, and once with apt. How do I prevent this? Caching with apt-cacher should be enough.
ctrl-alt-delor
  • 27,473
  • 9
  • 58
  • 102
0
votes
0 answers

wget behind a Apt-Cacher-NG proxy : awaiting response

I'm trying to download a deb package with wget behind a Apt-Cacher-NG proxy but I get an Proxy request sent, awaiting response... although the HTTP is open : $ export http_proxy=http://10.10.30.90:80 $ : < /dev/tcp/10.10.30.90/80 $ wget -v -d…
SebMa
  • 1,941
  • 4
  • 22
  • 37
0
votes
1 answer

apt-cacher-ng random download failures with "apt update" [acgn]

Yesterday I updated my systems to Debian 10.7 and noticed problems with apt update against my apt-cacher-ng server on Debian 10.6/7. It goes like 0% ["waiting for headers"] then repeats the waiting message and finally reports an Err for the file and…
OttoEisen
  • 149
  • 1
  • 6
0
votes
1 answer

apt-cacher-ng is having some issues with replying to "sudo apt update" from Ubuntu client

It worked ok with Ubuntu 18.04 but on Ubuntu 20.04 the issue with apt-cacher-ng is like this, $ sudo apt update Get:1 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB] Hit:2 http://security.ubuntu.com/ubuntu focal-security InRelease Hit:3…
Pavel Sayekat
  • 521
  • 2
  • 7
  • 19
0
votes
1 answer

How do I get a list of all existing Debian packages of all architectures online?

I need some online service that gives me a list like this command: apt-cache pkgnames | sort Any hints?
JohnnyFromBF
  • 3,476
  • 10
  • 32
  • 42
-2
votes
2 answers

How do I get a list of all existing Debian source packages of all architectures online?

I need some online service that gives me all existing source packages in Debian. A source package is something like this: https://packages.debian.org/source/stretch/wireshark It contains several binary packages.
JohnnyFromBF
  • 3,476
  • 10
  • 32
  • 42