解决 PVE update 显示没授权的问题- Update Unauthorized, after latest update.
2023-7-5
| 2023-7-5
0  |  0 分钟
type
status
date
Jul 5, 2023 08:48 AM
slug
summary
tags
PVE
category
技术折腾
icon
password
 
解决 PVE update 显示没授权的问题 So after upgrading 4 of our Proxmox servers from 6.0 to 6.1, i get this error: starting apt-get upda……
notion image
So after upgrading 4 of our Proxmox servers from 6.0 to 6.1, i get this error:
Code:
But only on 2 of 4 servers. And all of them have license.
notion image

aaron

Proxmox Staff Member

What’s the status of the subscription on these nodes? For good measure click the“Check” button in the Subscription panel.
notion image
All is active.
Ok, so it’s working now after i clicked“check”.
I did this yesterday without any luck, but now it’s working
notion image
notion image
How should i get to work the update?
If you have a subscription - go to the node’s Subscription tab and click check - make sure that it is recognized as valid.
If you don’t have a subscription configure a different repository (or get a subscription):
I hope this helps!
I had this same issue and beat my head against a wall for the longest time. The answer is indeed in the Package_Repositories page, but its not as explicit as you’d like. I had to edit my repositories list at /etc/apt/sources.list as stated in the post, but you also have to comment out the line listed in /etc/apt/sources.list.d/pve-enterprise.list. If you don’t comment out the line in the second file, it still tries to use the enterprise repo. After commenting that out, run apt update and it should work.
I had this same issue and beat my head against a wall for the longest time. The answer is indeed in the Package_Repositories page, but its not as explicit as you’d like. I had to edit my repositories list at /etc/apt/sources.list as stated in the post, but you also have to comment out the line listed in /etc/apt/sources.list.d/pve-enterprise.list. If you don’t comment out the line in the second file, it still tries to use the enterprise repo. After commenting that out, run apt update and it should work.
thanks so much. big help.
the answer is on the page but not being very familiar with pve (yet) i looked right through it.
I had this same issue and beat my head against a wall for the longest time. The answer is indeed in the Package_Repositories page, but its not as explicit as you’d like. I had to edit my repositories list at /etc/apt/sources.list as stated in the post, but you also have to comment out the line listed in /etc/apt/sources.list.d/pve-enterprise.list. If you don’t comment out the line in the second file, it still tries to use the enterprise repo. After commenting that out, run apt update and it should work.
I registered for this forum only to say thank you. Thank you.
Just fyi in case somebody else gets stuck. I ended up having to edit 2 files. #1 is /etc/apt/sources.list.d . On there I had the enterprise.proxmox.com line with pve-enterprise at the end. I commented that out.
Code:
#2 was editing the /etc/apt/sources.list file. On there I added the line with the download.proxmox.com (pve-no-subscription) as the Package_Repositories page suggests.
Code:
after that I was able to do an apt-get update and apt-get upgrade just fine. I’m using proxmox 7.1.
Thanks magnumsferrari - that worked for me. Specifically, my long-running proxmox server had the correct /etc/apt/sources.list file already, but somehow a file referencing the enterprise source was added at: /etc/apt/sources.list.d/pve-enterprise.list. Commented out the single entry there and now back to successful updates.
Thanks magnumsferrari - that worked for me. Specifically, my long-running proxmox server had the correct /etc/apt/sources.list file already, but somehow a file referencing the enterprise source was added at: /etc/apt/sources.list.d/pve-enterprise.list. Commented out the single entry there and now back to successful updates.
the enterprise repo is the default when you install pve.
if you remove/comment the enterprise repo, don’t forget to add the pve-no-subscription repo.
I had this same issue and beat my head against a wall for the longest time. The answer is indeed in the Package_Repositories page, but its not as explicit as you’d like. I had to edit my repositories list at /etc/apt/sources.list as stated in the post, but you also have to comment out the line listed in /etc/apt/sources.list.d/pve-enterprise.list. If you don’t comment out the line in the second file, it still tries to use the enterprise repo. After commenting that out, run apt update and it should work.
Your post was very useful for me
Thank you !!!
I had this same issue and beat my head against a wall for the longest time. The answer is indeed in the Package_Repositories page, but its not as explicit as you’d like. I had to edit my repositories list at /etc/apt/sources.list as stated in the post, but you also have to comment out the line listed in /etc/apt/sources.list.d/pve-enterprise.list. If you don’t comment out the line in the second file, it still tries to use the enterprise repo. After commenting that out, run apt update and it should work.
i love you!! worked perfectly!!! > 本文由简悦 SimpRead 转码
目录