Using 02proxy instead of a mirror with preseeding?
Stephen Wood
smwood4 at gmail.com
Wed Sep 25 20:18:57 UTC 2013
Hello everyone.
Is it possible to declare a mirror in the ubuntu preseed option without
appending it to everything in /etc/apt/sources.list?
The reason I am asking is because I would like to use an apt-cacher for PPA
packages that typically are declared in /etc/apt/sources.list.d/ppa.list,
but this seems to be incompatible when I declared a mirror using the
preseed function.
I'd like to keep the preseed option though, because it makes machine
bootstrapping go MUCH faster.
Here's my preseed option:
# Mirror settings d-i mirror/country string manual d-i mirror/http/hostname
string proxy:3142 d-i mirror/http/directory string /
us.archive.ubuntu.com/ubuntu d-i mirror/http/proxy string d-i
mirror/codename string precise d-i mirror/suite string precise d-i
mirror/udeb/suite string precise
It makes my /etc/apt/sources.list look like this:
deb http://proxy:3142/us.archive.ubuntu.com/ubuntu precise universe
If I also add a proxy to /etc/apt/apt.conf.d/02proxy and run update I get
an error:
Err http://proxy precise/main amd64 Packages
403 URL seems to be made for proxy but contains apt-cacher-ng port.
Inconsistent apt configuration?
My /etc/apt/apt.conf.d/02proxy looks like this:
Acquire::http { proxy "http://publius:3142"; };
Any ideas?
--
Stephen Wood
www.heystephenwood.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20130925/0517b320/attachment.html>
More information about the ubuntu-users
mailing list