Questions tagged [squid-deb-proxy]

deb proxy solution based on squid with a tweaked config file

Squid-deb-proxy is a deb proxy solution based on squid with a tweaked config file. It only requires a machine to act as the server. Reasons to use include:

  • No editing of files on the client side.
  • Use zeroconf so that clients are "zero config."
  • Use an existing, solid proxy solution instead of writing a new tool.
  • Easy to set up for a typical Linux administrator.

With it, all the machines on your network will check the cache before hitting the outside network to fetch packages. If there are new packages available then the first machine will download it from the net; after that, subsequent requests for the package will come from the server to the clients.

(Condensed from @JorgeCastro at http://askubuntu.com/a/3507/8724.)

24 questions
11
votes
3 answers

How to add packages to a squid-deb-proxy cache?

To save bandwidth and data on my Internet plan, I have installed squid-deb-proxy on a desktop, and the client on it and a few other machines I've got. However, based on the post that put me onto this , it sounds like if I take my laptop* to a…
zpletan
  • 3,443
10
votes
2 answers

Is there a way to cache snap packages?

I'm currently running squid-deb-proxy to cache apt-related downloads, I was wondering if the same could be done with snaps as well.
4
votes
1 answer

How to set APT to use squid-deb-proxy without squid-deb-proxy-client?

In my network I have Squid proxy server for caching deb-archives. It is installed as squid-deb-proxy package. I know that special package squid-deb-proxy-client exists in the repositories. But it requires avahi-utils as a dependency. How can I set…
N0rbert
  • 103,263
3
votes
0 answers

squid-deb-proxy 503 service Unavailable

I have installed squid-deb-proxy in order to create a cache of packages. The command sudo apt-get update produces errors such as Err http://mirror.dhakacom.com trusty/universe amd64 Packages 503 Service Unavailable and W: Failed to fetch…
Ashfaq
  • 131
3
votes
1 answer

squid-deb-proxy failing to cache packages

On an Ubuntu 12.04 server, with squid-deb-proxy installed, client machines on the network will properly contact the server when installing packages, but squid never caches packages. From /var/log/squid-deb-proxy/access.log: 1368371692.721 485…
tephyr
  • 163
2
votes
0 answers

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 make apt-cacher-ng use other partition, but it…
2
votes
1 answer

How can I make squid-deb-proxy work with proxy authentication?

I have squid-deb-proxy working fine without a problem without apt proxy authentication. However when I add a proxy file to /etc/apt/apt.conf.d and put in my proxy authentication inside this file. Running sudo apt-get update does not work it misses…
2
votes
1 answer

How does squid-deb-proxy handle older/newer versions of Ubuntu?

I followed Jorge Castro thread here and its working without a problem! on 12.04-2 x64 bit. However I have a question: If there is an old/newer version client of ubuntu. How does it fetch cached updates?
2
votes
1 answer

How to tell if squid-deb-proxy is working?

I've got squid-deb-proxy, avahi-tools, and squid-deb-proxy-client installed on a gateway VM running 12.04 Server, and squid-deb-proxy-client installed on two client VMs running Lubuntu and Xubuntu 12.04. The service appears to be up and running…
memilanuk
  • 533
2
votes
3 answers

squid-deb-proxy or archive.ubuntu.com problem?

Hallo I have some problem in this 6 mounths trying to update my desktop systems. Sorry I cannot tell if is a archive.ubuntu.com server temporary problem or is a problem on my squid-deb-proxy package. watching /var/log/squid-deb-proxy/access.log…
1
vote
1 answer

squid-deb-proxy setup, it's just not working for me

Background I'm planning on doing a lot of R&D on different ubuntu services and decided that I want to run most of it through KVM. But because I want to create a few different servers and try different flavours I thought I would give caching a go (I…
Madivad
  • 697
1
vote
1 answer

Why no TCP_HITS using squid-deb-proxy

I've followed all the advice here and the server log file updates when I do an update on another computer on the network. However, I never see any TCP_HITs. I even grepped for them. This is some of the tail -f output. 1427226546.326 18…
1
vote
0 answers

Squid3 TCP_DENIED/403 with TIMEOUT_FIRST_UP_PARENT

I have the following hierarchy: P1 and P2 are configured as: acl manager proto cache_object acl localhost src 127.0.0.1/32 ::1 acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1 acl localnet src 192.168.56.0/24 acl SSL_ports port 443 acl Safe_ports…
1
vote
0 answers

How do I install Ubuntu using squid-deb-proxy-client?

I saw some answers using a preseed file (that were said not to work because of a bug), but I'm interested in using the standard live image and not editing the preseed file there. If squid-deb-proxy is on another machine on the network, can I just…
Bo Dang Ren
  • 5,654
1
vote
1 answer

How to setup Squid Proxy Server on ubuntu 12.04 LTS?

I had tried using the Ubuntu wiki guidelines to set it up on test server, and it worked. Though I would appreciate if anyone can provide me with few other links as this time I am going to install it on a live server which has few other services…
Hrish
  • 2,399
1
2