[SOLVED] command 'apt-get update' failed: exit code 100

ca_maer

Well-Known Member
Dec 5, 2017
181
14
58
44
Hello,

Since yesterday, we are getting the following error on multiple servers when running pveupdate:
Code:
command 'apt-get update' failed: exit code 100

Manually running apt-get update works fine. We always used apt-get dist-upgrade when upgrading.
We are using the paid entreprise repo.

Any idea what might cause this ?

Here's our pveversion
Code:
proxmox-ve: 5.1-41 (running kernel: 4.13.13-5-pve)
pve-manager: 5.1-46 (running version: 5.1-46/ae8241d4)
pve-kernel-4.13.13-6-pve: 4.13.13-41
pve-kernel-4.13.13-5-pve: 4.13.13-38
pve-kernel-4.13.13-2-pve: 4.13.13-33
corosync: 2.4.2-pve3
criu: 2.11.1-1~bpo90
glusterfs-client: 3.8.8-1
ksm-control-daemon: 1.2-2
libjs-extjs: 6.0.1-2
libpve-access-control: 5.0-8
libpve-apiclient-perl: 2.0-4
libpve-common-perl: 5.0-28
libpve-guest-common-perl: 2.0-14
libpve-http-server-perl: 2.0-8
libpve-storage-perl: 5.0-17
libqb0: 1.0.1-1
lvm2: 2.02.168-pve6
lxc-pve: 2.1.1-3
lxcfs: 2.0.8-2
novnc-pve: 0.6-4
proxmox-widget-toolkit: 1.0-11
pve-cluster: 5.0-20
pve-container: 2.0-19
pve-docs: 5.1-16
pve-firewall: 3.0-5
pve-firmware: 2.0-3
pve-ha-manager: 2.0-5
pve-i18n: 1.0-4
pve-libspice-server1: 0.12.8-3
pve-qemu-kvm: 2.9.1-9
pve-xtermjs: 1.0-2
qemu-server: 5.0-22
smartmontools: 6.5+svn4324-1
spiceterm: 3.0-5
vncterm: 1.5-3
zfsutils-linux: 0.7.6-pve1~bpo9
 
Last edited:
What is the output of 'apt-get update'?
 
What is the output of 'apt-get update'?

I think it might be related to the debian repo because it gets stuck at
Code:
0% [Connecting to ftp.ca.debian.org (192.175.120.168)]
and sometime it works without any issue.

Code:
Hit:1 http://security.debian.org stretch/updates InRelease
Hit:2 https://enterprise.proxmox.com/debian/pve stretch InRelease
Ign:3 http://linux.dell.com/repo/community/debian jessie InRelease
Hit:4 http://linux.dell.com/repo/community/debian jessie Release
Ign:6 http://ftp.ca.debian.org/debian stretch InRelease
Hit:7 http://ftp.ca.debian.org/debian stretch Release
Reading package lists... Done

EDIT:
Using an online ping tool confirms the debian ca repo is having issue
Code:
packets transmitted     9
received     0
packet loss     100 %
time     8238 ms
 
Hi!

Having the issue and its not the ca repo of Debian.
I am using the de repo.

Manual update - no roblems!

Any suggestions?

Regards

Oh, here is the output of "apt-get update":
Code:
Ign:1 http://mirror.hetzner.de/debian/packages stretch InRelease
Hit:2 http://mirror.hetzner.de/debian/security stretch/updates InRelease
Hit:3 http://mirror.hetzner.de/debian/packages stretch-updates InRelease
Hit:4 http://mirror.hetzner.de/debian/packages stretch Release
Get:5 http://download.proxmox.com/debian/pve stretch InRelease [3,052 B]
Ign:6 http://ftp.debian.org/debian stretch InRelease
Ign:7 http://ftp.de.debian.org/debian stretch InRelease
Hit:8 http://ftp.debian.org/debian stretch Release
Hit:9 http://ftp.de.debian.org/debian stretch-updates InRelease
Hit:10 http://ftp.de.debian.org/debian stretch Release
Hit:11 http://security.debian.org/debian-security stretch/updates InRelease
Hit:12 http://security.debian.org stretch/updates InRelease
Err:5 http://download.proxmox.com/debian/pve stretch InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0D9A1950E2EF0603
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://download.proxmox.com/debian/pve stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0D9A1950E2EF0603
W: Failed to fetch http://download.proxmox.com/debian/pve/dists/stretch/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0D9A1950E2EF0603
W: Some index files failed to download. They have been ignored, or old ones used instead.
 
Im also having a issue with the update.

Code:
starting apt-get update
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 https://enterprise.proxmox.com/debian/pve stretch InRelease
Ign:3 https://enterprise.proxmox.com/debian/pve stretch Release
Ign:4 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:5 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
Ign:6 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:4 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:5 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
Ign:6 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:4 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:5 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
Ign:6 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:4 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:5 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
Ign:6 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:4 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:5 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
Ign:6 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:4 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Err:5 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
  401  Unauthorized
Ign:6 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:7 http://ftp.us.debian.org/debian stretch InRelease
Hit:8 http://ftp.us.debian.org/debian stretch-updates InRelease
Hit:9 http://ftp.us.debian.org/debian stretch Release
Reading package lists...
W: The repository 'https://enterprise.proxmox.com/debian/pve stretch Release' does not have a Release file.
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.
TASK ERROR: command 'apt-get update' failed: exit code 100
 
Another cause: After upgrading my cluster to Proxmox 6 I got the apt-get error 100 on all nodes. Turns out I forgot to disable the /etc/apt/sources.list.d/corosync3.list.
Anything that breaks apt is usually pretty simple to troubleshoot; run apt-get update manually and read the error.
 
  • Like
Reactions: scarlaxx
I went to each node and did this: mv /etc/apt/sources.list.d/pve-enterprise.list /tmp
 
If you encounter the error TASK ERROR: command 'apt-get update' failed: exit code 100 you double-click the log information to see the full output of apt-get. I have the issue:


Code:
starting apt-get update
Get:1 http://security.debian.org buster/updates InRelease [65.4 kB]
Hit:2 https://enterprise.proxmox.com/debian/pve buster InRelease
Get:3 http://ftp.pl.debian.org/debian buster InRelease [122 kB]
Get:4 http://ftp.pl.debian.org/debian buster-updates InRelease [51.9 kB]
Reading package lists...
E: Repository 'http://security.debian.org buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
E: Repository 'http://ftp.pl.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
E: Repository 'http://ftp.pl.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'stable-updates' to 'oldstable-updates'
TASK ERROR: command 'apt-get update' failed: exit code 100

So I have issued the command:

Code:
apt-get update --allow-releaseinfo-change

This has fixed the problem for me.
 
Last edited:
@beumont , make this does not generate problems in the future?.
I don't think to upgrade to Debian 11. I prefer clean installs when there are major version available ( For E. pve6.4 to 7.X)

there I saw a problem, when doing this, old updates were listed and they conflicted
(I'm not 100% sure about this, I just read it)
 
If you encounter the error TASK ERROR: command 'apt-get update' failed: exit code 100 you double-click the log information to see the full output of apt-get. I have the issue:


Code:
starting apt-get update
Get:1 http://security.debian.org buster/updates InRelease [65.4 kB]
Hit:2 https://enterprise.proxmox.com/debian/pve buster InRelease
Get:3 http://ftp.pl.debian.org/debian buster InRelease [122 kB]
Get:4 http://ftp.pl.debian.org/debian buster-updates InRelease [51.9 kB]
Reading package lists...
E: Repository 'http://security.debian.org buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
E: Repository 'http://ftp.pl.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
E: Repository 'http://ftp.pl.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'stable-updates' to 'oldstable-updates'
TASK ERROR: command 'apt-get update' failed: exit code 100

So I have issued the command:

Code:
apt-get update --allow-releaseinfo-change

This has fixed the problem for me.
There is also another simple solution for this case.
You can manually run apt update and confirm questions
Code:
Get:1 http://ftp.pl.debian.org/debian buster InRelease [122 kB]
Get:2 http://ftp.pl.debian.org/debian buster-updates InRelease [51.9 kB]                                                                             
Get:3 http://security.debian.org buster/updates InRelease [65.4 kB]           
Hit:4 https://enterprise.proxmox.com/debian/pve buster InRelease               
E: Repository 'http://ftp.pl.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] y
E: Repository 'http://ftp.pl.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'stable-updates' to 'oldstable-updates'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] y
E: Repository 'http://security.debian.org buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] y
Get:5 http://security.debian.org buster/updates/main amd64 Packages [302 kB]                                                                                           
Get:6 http://security.debian.org buster/updates/main Translation-en [159 kB]                                                                                           
Fetched 635 kB in 7s (96.9 kB/s)                                                                                                                                       
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Next apt update will run without any problems
 
hello all

I am using proxmox in my home set up

I too have the same problem as mentioned here above
I have the following repository set up

Warning
You get updates for Proxmox VE
The enterprise repository is enabled, but there is no active subscription!
The no-subscription repository is not recommended for production use!

i too get the error 100
starting apt-get update
Hit:1 http://security.debian.org bookworm-security InRelease
Hit:2 http://download.proxmox.com/debian/pve bookworm InRelease
Err:3 https://enterprise.proxmox.com/debian/ceph-quincy bookworm InRelease
401 Unauthorized [IP: 212.224.123.70 443]
Err:4 https://enterprise.proxmox.com/debian/pve bookworm InRelease
401 Unauthorized [IP: 212.224.123.70 443]
Hit:5 http://ftp.it.debian.org/debian bookworm InRelease
Hit:6 http://ftp.it.debian.org/debian bookworm-updates InRelease
Reading package lists...
E: Failed to fetch https://enterprise.proxmox.com/debian/ceph-quincy/dists/bookworm/InRelease 401 Unauthorized [IP: 212.224.123.70 443]
E: The repository 'https://enterprise.proxmox.com/debian/ceph-quincy bookworm InRelease' is not signed.
E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/bookworm/InRelease 401 Unauthorized [IP: 212.224.123.70 443]
E: The repository 'https://enterprise.proxmox.com/debian/pve bookworm InRelease' is not signed.
TASK ERROR: command 'apt-get update' failed: exit code 100



I tried to add the line of code mentioned above ---- pt-get update --allow-releaseinfo-change

here too i get an error
Since this is a new installation i certainly missed a configuration

please suggest a solution to resolve this issue


thank you in advance
 
hello all

I am using proxmox in my home set up

I too have the same problem as mentioned here above
I have the following repository set up

Warning
You get updates for Proxmox VE
The enterprise repository is enabled, but there is no active subscription!
The no-subscription repository is not recommended for production use!

i too get the error 100
starting apt-get update
Hit:1 http://security.debian.org bookworm-security InRelease
Hit:2 http://download.proxmox.com/debian/pve bookworm InRelease
Err:3 https://enterprise.proxmox.com/debian/ceph-quincy bookworm InRelease
401 Unauthorized [IP: 212.224.123.70 443]
Err:4 https://enterprise.proxmox.com/debian/pve bookworm InRelease
401 Unauthorized [IP: 212.224.123.70 443]
Hit:5 http://ftp.it.debian.org/debian bookworm InRelease
Hit:6 http://ftp.it.debian.org/debian bookworm-updates InRelease
Reading package lists...
E: Failed to fetch https://enterprise.proxmox.com/debian/ceph-quincy/dists/bookworm/InRelease 401 Unauthorized [IP: 212.224.123.70 443]
E: The repository 'https://enterprise.proxmox.com/debian/ceph-quincy bookworm InRelease' is not signed.
E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/bookworm/InRelease 401 Unauthorized [IP: 212.224.123.70 443]
E: The repository 'https://enterprise.proxmox.com/debian/pve bookworm InRelease' is not signed.
TASK ERROR: command 'apt-get update' failed: exit code 100



I tried to add the line of code mentioned above ---- pt-get update --allow-releaseinfo-change

here too i get an error
Since this is a new installation i certainly missed a configuration

please suggest a solution to resolve this issue


thank you in advance

Dear Wbravin,

I had a similar problem.
Please watch this video. Robert kindly explains why you are getting this message and what you should do.
(please note that I am a newcomer here)

https://www.youtube.com/watch?v=5AumO9AKKB0
 
Dear Wbravin,

I had a similar problem.
Please watch this video. Robert kindly explains why you are getting this message and what you should do.
(please note that I am a newcomer here)

https://www.youtube.com/watch?v=5AumO9AKKB0
Thank you @gkonrad for your reply and suggestion

I did watch the video and he explains it very well

I did disable the HTTPS://enterprise.proxmox.com/debian/pve

and
did add the no subscription repository and rebooted pve

to no avail I still get

starting apt-get update
Hit:1 http://ftp.it.debian.org/debian bookworm InRelease
Hit:2 http://security.debian.org bookworm-security InRelease
Hit:3 http://download.proxmox.com/debian/pve bookworm InRelease
Hit:4 http://ftp.it.debian.org/debian bookworm-updates InRelease
Err:5 https://enterprise.proxmox.com/debian/ceph-quincy bookworm InRelease
401 Unauthorized [IP: 51.91.38.34 443]
Reading package lists...
E: Failed to fetch https://enterprise.proxmox.com/debian/ceph-quincy/dists/bookworm/InRelease 401 Unauthorized [IP: 51.91.38.34 443]
E: The repository 'https://enterprise.proxmox.com/debian/ceph-quincy bookworm InRelease' is not signed.
TASK ERROR: command 'apt-get update' failed: exit code 100

Hence i disabled the ceph-quincy repository and it worked



Thank you so much for your help
 
  • Like
Reactions: gkonrad

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!