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

gerardsamara

Member
May 28, 2019
4
1
23
Hi ,

Proxmox 5.4 installed on Debian9 machine

I know there are already a lot of threads on this issue but i was unable to solve this issue.

Tha package repositories have been setup according the "installation-and-configuration" guide
... ://pve.proxmox.com/wiki/Package_Repositories

Here is the log when hitting the "refresh command" in the UPDATE Panel of the Proxmox page ( same in cmd mode in SSH session )
I have removed all the http/https from the log file otherwise posting the thread failed ( No link allowed for new user)

-------------------------------------------------------------
starting apt-get update
Get:1 ://security.debian.org stretch/updates InRelease [94.3 kB]
Ign:2 ://ftp.debian.org/debian stretch InRelease
Hit:3 ://ftp.debian.org/debian stretch Release
Hit:5 ://download.proxmox.com/debian/pve stretch InRelease
Ign:6 ://enterprise.proxmox.com/debian/pve stretch InRelease
Ign:7 ://enterprise.proxmox.com/debian/pve stretch Release
Ign:8 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:9 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
Ign:10 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:8 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:9 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
Ign:10 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:8 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:9 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
Ign:10 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:8 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:9 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
Ign:10 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:8 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:9 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
Ign:10 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:8 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Err:9 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
401 Unauthorized
Ign:10 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Fetched 94.3 kB in 3s (30.4 kB/s)
Reading package lists...
W: The repository '://enterprise.proxmox.com/debian/pve stretch Release' does not have a Release file.
E: Failed to fetch ://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

-------------------------------------------------------------

Please any advice as the pve-enterprise repository is disabled.
Thgank you
 
Last edited:
hi.

Please any advice as the pve-enterprise repository is disabled.
are you sure?

Code:
Ign:6 ://enterprise.proxmox.com/debian/pve stretch InRelease
Ign:7 ://enterprise.proxmox.com/debian/pve stretch Release
Ign:8 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:9 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
Ign:10 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:8 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:9 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
Ign:10 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:8 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:9 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
Ign:10 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:8 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:9 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
Ign:10 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:8 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Ign:9 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
Ign:10 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Ign:8 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise all Packages
Err:9 ://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
401 Unauthorized

because it looks like you haven't disabled it. try commenting the enterprise line in `/etc/apt/sources.list.d/pve-enterprise.list`
 
  • Like
Reactions: XNOX9
Thank you very much @oguz to have pointed me into the right direction.

After commenting the enterprise line in `/etc/apt/sources.list.d/pve-enterprise.list` , the apt-get update worked OK
The issue is closed

Best regards


Note : I should have screwed up somewhere as I have used the correct documentation « https://pve.proxmox.com/wiki/Package_Repositories »

-----------------------------------------------------
Proxmox VE Enterprise Repository

This is the default, stable and recommended repository, available for all Proxmox VE subscription users. It contains the most stable packages, and is suitable for production use. The pve-enterprise repository is enabled by default:

File /etc/apt/sources.list.d/pve-enterprise.list

deb https://enterprise.proxmox.com/debian/pve stretch pve-enterprise

As soon as updates are available, the root@pam user is notified via email about the available new packages. On the GUI, the change-log of each package can be viewed (if available), showing all details of the update. So you will never miss important security fixes.

Please note that and you need a valid subscription key to access this repository. We offer different support levels, and you can find further details at https://www.proxmox.com/en/proxmox-ve/pricing.


You can disable this repository by commenting out the above line using a # (at the start of the line). This prevents error messages if you do not have a subscription key. Please configure the pve-no-subscription repository in that case.
--------------------------------------------------------------
 
  • Like
Reactions: XNOX9
you're very welcome. you can mark this thread [SOLVED], so that others know what to expect.
 

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!