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