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

saeft_3004

Active Member
Mar 4, 2019
50
1
28
36
Hallo,

immer wenn proxmox Nachts versucht updates zu machen, steht diese Fehlermeldung im Log. Ich habe keine subscription, deswegen habe ich das getan:

Proxmox VE No-Subscription Repository

As the name suggests, you do not need a subscription key to access this repository. It can be used for testing and non-production use. Its not recommended to run on production servers, as these packages are not always heavily tested and validated.


We recommend to configure this repository in /etc/apt/sources.list.


File /etc/apt/sources.list

deb http://ftp.debian.org/debian stretch main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve stretch pve-no-subscription

# security updates
deb http://security.debian.org stretch/updates main contrib



leider kommt die Fehlermeldung immer noch. Das kommt wenn ich apt-get update in der Konsole eingeben:

root@pve:~# apt-get update
Get:1 http://download.proxmox.com/debian/pve stretch InRelease [3,052 B]
Ign:2 http://ftp.de.debian.org/debian stretch InRelease
Get:3 http://security.debian.org stretch/updates InRelease [94.3 kB]
Hit:4 http://ftp.de.debian.org/debian stretch Release
Ign:5 https://enterprise.proxmox.com/debian/pve stretch InRelease
Ign:6 https://enterprise.proxmox.com/debian/pve stretch Release
Ign:7 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
Ign:8 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:9 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:10 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en_US
Ign:7 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
Ign:8 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:9 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:10 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en_US
Ign:7 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
Ign:8 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:9 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:10 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en_US
Ign:7 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
Ign:8 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:9 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:10 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en_US
Ign:7 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
Ign:8 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:9 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:10 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en_US

Err:7 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
401 Unauthorized

Ign:8 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:9 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:10 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en_US
Fetched 97.4 kB in 0s (105 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.
 
Hallo saeft_3004,

es sieht so aus, als hättest Du jetzt beide Repositories (Enterprise und No-Subscription) aktiviert.
Probiere mal das Enterprise Repository in der /etc/apt/sources.list.d/pve-enterprise.list auszukommentieren und mach dann noch mal ein apt-get update.

Gruß
Patrick
 
vielen dank für die schnelle Antwort. Ich habe es auskommentiert, dass bringt jetzt apt-get update:

root@pve:~# nano /etc/apt/sources.list.d/pve-enterprise.list
root@pve:~# apt-get update
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://ftp.de.debian.org/debian stretch InRelease
Hit:3 http://ftp.de.debian.org/debian stretch Release
Hit:5 http://download.proxmox.com/debian/pve stretch InRelease
Reading package lists... Done
root@pve:~#

Ich denke dass das jetzt so passt, oder?
 

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!