WHY apt-get does´nt work in new container. [message #33081] |
Sun, 21 September 2008 22:15 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
ralphw
Messages: 29 Registered: September 2008 Location: Celle
|
Junior Member |
|
|
Hi,
my Name is Ralph and I´m new to Linux and as well to this forum.
This is from my /grub/menu.lst:
title Debian GNU/Linux, kernel 2.6.18-12-fza-amd64
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-12-fza-amd64 root=/dev/md1 ro
initrd /boot/initrd.img-2.6.18-12-fza-amd64
savedefault
title Debian GNU/Linux, kernel 2.6.18-12-fza-amd64 (single-user mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-12-fza-amd64 root=/dev/md1 ro single
initrd /boot/initrd.img-2.6.18-12-fza-amd64
savedefault
title Debian GNU/Linux, kernel 2.6.18-6-amd64
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-6-amd64 root=/dev/md1 ro
initrd /boot/initrd.img-2.6.18-6-amd64
savedefault
title Debian GNU/Linux, kernel 2.6.18-6-amd64 (single-user mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-6-amd64 root=/dev/md1 ro single
initrd /boot/initrd.img-2.6.18-6-amd64
savedefault
### END DEBIAN AUTOMAGIC KERNELS LIST
I´v installed openVz with webVZ and create an new container. After I changed into directory webvz.2.0 and start the VE.
server1:~/webvz.2.0# vzctl enter 177
entered into VE 177
root@localhost:/#
Next I did
root@localhost:/# apt-get update
Err ftp://mirror.hetzner.de etch Release.gpg
Temporary failure resolving 'mirror.hetzner.de'
Err http://security.debian.org etch/updates Release.gpg
Temporary failure resolving 'security.debian.org'
Err http://ftp.de.debian.org etch/volatile Release.gpg
Temporary failure resolving 'ftp.de.debian.org'
Err http://download.openvz.org etch Release.gpg
Temporary failure resolving 'download.openvz.org'
Err http://ftp.uni-bayreuth.de etch Release.gpg
Temporary failure resolving 'ftp.uni-bayreuth.de'
Err ftp://mirror.hetzner.de etch/updates Release.gpg
Temporary failure resolving 'mirror.hetzner.de'
Failed to fetch ftp://mirror.hetzner.de/debian/packages/dists/etch/Release.g pg Temporary failure resolving 'mirror.hetzner.de'
Failed to fetch http://security.debian.org/dists/etch/updates/Release.gpg Temporary failure resolving 'security.debian.org'
Failed to fetch ftp://mirror.hetzner.de/debian/security/dists/etch/updates/R elease.gpg Temporary failure resolving 'mirror.hetzner.de'
Failed to fetch http://ftp.uni-bayreuth.de/linux/Debian/debian/dists/etch/Re lease.gpg Temporary failure resolving 'ftp.uni-bayreuth.de'
Failed to fetch http://download.openvz.org/debian-systs/dists/etch/Release.g pg Temporary failure resolving 'download.openvz.org'
Failed to fetch http://ftp.de.debian.org/debian-volatile/dists/etch/volatile /Release.gpg Temporary failure resolving 'ftp.de.debian.org'
Reading package lists... Done
W: Couldn't stat source package list ftp://mirror.hetzner.de etch/main Packages (/var/lib/apt/lists/mirror.hetzner.de_debian_packages_dists_ etch_main_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://mirror.hetzner.de etch/contrib Packages (/var/lib/apt/lists/mirror.hetzner.de_debian_packages_dists_ etch_contrib_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://mirror.hetzner.de etch/non-free Packages (/var/lib/apt/lists/mirror.hetzner.de_debian_packages_dists_ etch_non-free_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org etch/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_etch_updates_m ain_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org etch/updates/contrib Packages (/var/lib/apt/lists/security.debian.org_dists_etch_updates_c ontrib_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org etch/updates/non-free Packages (/var/lib/apt/lists/security.debian.org_dists_etch_updates_n on-free_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://mirror.hetzner.de etch/updates/main Packages (/var/lib/apt/lists/mirror.hetzner.de_debian_security_dists_ etch_updates_main_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://mirror.hetzner.de etch/updates/contrib Packages (/var/lib/apt/lists/mirror.hetzner.de_debian_security_dists_ etch_updates_contrib_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://mirror.hetzner.de etch/updates/non-free Packages (/var/lib/apt/lists/mirror.hetzner.de_debian_security_dists_ etch_updates_non-free_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.uni-bayreuth.de etch/main Packages (/var/lib/apt/lists/ftp.uni-bayreuth.de_linux_Debian_debian_ dists_etch_main_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.uni-bayreuth.de etch/non-free Packages (/var/lib/apt/lists/ftp.uni-bayreuth.de_linux_Debian_debian_ dists_etch_non-free_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.uni-bayreuth.de etch/contrib Packages (/var/lib/apt/lists/ftp.uni-bayreuth.de_linux_Debian_debian_ dists_etch_contrib_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://download.openvz.org etch/openvz Packages (/var/lib/apt/lists/download.openvz.org_debian-systs_dists_e tch_openvz_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.de.debian.org etch/volatile/main Packages (/var/lib/apt/lists/ftp.de.debian.org_debian-volatile_dists_ etch_volatile_main_binary-amd64_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.
root@localhost:/#
I want to install some software in that VE, but its not possible.
Can sombody please lend a hand? I looked out to the web, but could´nt find any solution.
Thanks in advance for your help
regards
Ralph
AMD Athlon 64 X2 6000+
Dual Core
6 GB DDR2 RAM
2 x 750 GB
SATA II
1 GBit OnBoard
[Updated on: Sun, 21 September 2008 22:26] Report message to a moderator
|
|
|
Re: WHY apt-get does´nt work in new container. [message #33084 is a reply to message #33081] |
Mon, 22 September 2008 00:19 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
![](http://new-forum.openvz.org/images/custom_avatars/199.png) |
curx
Messages: 739 Registered: February 2006 Location: Nürnberg, Germany
|
Senior Member |
![curx@jabber.de](/theme/ovz3/images/jabber.png)
|
|
Hi Ralph,
if not set; please update your nameserver configuration:
via console:
$ vzctl set 177 --nameserver 213.133.100.100 --nameserver 213.133.98.98 --nameserver 213.133.99.99 --save
(used the hetzners colocation dns server)
or use the webvz config tool to setup.
Btw, have your containers a connection to the net, can you ping some ip, above ?
Regards,
Thorsten
[Updated on: Mon, 22 September 2008 01:48] Report message to a moderator
|
|
|