[SOLVED] Problem with package installation

anna

New Member
Dec 8, 2024
2
1
3
When I try using command sudo apt install proxmox-ve
I always get:
Bash:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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:
 pve-manager : Depends: cstream but it is not installable
               Depends: dtach but it is not installable
               Depends: fonts-font-awesome but it is not installable
               Depends: hdparm but it is not installable
               Depends: ifupdown2 (>= 3.0) but it is not going to be installed or
                        ifenslave (>= 2.6) but it is not installable
               Depends: libapt-pkg-perl but it is not installable
               Depends: libcrypt-ssleay-perl but it is not installable
               Depends: libfile-readbackwards-perl but it is not installable
               Depends: libfilesys-df-perl but it is not installable
               Depends: libjson-perl but it is not installable
               Depends: libnet-dns-perl but it is not installable
               Depends: libproxmox-acme-perl but it is not going to be installed
               Depends: libproxmox-acme-plugins but it is not going to be installed
               Depends: libpve-access-control (>= 8.1.3) but it is not going to be installed
               Depends: libpve-cluster-api-perl (>= 7.0-5) but it is not going to be installed
               Depends: libpve-cluster-perl (>= 7.2-3) but it is not going to be installed
               Depends: libpve-common-perl (>= 8.2.6) but it is not going to be installed
               Depends: libpve-guest-common-perl (>= 5.1.4) but it is not going to be installed
               Depends: libpve-http-server-perl (>= 5.1.1) but it is not going to be installed
               Depends: libpve-network-perl (>= 0.9~) but it is not going to be installed
               Depends: libpve-network-api-perl (>= 0.9.9~) but it is not going to be installed
               Depends: libpve-notify-perl (>= 8.0.5) but it is not going to be installed
               Depends: libpve-storage-perl (>= 8.2.8) but it is not going to be installed
               Depends: librados2-perl (>= 1.3-1) but it is not going to be installed
               Depends: libtemplate-perl but it is not installable
               Depends: libterm-readline-gnu-perl but it is not installable
               Depends: libuuid-perl but it is not installable
               Depends: lzop but it is not installable
               Depends: postfix but it is not installable or
                        mail-transport-agent but it is not installable
               Depends: pve-cluster (>= 8.0.5) but it is not going to be installed
               Depends: pve-container (>= 5.1.11) but it is not going to be installed
               Depends: pve-firewall but it is not going to be installed
               Depends: pve-ha-manager but it is not going to be installed
               Depends: spiceterm but it is not going to be installed
               Recommends: proxmox-firewall but it is not going to be installed
               Recommends: proxmox-offline-mirror-helper but it is not going to be installed
 pve-qemu-kvm : Depends: ceph-common (>= 0.48) but it is not installable
                Depends: libgfapi0 but it is not installable or
                         glusterfs-common (>= 5.6) but it is not installable
                Depends: libgfchangelog0 but it is not installable or
                         glusterfs-common (>= 5.6) but it is not installable
                Depends: libgfdb0 but it is not installable or
                         glusterfs-common (>= 5.6) but it is not installable
                Depends: libgfrpc0 but it is not installable or
                         glusterfs-common (>= 5.6) but it is not installable
                Depends: libgfxdr0 but it is not installable or
                         glusterfs-common (>= 5.6) but it is not installable
                Depends: libglusterfs-dev but it is not installable or
                         glusterfs-common (>= 5.6) but it is not installable
                Depends: libglusterfs0 but it is not installable or
                         glusterfs-common (>= 5.6) but it is not installable
                Depends: libiscsi7 (>= 1.18.0) but it is not installable
                Depends: libspice-server1 (>= 0.14.2) but it is not installable
                Depends: libusbredirparser1 (>= 0.8.0) but it is not installable
                Depends: libfdt1 (>= 1.6.1) but it is not installable
                Depends: librados2 (>= 16.2.11+ds) but it is not installable
                Depends: librbd1 (>= 16.2.6+ds) but it is not installable
                Depends: libslirp0 (>= 4.7.0) but it is not installable
                Depends: libvirglrenderer1 (>= 0.8.0) but it is not installable
                Recommends: numactl but it is not installable
 qemu-server : Depends: genisoimage but it is not installable
               Depends: libio-multiplex-perl but it is not installable
               Depends: libjson-perl but it is not installable
               Depends: libjson-xs-perl but it is not installable
               Depends: libpve-access-control (>= 8.0.0~) but it is not going to be installed
               Depends: libpve-apiclient-perl but it is not going to be installed
               Depends: libpve-cluster-perl but it is not going to be installed
               Depends: libpve-common-perl (>= 8.2.6) but it is not going to be installed
               Depends: libpve-guest-common-perl (>= 5.1.2) but it is not going to be installed
               Depends: libpve-storage-perl (>= 8.2.8) but it is not going to be installed
               Depends: libterm-readline-gnu-perl but it is not installable
               Depends: libuuid-perl but it is not installable
               Depends: pve-cluster but it is not going to be installed
               Depends: pve-firewall (>= 5.0.4) but it is not going to be installed
               Depends: pve-ha-manager (>= 3.0-9) but it is not going to be installed
               Depends: swtpm-tools but it is not going to be installed
               Recommends: proxmox-backup-file-restore (>= 2.1.9-2) but it is not going to be installed
               Recommends: libpve-network-perl (>= 0.8.3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

According to https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_12_Bookworm I ran such commands:
Bash:
echo "deb [arch=amd64] [URL]http://download.proxmox.com/debian/pve[/URL] bookworm pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list
wget [URL]https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg[/URL] -O /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg
apt update && apt full-upgrade
apt install proxmox-default-kernel
systemctl reboot

Thank you in advance.
 
Everything is OK. The problem was that the main package source file was empty. I added sources to /etc/apt/sources.list
deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware


And everything worked
 
  • Like
Reactions: leesteken

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!