[SOLVED] apt-get update fails with error code 100

Syndicate

Active Member
Oct 5, 2019
24
2
43
32
Proxmox version 5.4-3
From what I can see I'm apparently usping the enterprise repo for some reason, how do I fix this?

THanks!.

LOG:

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@pve:~# apt-get update
Get:1 http://security.debian.org stretch/updates InRelease [53.0 kB]
Ign:2 http://ftp.debian.org/debian stretch InRelease
Get:3 http://ftp.debian.org/debian stretch-updates InRelease [93.6 kB]
Hit:4 http://ftp.debian.org/debian stretch Release
Get:5 http://security.debian.org stretch/updates/main amd64 Packages [564 kB]
Ign:7 https://enterprise.proxmox.com/debian/pve stretch InRelease
Ign:8 https://enterprise.proxmox.com/debian/pve stretch Release
Ign:9 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
Ign:10 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:11 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:12 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en_US
Ign:9 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
Ign:10 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:11 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:12 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en_US
Ign:9 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
Ign:10 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:11 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:12 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en_US
Ign:9 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
Ign:10 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:11 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:12 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en_US
Ign:9 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
Ign:10 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:11 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:12 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en_US
Err:9 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
401 Unauthorized
Ign:10 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:11 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:12 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en_US
Fetched 711 kB in 10s (65.1 kB/s)
Reading package lists... Done
W: The repository 'https://enterprise.proxmox.com/debian/pve stretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/stretch/pve-enterprise/binary-amd64/Packages 401 Unauthorized
E: Some index files failed to download. They have been ignored, or old ones used instead.
root@pve:~#
 
Hey,

  1. you have to comment # deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise out in /etc/apt/sources.list.d/pve-enterprise.list.
  2. And add deb http://download.proxmox.com/debian buster pve-no-subscription to /etc/apt/sources.list.

Make sure it's http, since https is reserved for the enterprise repository.
 
Last edited:
THanks, I tried that but AFTER following these steps, for some unexplained reason, I'm getting a name resolution problem reaching EVERYTHING from within proxmox only, all VMs are resolving with no problems whatsoever.

root@pve:~# apt-get update
Err:1 http://ftp.debian.org/debian buster InRelease
Temporary failure resolving 'ftp.debian.org'
Err:2 http://download.proxmox.com/debian buster InRelease
Temporary failure resolving 'download.proxmox.com'
Err:3 http://security.debian.org buster/updates InRelease
Temporary failure resolving 'security.debian.org'
Err:4 http://ftp.debian.org/debian buster-updates InRelease
Temporary failure resolving 'ftp.debian.org'
Reading package lists... Done
W: Failed to fetch http://ftp.debian.org/debian/dists/buster/InRelease Temporary failure resolving 'ftp.debian.org'
W: Failed to fetch http://ftp.debian.org/debian/dists/buster-updates/InRelease Temporary failure resolving 'ftp.debian.org'
W: Failed to fetch http://download.proxmox.com/debian/dists/buster/InRelease Temporary failure resolving 'download.proxmox.com'
W: Failed to fetch http://security.debian.org/dists/buster/updates/InRelease Temporary failure resolving 'security.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.


EDIT: After fixing the dumb DNS problem I'm getting this one, proxmox date and time are perfect, but apprently the files aren't valid for the next 2 years?



Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@pve:~# apt-get update
Get:1 http://security.debian.org buster/updates InRelease [65.4 kB]
Get:2 http://ftp.debian.org/debian buster InRelease [122 kB]
Get:3 http://download.proxmox.com/debian buster InRelease [3,051 B]
Get:4 http://ftp.debian.org/debian buster-updates InRelease [51.9 kB]
Reading package lists... Done
E: Release file for http://security.debian.org/dists/buster/updates/InRelease is not valid yet (invalid for another 551d 1h 21min 33s). Updates for this repository will not be applied.
E: Release file for http://download.proxmox.com/debian/dists/buster/InRelease is not valid yet (invalid for another 550d 6h 25min 16s). Updates for this repository will not be applied.
E: Release file for http://ftp.debian.org/debian/dists/buster/InRelease is not valid yet (invalid for another 520d 1h 21min 54s). Updates for this repository will not be applied.
E: Release file for http://ftp.debian.org/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 551d 4h 39min 31s). Updates for this repository will not be applied.




EDIT: Fixed it by running:

timedatectl

in the shell
 
Last edited:
  • Like
Reactions: mikeinnyc