OK, it has been removed both you have asked. Still same error:Apt won't only use the lines in /etc/apt/sources.list, it will also use ALL lines in ALL files in your /etc/apt/sources.list.d/ folder. So you also need check those files as well as Moayad already said: "Please remove it `rm /etc/apt/sources.list.d/pve-community.list` since you are using enterprise or just comment out on it #"
Code:
root@V1:~# apt update
Hit:1 http://ftp.debian.org/debian bullseye InRelease
Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease
Hit:4 https://enterprise.proxmox.com/debian/pve bullseye InRelease
Hit:5 http://download.proxmox.com/debian/ceph-octopus bullseye InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
245 packages can be upgraded. Run 'apt list --upgradable' to see them.
Code:
root@V1:~# apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Error!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libpve-common-perl : Breaks: qemu-server (< 7.0-19) but 6.4-2 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.