[SOLVED] Apt updates terribly slow

XabiX

Active Member
Nov 8, 2017
15
0
41
45
Hello,

I am running the latest non subscription release and I don't why but the apt-get update get stuck.

pve-manager/5.4-4/97a96833 (running kernel: 4.15.18-13-pve)​

I tried changing it and the VMs don't have any issue. My setup has been working since months with no issue. Not sure what could explain the issue.

aptitude install screen
The following NEW packages will be installed:
screen
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 592 kB of archives. After unpacking 1,006 kB will be used.
Get: 1 http://ftp.fr.debian.org/debian stretch/main amd64 screen amd64 4.5.0-6 [592 kB]
Err http://ftp.fr.debian.org/debian stretch/main amd64 screen amd64 4.5.0-6
Connection timed out [IP: 212.27.32.66 80]
0% [Working]E: Failed to fetch http://ftp.fr.debian.org/debian/pool/main/s/screen/screen_4.5.0-6_amd64.deb: Connection timed out [IP: 212.27.32.66 80]
E: Unable to fetch some packages; try '-o APT::Get::Fix-Missing=true' to continue with missing packages​

If I check the network it seems weird:
ping ftp.fr.debian.org
PING ftp.fr.debian.org(debian.proxad.net (2a01:e0c:1:1598::2)) 56 data bytes
^C
--- ftp.fr.debian.org ping statistics ---
9 packets transmitted, 0 received, 100% packet loss, time 8184ms

traceroute ftp.fr.debian.org
traceroute to ftp.fr.debian.org (212.27.32.66), 30 hops max, 60 byte packets
1 MUR.localdomain (10.0.0.254) 0.177 ms 0.171 ms 0.158 ms
2 192.168.1.253 (192.168.1.253) 0.428 ms 0.422 ms 0.416 ms
3 10.255.255.1 (10.255.255.1) 35.539 ms 35.547 ms 35.537 ms
4 1.180.234.89.ipv4.netrix.fr (89.234.180.1) 35.532 ms 35.527 ms 35.522 ms
5 40ge8-6.edge1.vel.netrix.fr (149.91.90.225) 35.518 ms 40.246 ms 41.960 ms
6 10.40.3.102 (10.40.3.102) 53.296 ms 53.615 ms 59.964 ms
7 89.30.98.153 (89.30.98.153) 59.983 ms 75.623 ms 78.195 ms
8 cr1.lvl3.par.fr.bsonet.net (89.30.32.157) 178.354 ms 242.880 ms 252.283 ms
9 cr2.cbv1.par.fr.bsonet.net (89.30.32.129) 352.357 ms 352.350 ms 352.344 ms
10 cr2.th2.par.fr.bsonet.net (89.30.32.121) 452.509 ms 452.510 ms 548.839 ms
11 * * *
12 * * *
13 * * *
14 bzn-9k-4-be1004.intf.routers.proxad.net (78.254.249.2) 39.548 ms 69.494 ms 69.509 ms
15 * * *
16 debian.proxad.net (212.27.32.66) 38.430 ms 131.109 ms 131.094 ms​

Any idea of what the issue can be?

Merci
XabiX
 
You can try to use another debian mirror (replace address in /etc/apt/sources.list):

https://www.debian.org/mirror/list
Yes I did try but it stucks on a subsequent item which also happens when I attempted to use another depot like:
deb http://debian.mirrors.ovh.net/debian stretch main contrib

Code:
 Actions  Undo  Package  Resolver  Search  Options  Views  Help
C-T: Menu  ?: Help  q: Quit  u: Update  g: Preview/Download/Install/Remove Pkgs
                                  Packages                                                                    List Update
Connecting to ftp.fr.debian.org (2a01:e0c:1:1598::2)
Connecting to download.proxmox.com (2607:5300:60:5506::81)
Connecting to prod.debian.map.fastly.net (2a04:4e42:1d::204)

I believe the issue may be coming through the Proxmox depot
deb http://download.proxmox.com/debian/pve stretch pve-no-subscription

Thanks
Xavier

PS: I will wait and maybe it will get back to normal automatically :)
 
If I check the network it seems weird:
ping ftp.fr.debian.org
PING ftp.fr.debian.org(debian.proxad.net (2a01:e0c:1:1598::2)) 56 data bytes
^C
--- ftp.fr.debian.org ping statistics ---
9 packets transmitted, 0 received, 100% packet loss, time 8184ms

traceroute ftp.fr.debian.org
traceroute to ftp.fr.debian.org (212.27.32.66), 30 hops max, 60 byte packets
1 MUR.localdomain (10.0.0.254) 0.177 ms 0.171 ms 0.158 ms

You ping the ipv6 address of ftp.fr.debian.org and get 100% packetloss, you traceroute to the ipv4 address of ftp.fr.debian.org and it works - I'd guess the problem is with ipv6 connectivity - your system seems to have a global ipv6 address and default route, which does not work - you could try disabling ipv6 and try updating again.

Hope this helps!
 

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!