/etc/at/sources.list in a container

kumarullal

Renowned Member
Jun 17, 2009
184
0
81
LA, USA
/etc/apt/sources.list in a container

The default message in /etc/apt/sources.list in a Debian container is
Code:
# do not use apt - we provide service packs to update the system
What happen if I add entries
Code:
deb http://ftp.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib
deb-src http://security.debian.org/ lenny/updates main contrib
Can this be done? What are the cons if we do it.
 
Last edited:
Re: /etc/apt/sources.list in a container

The default message in /etc/apt/sources.list in a Debian container is
Code:
# do not use apt - we provide service packs to update the system
[/QUOTE]
 
What kind of container is that? Looks like a proxmox mail gateway? If so, do not modify the file.
 
Re: /etc/apt/sources.list in a container

Yes, it was a proxmox mail gateway. But I also built a container with Debian 4.0. That also had the same message. I used veth interface.
Can I modify? In normal cases, it is recommended to modify the file?
 
Re: /etc/apt/sources.list in a container

in all our debian 4,5 and 6 templates the sources.list is ready to go, you just can use apt-get or aptitude to update (or change it to your needs). you can download them via our web template down loader.