VM/Container stuck at 0% on apt-get

CyberKiller_MDS

New Member
Oct 10, 2020
5
0
1
36
I have a problem on this configuration:
Router (192.168.0.1)
VirtualBox (192.168.0.100) > Proxmox (192.168.0.110) > Ubuntu/Debian (192.168.0.115), in proxmox all is ok, but in VM/Container (Debian or Ubuntu) i can ping, but can't do apt-get update, it stuck on 0%.
I use bridged mode on Virtualbox, and same on Proxmox...
Can anybody help me with this issue?
 
When testing ping did you use an IP address or a url? I normally ping 8.8.8.8 and then follow up with ping www.yahoo.com to verify that dns is working.
 
Code:
root@test:~# ping google.com
PING google.com (172.217.169.206) 56(84) bytes of data.
64 bytes from sof02s34-in-f14.1e100.net (172.217.169.206): icmp_seq=1 ttl=120 time=7.72 ms
64 bytes from sof02s34-in-f14.1e100.net (172.217.169.206): icmp_seq=2 ttl=120 time=9.57 ms

--- google.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 7.721/8.646/9.571/0.925 ms
Code:
root@test:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=62 time=1.84 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=62 time=1.42 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=62 time=3.03 ms

--- 8.8.8.8 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 1.428/2.091/3.034/0.590 ms
Code:
root@test:~# apt-get update
0% [Connecting to archive.ubuntu.com (91.189.88.152)
 
Just install proxmox on computer, no problem with apt, on vmbox > proxmox i have, same configuration on both...
Yes i can ping, i try apt-get clean, same... still have a problem...
Can't run dig, can't run wget... I think something with DNS is problem...
 
Last edited:
I'm out of ideas then. I suppose you could try to strace the update process and watch where it is getting hung.