TASK ERROR: command 'apt-get update' failed: exit code 100

beerglass

New Member
May 16, 2022
3
0
1
Hi

Just installed VE 7.1.7 and getting this error in tasks messages "TASK ERROR: command 'apt-get update' failed: exit code 100"

When using the cli/shell and run a manual update I get the following error. Its saying the repo isnt reachable but PVE has internet access and able to ping external sites so not sure what is going on

Code:
root@nuc:~#  apt-get update
Err:1 http://ftp.uk.debian.org/debian bullseye InRelease                                                                       
  Cannot initiate the connection to ftp.uk.debian.org:80 (2001:1b40:5600:ff80:f8ee::1). - connect (101: Network is unreachable) Could not connect to ftp.uk.debian.org:80 (78.129.164.123). - connect (113: No route to host)
Ign:2 http://ftp.uk.debian.org/debian bullseye-updates InRelease                                                               
Err:3 http://ftp.uk.debian.org/debian bullseye-updates Release
  Cannot initiate the connection to ftp.uk.debian.org:80 (2001:1b40:5600:ff80:f8ee::1). - connect (101: Network is unreachable)
Err:4 http://security.debian.org bullseye-security InRelease
  Cannot initiate the connection to debian.map.fastlydns.net:80 (2a04:4e42:4a::644). - connect (101: Network is unreachable) Could not connect to debian.map.fastlydns.net:80 (151.101.18.132). - connect (113: No route to host) Cannot initiate the connection to security.debian.org:80 (2a04:4e42:400::644). - connect (101: Network is unreachable) Cannot initiate the connection to security.debian.org:80 (2a04:4e42:600::644). - connect (101: Network is unreachable) Cannot initiate the connection to security.debian.org:80 (2a04:4e42:200::644). - connect (101: Network is unreachable) Cannot initiate the connection to security.debian.org:80 (2a04:4e42::644). - connect (101: Network is unreachable) Could not connect to security.debian.org:80 (151.101.66.132). - connect (113: No route to host) Could not connect to security.debian.org:80 (151.101.2.132). - connect (113: No route to host) Could not connect to security.debian.org:80 (151.101.130.132). - connect (113: No route to host) Could not connect to security.debian.org:80 (151.101.194.132). - connect (113: No route to host)
Reading package lists... Done                         
N: Ignoring file 'pve-enterprise.list.backup' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: The repository 'http://ftp.uk.debian.org/debian bullseye-updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@nuc:~#
 
possibly just IPv6 being broken on your host?
 
well, your copied output says it tries to and fails to use IPv6 ;)