Questions tagged [apt-cacher]

apt-cacher.pl is a CGI which will keep a cache on disk

apt-cacher.pl is a CGI which will keep a cache on disk of Ubuntu Packages and Release files (including .deb files) which have been received from Ubunntu distribution servers on the Internet. When an apt-get client issues a request for a file to apt-cacher.pl, if the file is already on disk it is served to the client immediately, otherwise it is fetched from the Internet, saved on disk, and then served to the client. This means that several Debian machines can be upgraded but each package need be downloaded only once. When running multiple machine with the same distribution

20 questions
14
votes
1 answer

Difference between apt-cacher and apt-cacher-ng

What exactly is the difference between apt-cacher and apt-cacher-ng? I can't seem to find anywhere comparing the two. I've found tutorials and manuals on both of them, and they seem to be the same from the set-up point of view. Is one better or more…
11
votes
2 answers

Does apt-cacher change packages access time?

I tried to remove the long time unused packages from apt-cacher archive using find: $ find /var/cache/apt-cacher -atime +5 -type f -name ".*deb*" | wc -l 8471 $ find /var/cache/apt-cacher -atime +9 -type f -name ".*deb*" | wc -l 2269 $ find…
7
votes
3 answers

Installing apt-cacher server for two ubuntu versions

Is it possible to have apt-cacher server for both Ubuntu version 10.04 & 10.10 in one machine? IF yes can someone explain pls. The first CD cache of Ubuntu 10.10 works fine. I have imported the second cd cache of Ubuntu version 10.04, and now when i…
karthick87
  • 84,513
4
votes
4 answers

Regexp/config var for apt-cacher to allow repo files for 16.04 clients (Metadata, Components-*.yml)?

I use apt-cacher on a Debian server, and doing an apt-get update with a 16.04 client I'm finding that it's blocking a bunch of repo files including icons-64x64[.tar[.gz]], some xz extensions, Metadata and Components-*.yml. I've managed to update the…
cleary
  • 684
4
votes
2 answers

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 facing a lot of issues. While downloading…
Tahir Rauf
  • 299
  • 3
  • 13
4
votes
1 answer

Java installation error using apt-cacher

I'm getting this output when I trey to update/install oracle-java7 or from webupd8 ppa: Downloading Oracle Java 7... --2014-11-19 16:35:02-- http://download.oracle.com/otn-pub/java/jdk/7u72-b14/jdk-7u72- linux-x64.tar.gz Resolving…
Xisco
  • 101
4
votes
1 answer

apt cacher wont do-release-upgrade for saucy

My sys (raring) is proxy client of my another machine hosting apt cacher. I'm trying to do-release-upgrage and console saying 403, Sorry, not allowed to fetch that type of file: saucy.tar.gz and the command fails. (Im sure I can get out of this…
thevikas
  • 173
3
votes
1 answer

apt-cacher won't work: port 3142 blocked, how to open?

After install ubuntu 12.04 in client PC. I try to setup apt-cache server in client PC. But, it doesn't work in ubuntu client. Err http://136.xxx.xxx.x precise/multiverse Sources 403 Forbidden I try this step: Step 1: sudo apt-get install…
klox
  • 403
3
votes
1 answer

Install apt-cacher on a non-Ubuntu server (router)

Is there a way to install apt-cacher on a non-Ubuntu server? I'm using DD-WRT on my router and I thought it would be nice if the apt-cacher was there instead of on a PC which has to be powered on if I want the caching. I'm open to any other ideas…
Yusuf
  • 245
3
votes
0 answers

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 we run "apt-get update", does it download all the…
kavitha R
  • 31
  • 1
2
votes
0 answers

How to fix the error "403 Sorry, not allowed to fetch that type of file: Sources.xz" during apt-get update?

I am using apt-cacher to do apt-get update on the client machine. However, the setup is not working - I get the following error on doing apt-get update: W: The repository 'http://:3142/archive.ubuntu.com/ubuntu xenial Release' does…
1
vote
0 answers

APT-GET did NOT download package correctly via APT-CACHER

I follow this to setup the apt-cacher but it did NOT download some files correctly via wget(i think it is). In my previous post, I'm going to install Oracle Java 8, and the apt downloaded a html page but not a install package Downloading Oracle Java…
Hartman
  • 121
1
vote
1 answer

server install from iso using apt-cacher server

I have a server running apt-cacher. Is there any way to specify it as an apt source while doing a Ubuntu server install from iso? I'm currently doing a minimum install and then modifying /etc/apt/sources.list. I'm looking for something similar to…
Pete
  • 115
1
vote
3 answers

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 temporarily we need to setup a cacher server to install…
karthick87
  • 84,513
1
vote
0 answers

Connecting to apt-cacher server

There is an apt cacher server in my network which i should get connected to , I have configured my proxy setting , but when I try to connect I get this error : Err:1 https://download.docker.com/linux/ubuntu bionic InRelease Invalid response from…
1
2