Results 1 to 4 of 4
Hi folks,
Host - Debian 5.0 32bit
VM - Ubuntu 9.10 32bit
KVM
On running
$ sudo apt-get update
Code:
err http://hk.archive.ubuntu.com karmic release.gpg
could not resolve 'hk.archive.ubuntu.com'
......
The ...
- 02-02-2010 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,546
apt-get update fails
Hi folks,
Host - Debian 5.0 32bit
VM - Ubuntu 9.10 32bit
KVM
On running
$ sudo apt-get updateThe feature System --> Shutdown/Restart/etc. are missingCode:err http://hk.archive.ubuntu.com karmic release.gpg could not resolve 'hk.archive.ubuntu.com' ......
Please help. TIA
B.R.
satimis
- 02-02-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,975
Most likely your DNS servers are down, your /etc/resolv.conf is pointing to the wrong DNS servers, or the site itself is down. What virtual machine manager are you using?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 02-02-2010 #3Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,546
Hi Rubberman,
Just checked /etc.resolv.conf. DNS servers are correct.
GnomeWhat virtual machine manager are you using?
Applications -> System Tools - Virtual Machine Manager
I have another problem here.
Gnome
Applications -> System Tools - Virtual Machine Manager
popup following error;$ ls -al /home/satimis/ | grep virt-managerCode:Traceback (most recent call last): File "/usr/share/virt-manager/virt-manager.py", line 346, in <module> main() File "/usr/share/virt-manager/virt-manager.py", line 248, in main setup_logging() File "/usr/share/virt-manager/virt-manager.py", line 124, in setup_logging os.mkdir(vm_dir) OSError: [Errno 17] File exists: '/home/satimis/.virt-manager'Code:drwxr-xr-x 2 root root 4096 2009-05-31 06:11 .virt-manager
$ mv /home/satimis/.virt-manager /home/satimis/.virt-manager.old01
Restart
Applications -> System Tools - Virtual Machine Manager
starting GUI virt-manager but without asking for login as root
$ ls -al /home/satimis/ | grep virt-managerCode:drwxr-xr-x 2 satimis satimis 4096 2010-01-31 10:00 .virt-manager
If changing the owner by running
$ sudo chown root:root /home/satimis/.virt-manager
GUI virt-manage can't start with abovementioned warning pop.
I'm now running "virt-manager" as user (satimis)
Edit:
Ah, I know the problem. bridge-utils is not installed on this VM. Therefore it can't connect Internet. I'm trying to run "apt-get update" and then "apt-get install bridge-utils". Any solution? Thanks
TIA
satimisLast edited by satimis; 02-02-2010 at 04:30 AM.
- 02-02-2010 #4Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,546
Solved
Hi folks,
Problem solved as follow;
Edit /etc/network/interfaces;
changeasCode:# The primary network interface auto eth0 iface eth0 inet manual
and comment out all bridge itemsCode:# The primary network interface auto eth0 iface eth0 inet dhcp
$ sudo /etc/init.d/networking restart
Run;
- aptitude update
- aptitude upgrade
- aptitude install bridge-utils
Re-edit /etc/network/interfaces and reinstate all previous settings.
$ sudo /etc/init.d/networking restart
Update problem gone. The network is running at static IP
However the problem of "virt-manager" is still existing
B.R.
satimis


Reply With Quote
