[ubuntu-za] apt-cacher

Charl Wentzel charl.wentzel at vodamail.co.za
Tue Sep 29 10:19:29 BST 2009

Hi Guys

I've been "fortunate" enough to be hit by lightning, leaving me without
my trusty ADSL link.  Unfortunately, I'm in the process of setting up a
couple of new machines and generally allow them to connect directly to
the Internet to get their updates.

Since my Laptop is up to date I thought this would be a great time to
try out apt-cacher to be able to setup the machines using my Laptop as
repository (and save some cents in the future on bandwidth).

I got apt-cacher up and running on my laptop and changed the the
sources.list files on the new machines to refer to my laptop, e.g.

"deb jaunty main

I also had to change the apt-cacher.conf file to state:
"offline_mode=1", to prevent it from trying to connect to the
"non-existing" internet connection when the client machine makes a

So no the client connects when I run "sudo aptitude update", but first
of all it seems to ignore all the files on my laptop repository:

Ign juanty Release.gpg
Ign juanty Rranslation-en_ZA

Then that is followed by errors:

Err jaunty/main Packages
   403 Sorry, not allowed to fetch that type of file: Packages
Err jaunty/main Sources
   403 Sorry, not allowed to fetch thta type of file: Sources

I know it is connecting to the repository because it fails completely
when I disconnect my laptop from the network.

Nothing I found on google so far has helped.  Any ideas?


More information about the ubuntu-za mailing list