There was an error in the modification. The modification should have been:
sudo sed 's_http://_cacher.foo.org:3142/_' /etc/apt/sources.list.ORIG
/etc/apt/sources.list
** Changed in: apt-cacher (Ubuntu)
Status: New = Invalid
--
Apt cacher can't find security.ubuntu.com
But, as I understand internet domains, it will try to look up
cacher.foo.org.security.ubuntu.com, in one go. That doesn't exist.
Surely you need a /, or a :nnn/ after cacher.foo.org?
See for example: http://www.debuntu.org/how-to-set-up-a-repository-
cache-with-apt-cacher
--
Apt cacher can't
cacher.foo.org is the name of my local apt-cacher computer. Note that
I can add packages using synaptic or apt-get with this change in place.
The concern is that by just a simple change from the standard
repositories to the local apt-cacher cacher.foo.org causes error
messages when I issue
cacher.foo.org is the name of my local apt-cacher computer. Note that
I can add packages using synaptic or apt-get with this change in place.
The concern is that by just a simple change from the standard
repositories to the local apt-cacher cacher.foo.org causes error
messages when I issue
** Description changed:
Ubuntu 8.04 - Apt-cacher gives error messages when trying to cache
security.ubuntu.com
I run the following commands and get errors when I use apt cacher:
$ sudo apt-get update
NO ERRORS
$ sudo cp /etc/apt/sources.list /etc/sources.list.ORIG0
- $ sudo sed
Forgive me if I'm missing something, but...you're adding something to
the front of URLs, and then expecting it to be able to get packages from
cacher.foo.org.security.ubuntu.com?
That address doesn't exist, hence the errors.
What are you actually trying to achieve?
--
Apt cacher can't find