[SOLVED] Container Can't Update

Raymond Burns

Member
Apr 2, 2013
333
1
18
Houston, Texas, United States
Anytime I try to do container updates, they don't resolve.
I have done for debian

Code:
nano /etc/resolv.conf

nameserver 10.1.222.99
Code:
nano /etc/hostname

staging
localhost
Code:
nano /etc/hosts/

10.1.222.99 staging
127.0.0.1 localhost.localdomain localhost
::1 localhost.localdomain localhost
Code:
nano /etc/network/interfaces

# Auto generated lo interface
auto lo
iface lo inet loopback


# Auto generated venet0 interface
auto venet0
iface venet0 inet manual
        up ifconfig venet0 up
        up ifconfig venet0 127.0.0.2
        up route add default dev venet0
        down route del default dev venet0
        down ifconfig venet0 down




iface venet0 inet6 manual
        up route -A inet6 add default dev venet0
        down route -A inet6 del default dev venet0
        down ifconfig venet0 down




iface venet0 inet6 manual
        up route -A inet6 add default dev venet0
        down route -A inet6 del default dev venet0


auto venet0:0
iface venet0:0 inet static
        address 10.1.222.99
        netmask 255.255.255.255
        gateway 10.1.222.1
What am I missing? I can connect to the container through SSH, but I can't access the mirrors for updates from the container
 
Last edited:
still shows
Err http://security.debian.org/ squeeze/updates/main php5-mcrypt i386 5.3.3-7+squeeze14 Temporary failure resolving 'security.debian.org'
Err http://security.debian.org/ squeeze/updates/main phpmyadmin all 4:3.3.7-7
Temporary failure resolving 'security.debian.org'
Failed to fetch http://ftp.debian.org/debian/pool/main/d/dbconfig-common/dbconfig-common_1.8.46+squeeze.0_all.deb Temporary failure resolving 'ftp.debian.org'
Failed to fetch http://ftp.debian.org/debian/pool/main/w/wwwconfig-common/wwwconfig-common_0.2.1_all.deb Temporary failure resolving 'ftp.debian.org'
Failed to fetch http://ftp.debian.org/debian/pool/main/j/javascript-common/javascript-common_7_all.deb Temporary failure resolving 'ftp.debian.org'
Failed to fetch http://ftp.debian.org/debian/pool/main/m/mootools/libjs-mootools_1.2.4.0~debian1-1_all.deb Temporary failure resolving 'ftp.debian.org'
Failed to fetch http://ftp.debian.org/debian/pool/main/libt/libtool/libltdl7_2.2.6b-2_i386.deb Temporary failure resolving 'ftp.debian.org'
Failed to fetch http://ftp.debian.org/debian/pool/main/libm/libmcrypt/libmcrypt4_2.5.8-3.1_i386.deb Temporary failure resolving 'ftp.debian.org'
Failed to fetch http://security.debian.org/pool/updates/main/p/php5/php5-mcrypt_5.3.3-7+squeeze14_i386.deb Temporary failure resolving 'security.debian.org'
Failed to fetch http://security.debian.org/pool/updates/main/p/phpmyadmin/phpmyadmin_3.3.7-7_all.deb Temporary failure resolving 'security.debian.org'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!