charl.wentzel at vodamail.co.za
Tue Sep 29 10:19:29 BST 2009
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 http://10.0.0.19:3142/za.archive.ubuntu.com/ubuntu 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 http://10.0.0.19 juanty Release.gpg
Ign http://10.0.0.19 juanty Rranslation-en_ZA
Then that is followed by errors:
Err http://10.0.0.19 jaunty/main Packages
403 Sorry, not allowed to fetch that type of file: Packages
Err http://10.0.0.19 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