Upgrade from 5.4 to 6.0 failed

hi,

firstly fix this:

Code:
root@proxmox-ve-1:/etc/apt/sources.list.d# apt update
Hit:1 http://ftp.debian.org/debian buster InRelease
Hit:2 http://security.debian.org buster/updates InRelease
Hit:3 http://download.proxmox.com/debian/ceph-luminous buster InRelease
Hit:4 http://download.proxmox.com/debian/corosync-3 stretch InRelease
Hit:5 http://download.proxmox.com/debian/pve stretch InRelease
Ign:6 https://enterprise.proxmox.com/debian/pve buster InRelease
Err:7 https://enterprise.proxmox.com/debian/pve buster Release
  401  Unauthorized

you can't use the enterprise repository without setting it up. take a look here for more information [0]

you either need to set it up, or you need to use pve-no-subscription

[0]: https://pve.proxmox.com/wiki/Package_Repositories
 
you have wrong sources.lists. check the upgrade doc again.
 
thanks all for the help.

I managed to solve my issue and upgraded from 5.4 to 6.0 successfully now.

I moved pve-enterprise.list and pve-no-subscription.list to /home from /etc/apt/sources.list.d/

Copy this below into File : /etc/apt/sources.list

Code:
deb http://ftp.debian.org/debian buster main contrib
deb http://ftp.debian.org/debian buster-updates main contrib

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

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

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!