Problemas intentando actualizar Proxmox de 6.4 a 7.2

n40k1

Hola, me han surgido una serie de problemas al actualizar Proxmox entre las versiones mencionadas. En principio es lo que enseño a continuación más otras movidas más que he conseguido solucionar. He dado ya un gritón de vueltas y no sé si del estrés de la situación o que pero me siento bloqueado.

Los Proxmox son del trabajo, 4 de PRE y 4 de PRO. El tema está en que he seguido el mismo p*to procedimiento las 8 veces y hay 2 de PRE y 3 de PRO bien actualizados.

Tras hacer apt update y apt upgrade con los repos de Bullseye me encuentro esto:

root@preproxmox3:/# apt upgrade -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 python3 : PreDepends: python3-minimal (= 3.7.3-1) but 3.9.2-3 is installed
           Depends: python3.7 (>= 3.7.3-1~) but it is not installed
           Depends: libpython3-stdlib (= 3.7.3-1) but 3.9.2-3 is installed
 python3-cephfs : Depends: python3 (>= 3.9~) but 3.7.3-1 is installed
 python3-ldb : Depends: python3 (>= 3.9~) but 3.7.3-1 is installed
 python3-rados : Depends: python3 (>= 3.9~) but 3.7.3-1 is installed
 python3-rbd : Depends: python3 (>= 3.9~) but 3.7.3-1 is installed
 python3-rgw : Depends: python3 (>= 3.9~) but 3.7.3-1 is installed
 python3-talloc : Depends: python3 (>= 3.9~) but 3.7.3-1 is installed
 python3-zmq : Depends: python3 (>= 3.9~) but 3.7.3-1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Si hago apt --fix-broken install me encuentro esto otro:

root@preproxmox3:/# apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  bsdmainutils dctrl-tools distro-info-data libldb2 libleveldb1d libnorm1 libnvpair3linux liboath0 libpgm-5.2-0 libpython3.9 libqrencode4 librabbitmq4 librdkafka1 librgw2 libsodium23 libuutil3linux libzfs4linux libzmq5 libzpool4linux proxmox-archive-keyring proxmox-backup-client
  proxmox-backup-file-restore proxmox-backup-restore-image pve-kernel-5.4.106-1-pve pve-kernel-5.4.73-1-pve pve-kernel-5.4.78-2-pve pve-kernel-5.4.98-1-pve qrencode
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  apt-listchanges ceph-common ceph-fuse cifs-utils glusterfs-client glusterfs-common ifupdown2 libpve-guest-common-perl libpve-storage-perl libsmbclient lsb-release lxc-pve proxmox-ve pve-container pve-ha-manager pve-manager pve-qemu-kvm python-cephfs python3 python3-apt
  python3-ceph-argparse python3-ceph-common python3-cephfs python3-certifi python3-chardet python3-contextvars python3-croniter python3-dateutil python3-debconf python3-debian python3-debianbts python3-distro python3-httplib2 python3-idna python3-immutables python3-jinja2
  python3-jwt python3-ldb python3-markupsafe python3-msgpack python3-natsort python3-pkg-resources python3-prettytable python3-psutil python3-pycryptodome python3-pycurl python3-pysimplesoap python3-rados python3-rbd python3-reportbug python3-requests python3-rgw python3-six
  python3-systemd python3-talloc python3-tz python3-tzlocal python3-urllib3 python3-yaml python3-zmq qemu-server reportbug salt-common salt-minion samba-libs smbclient spiceterm xfsprogs zfs-initramfs zfs-zed zfsutils-linux
0 upgraded, 0 newly installed, 71 to remove and 0 not upgraded.
12 not fully installed or removed.
After this operation, 510 MB disk space will be freed.
Do you want to continue? [Y/n] Y
W: (pve-apt-hook) !! WARNING !!
W: (pve-apt-hook) You are attempting to remove the meta-package 'proxmox-ve'!
W: (pve-apt-hook)
W: (pve-apt-hook) If you really want to permanently remove 'proxmox-ve' from your system, run the following command
W: (pve-apt-hook)       touch '/please-remove-proxmox-ve'
W: (pve-apt-hook) run apt purge proxmox-ve to remove the meta-package
W: (pve-apt-hook) and repeat your apt invocation.
W: (pve-apt-hook)
W: (pve-apt-hook) If you are unsure why 'proxmox-ve' would be removed, please verify
W: (pve-apt-hook)       - your APT repository settings
W: (pve-apt-hook)       - that you are using 'apt full-upgrade' to upgrade your system
E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (1)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook

Sobre Python y su paquetería, todos los nodos en /usr/bin tienen esto:

lrwxrwxrwx 1 root root            9 Jul 28  2021  python2 -> python2.7
-rwxr-xr-x 1 root root      3602816 Jul 14  2021  python2.7
lrwxrwxrwx 1 root root            9 Apr  5  2021  python3 -> python3.9
-rwxr-xr-x 2 root root      4877888 Jan 22  2021  python3.7
-rwxr-xr-x 2 root root      4877888 Jan 22  2021  python3.7m
-rwxr-xr-x 1 root root      5479736 Feb 28  2021  python3.9

pveversion y dpkg -l proxmox-ve en un nodo bien actualizado:

root@preproxmox1:~# dpkg -l proxmox-ve
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  proxmox-ve     7.2-1        all          Proxmox Virtual Environment
root@preproxmox1:~# pveversion
pve-manager/7.2-3/c743d6c1 (running kernel: 5.4.157-1-pve)

pveversion y dpkg -l proxmox-ve en un nodo mal actualizado:

root@preproxmox3:~# dpkg -l proxmox-ve
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  proxmox-ve     7.2-1        all          Proxmox Virtual Environment
root@preproxmox3:~# pveversion
pve-manager/6.4-14/15e2bf61 (running kernel: 5.15.35-1-pve)

Los repos:

/etc/apt/sources.list.d/pve-enterprise.list
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription

/etc/apt/sources.list.d/pve-enterprise.list.dpkg-dist
deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise

/etc/apt/sources.list
deb http://ftp.es.debian.org/debian bullseye main contrib
deb http://ftp.es.debian.org/debian bullseye-updates main contrib
deb http://security.debian.org bullseye-security main contrib

/etc/apt/sources.list.d/ceph.list
deb http://download.proxmox.com/debian/ceph-octopus bullseye main

En fin, seguro que me dejo algo por poner pero es que estoy ya saturated con este asunto. Si alguien puede arrojarme un poco de luz (o un machetazo) se lo agradeceré eternamente.

Saludos.

doogie780

Si haces un apt dist-upgrade qué te sale?

1 respuesta
n40k1

apt install --reinstall proxmox-ve

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 ceph-common : Depends: python3-cephfs (= 15.2.16-pve1) but 14.2.21-1 is to be installed
 python3 : PreDepends: python3-minimal (= 3.7.3-1) but 3.9.2-3 is to be installed
           Depends: python3.7 (>= 3.7.3-1~) but it is not installable
           Depends: libpython3-stdlib (= 3.7.3-1) but 3.9.2-3 is to be installed
 python3-cephfs : Depends: libcephfs2 (= 14.2.21-1) but 15.2.16-pve1 is to be installed
                  Depends: python3-ceph-argparse (= 14.2.21-1) but 15.2.16-pve1 is to be installed
                  Depends: python3-rados (= 14.2.21-1) but 15.2.16-pve1 is to be installed
                  Depends: python3 (>= 3.9~) but 3.7.3-1 is to be installed
 python3-ldb : Depends: python3 (>= 3.9~) but 3.7.3-1 is to be installed
 python3-rados : Depends: python3 (>= 3.9~) but 3.7.3-1 is to be installed
 python3-rbd : Depends: python3 (>= 3.9~) but 3.7.3-1 is to be installed
 python3-rgw : Depends: python3 (>= 3.9~) but 3.7.3-1 is to be installed
 python3-talloc : Depends: python3 (>= 3.9~) but 3.7.3-1 is to be installed
 python3-zmq : Depends: python3 (>= 3.9~) but 3.7.3-1 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

#2 apt dist-upgrade

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 ceph-common : Depends: python3-cephfs (= 15.2.16-pve1) but 14.2.21-1 is installed
 python3 : PreDepends: python3-minimal (= 3.7.3-1) but 3.9.2-3 is installed
           Depends: python3.7 (>= 3.7.3-1~) but it is not installable
           Depends: libpython3-stdlib (= 3.7.3-1) but 3.9.2-3 is installed
 python3-cephfs : Depends: libcephfs2 (= 14.2.21-1) but 15.2.16-pve1 is installed
                  Depends: python3-ceph-argparse (= 14.2.21-1) but 15.2.16-pve1 is installed
                  Depends: python3-rados (= 14.2.21-1) but 15.2.16-pve1 is installed
                  Depends: python3 (>= 3.9~) but 3.7.3-1 is installed
 python3-ldb : Depends: python3 (>= 3.9~) but 3.7.3-1 is installed
 python3-rados : Depends: python3 (>= 3.9~) but 3.7.3-1 is installed
 python3-rbd : Depends: python3 (>= 3.9~) but 3.7.3-1 is installed
 python3-rgw : Depends: python3 (>= 3.9~) but 3.7.3-1 is installed
 python3-talloc : Depends: python3 (>= 3.9~) but 3.7.3-1 is installed
 python3-zmq : Depends: python3 (>= 3.9~) but 3.7.3-1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

apt-get -f install

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  bsdmainutils dctrl-tools libleveldb1d libnorm1 liboath0 libpgm-5.2-0 libqrencode4 librabbitmq4 librdkafka1 librgw2 libsodium23 libzmq5
  proxmox-archive-keyring proxmox-backup-client proxmox-backup-file-restore proxmox-backup-restore-image pve-kernel-5.4.106-1-pve
  pve-kernel-5.4.73-1-pve pve-kernel-5.4.78-2-pve pve-kernel-5.4.98-1-pve python3-ceph-argparse python3-cephfs python3-croniter python3-dateutil
  python3-distro python3-jinja2 python3-markupsafe python3-msgpack python3-natsort python3-psutil python3-pycryptodome python3-rados python3-rbd
  python3-rgw python3-systemd python3-tz python3-tzlocal python3-zmq qrencode
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  libanyevent-perl libapt-pkg-perl libauthen-pam-perl libbrotli1 libcairo-gobject-perl libcairo-perl libclone-perl libcommon-sense-perl
  libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcrypt-ssleay-perl libcurl3-gnutls libdigest-sha-perl
  libdpkg-perl libextutils-depends-perl libextutils-pkgconfig-perl libfilesys-df-perl libgirepository-1.0-1 libglib-object-introspection-perl
  libglib-perl libglib2.0-0 libhtml-parser-perl libip4tc2 libjson-xs-perl liblinux-inotify2-perl liblocale-gettext-perl libnet-cups-perl
  libnet-dbus-perl libnet-ssleay-perl libnss-systemd libpam-systemd libperl5.32 libproc-processtable-perl libpve-u2f-server-perl librados2-perl
  librrds-perl libsystemd0 libtemplate-perl libterm-readline-gnu-perl libtext-charwidth-perl libtext-iconv-perl libudev-dev libudev1 libuuid-perl
  libxml-libxml-perl libxml-parser-perl libyaml-libyaml-perl perl perl-base perl-modules-5.32 pkg-config pve-cluster python3 python3-apt
  python3-cephfs python3-markupsafe python3-msgpack python3-psutil python3-pycryptodome python3-pycurl python3-systemd systemd udev
Suggested packages:
  libev-perl libevent-perl libio-async-perl libpoe-perl libtask-weaken-perl libfont-freetype-perl debian-keyring gcc | c-compiler binutils bzr
  libdata-dump-perl iwatch cups-common libtemplate-plugin-gd-perl libtemplate-plugin-xml-perl perl-doc make libtap-harness-archive-perl dpkg-dev
  python3-doc python3-tk python3-venv python3-apt-dbg python-apt-doc python-psutil-doc libcurl4-gnutls-dev python-pycurl-doc python3-pycurl-dbg
  systemd-container policykit-1
Recommended packages:
  libasync-interrupt-perl libev-perl | libevent-perl libguard-perl libfile-fcntllock-perl libglib2.0-data xdg-user-dirs systemd-timesyncd
  | time-daemon
The following packages will be REMOVED:
  ceph-common libpve-guest-common-perl libpve-storage-perl proxmox-ve pve-container pve-ha-manager pve-manager pve-qemu-kvm python-cephfs
  python3-ceph-common python3-contextvars python3-immutables python3-yaml qemu-server salt-common salt-minion spiceterm
The following NEW packages will be installed:
  libbrotli1 libdpkg-perl libextutils-depends-perl libextutils-pkgconfig-perl libip4tc2 libperl5.32 perl-modules-5.32 pkg-config
The following packages will be upgraded:
  libanyevent-perl libapt-pkg-perl libauthen-pam-perl libcairo-gobject-perl libcairo-perl libclone-perl libcommon-sense-perl
  libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcrypt-ssleay-perl libcurl3-gnutls libdigest-sha-perl
  libfilesys-df-perl libgirepository-1.0-1 libglib-object-introspection-perl libglib-perl libglib2.0-0 libhtml-parser-perl libjson-xs-perl
  liblinux-inotify2-perl liblocale-gettext-perl libnet-cups-perl libnet-dbus-perl libnet-ssleay-perl libnss-systemd libpam-systemd
  libproc-processtable-perl libpve-u2f-server-perl librados2-perl librrds-perl libsystemd0 libtemplate-perl libterm-readline-gnu-perl
  libtext-charwidth-perl libtext-iconv-perl libudev-dev libudev1 libuuid-perl libxml-libxml-perl libxml-parser-perl libyaml-libyaml-perl perl
  perl-base pve-cluster python3 python3-apt python3-cephfs python3-markupsafe python3-msgpack python3-psutil python3-pycryptodome python3-pycurl
  python3-systemd systemd udev
56 upgraded, 8 newly installed, 17 to remove and 105 not upgraded.
12 not fully installed or removed.
Need to get 34.0 MB of archives.
After this operation, 328 MB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://download.proxmox.com/debian/ceph-octopus bullseye/main amd64 python3-cephfs amd64 15.2.16-pve1 [127 kB]
Get:2 http://ftp.es.debian.org/debian bullseye/main amd64 libip4tc2 amd64 1.8.7-1 [34.6 kB]
Get:3 http://download.proxmox.com/debian/pve bullseye/pve-no-subscription amd64 pve-cluster amd64 7.2-1 [115 kB]
Get:4 http://download.proxmox.com/debian/pve bullseye/pve-no-subscription amd64 librados2-perl amd64 1.2-1 [8,916 B]
Get:5 http://download.proxmox.com/debian/pve bullseye/pve-no-subscription amd64 libpve-u2f-server-perl amd64 1.1-2 [7,492 B]
Get:6 http://ftp.es.debian.org/debian bullseye/main amd64 libudev-dev amd64 247.3-7 [123 kB]
Get:7 http://ftp.es.debian.org/debian bullseye/main amd64 libsystemd0 amd64 247.3-7 [376 kB]
Get:8 http://ftp.es.debian.org/debian bullseye/main amd64 libnss-systemd amd64 247.3-7 [198 kB]
Get:9 http://ftp.es.debian.org/debian bullseye/main amd64 libpam-systemd amd64 247.3-7 [283 kB]
Get:10 http://ftp.es.debian.org/debian bullseye/main amd64 udev amd64 247.3-7 [1,464 kB]
Get:11 http://ftp.es.debian.org/debian bullseye/main amd64 systemd amd64 247.3-7 [4,500 kB]
Get:12 http://ftp.es.debian.org/debian bullseye/main amd64 libudev1 amd64 247.3-7 [168 kB]
Get:13 http://ftp.es.debian.org/debian bullseye/main amd64 python3-systemd amd64 234-3+b4 [36.4 kB]
Get:14 http://ftp.es.debian.org/debian bullseye/main amd64 libbrotli1 amd64 1.0.9-2+b2 [279 kB]
Get:15 http://ftp.es.debian.org/debian bullseye/main amd64 libcurl3-gnutls amd64 7.74.0-1.3+deb11u1 [338 kB]
Get:16 http://ftp.es.debian.org/debian bullseye/main amd64 python3-pycurl amd64 7.43.0.6-5 [68.8 kB]
Get:17 http://ftp.es.debian.org/debian bullseye/main amd64 python3-pycryptodome amd64 3.9.7+dfsg1-1+b2 [9,910 kB]
Get:18 http://ftp.es.debian.org/debian bullseye/main amd64 python3-psutil amd64 5.8.0-1 [184 kB]
Get:19 http://ftp.es.debian.org/debian bullseye/main amd64 python3-msgpack amd64 1.0.0-6+b1 [69.2 kB]
Get:20 http://ftp.es.debian.org/debian bullseye/main amd64 python3-markupsafe amd64 1.1.1-1+b3 [15.2 kB]
Get:21 http://ftp.es.debian.org/debian bullseye/main amd64 python3-apt amd64 2.2.1 [190 kB]
Get:22 http://ftp.es.debian.org/debian bullseye/main amd64 python3 amd64 3.9.2-3 [37.9 kB]
Get:23 http://ftp.es.debian.org/debian bullseye/main amd64 libanyevent-perl amd64 7.170-2+b1 [399 kB]
Get:24 http://ftp.es.debian.org/debian bullseye/main amd64 libyaml-libyaml-perl amd64 0.82+repack-1+b1 [35.8 kB]
Get:25 http://ftp.es.debian.org/debian bullseye/main amd64 libxml-parser-perl amd64 2.46-2 [206 kB]
Get:26 http://ftp.es.debian.org/debian bullseye/main amd64 libxml-libxml-perl amd64 2.0134+dfsg-2+b1 [337 kB]
Get:27 http://ftp.es.debian.org/debian bullseye/main amd64 libuuid-perl amd64 0.28-1+b2 [19.0 kB]
Get:28 http://ftp.es.debian.org/debian bullseye/main amd64 libterm-readline-gnu-perl amd64 1.37-1 [103 kB]
Get:29 http://ftp.es.debian.org/debian bullseye/main amd64 librrds-perl amd64 1.7.2-3+b7 [127 kB]
Get:30 http://ftp.es.debian.org/debian bullseye/main amd64 libproc-processtable-perl amd64 0.59-2+b1 [45.9 kB]
Get:31 http://ftp.es.debian.org/debian bullseye/main amd64 libextutils-depends-perl all 0.8000-1 [18.9 kB]
Get:32 http://ftp.es.debian.org/debian bullseye/main amd64 libdpkg-perl all 1.20.9 [1,537 kB]
Get:33 http://ftp.es.debian.org/debian bullseye/main amd64 pkg-config amd64 0.29.2-1 [65.1 kB]
Get:34 http://ftp.es.debian.org/debian bullseye/main amd64 libextutils-pkgconfig-perl all 1.16-1.1 [10.9 kB]
Get:35 http://ftp.es.debian.org/debian bullseye/main amd64 libglib-perl amd64 3:1.329.3-1+b1 [350 kB]
Get:36 http://ftp.es.debian.org/debian bullseye/main amd64 libglib-object-introspection-perl amd64 0.049-1+b1 [68.9 kB]
Get:37 http://ftp.es.debian.org/debian bullseye/main amd64 libgirepository-1.0-1 amd64 1.66.1-1+b1 [96.7 kB]
Get:38 http://ftp.es.debian.org/debian bullseye/main amd64 libglib2.0-0 amd64 2.66.8-1 [1,370 kB]
Get:39 http://ftp.es.debian.org/debian bullseye/main amd64 libcommon-sense-perl amd64 3.75-1+b4 [24.6 kB]
Get:40 http://ftp.es.debian.org/debian bullseye/main amd64 libapt-pkg-perl amd64 0.1.39 [72.1 kB]
Get:41 http://ftp.es.debian.org/debian bullseye/main amd64 libtext-iconv-perl amd64 1.7-7+b1 [16.1 kB]
Get:42 http://ftp.es.debian.org/debian bullseye/main amd64 libtext-charwidth-perl amd64 0.04-10+b1 [10.6 kB]
Get:43 http://ftp.es.debian.org/debian bullseye/main amd64 libtemplate-perl amd64 2.27-1+b3 [565 kB]
Get:44 http://ftp.es.debian.org/debian bullseye/main amd64 libnet-ssleay-perl amd64 1.88-3+b1 [321 kB]
Get:45 http://ftp.es.debian.org/debian bullseye/main amd64 libnet-dbus-perl amd64 1.2.0-1+b1 [182 kB]
Get:46 http://ftp.es.debian.org/debian bullseye/main amd64 libnet-cups-perl amd64 0.64-1+b3 [52.4 kB]
Get:47 http://ftp.es.debian.org/debian bullseye/main amd64 perl-modules-5.32 all 5.32.1-4+deb11u2 [2,823 kB]
Get:48 http://ftp.es.debian.org/debian bullseye/main amd64 libperl5.32 amd64 5.32.1-4+deb11u2 [4,106 kB]
Get:49 http://ftp.es.debian.org/debian bullseye/main amd64 perl amd64 5.32.1-4+deb11u2 [293 kB]
Get:50 http://ftp.es.debian.org/debian bullseye/main amd64 perl-base amd64 5.32.1-4+deb11u2 [1,628 kB]
Get:51 http://ftp.es.debian.org/debian bullseye/main amd64 liblocale-gettext-perl amd64 1.07-4+b1 [19.0 kB]
Get:52 http://ftp.es.debian.org/debian bullseye/main amd64 liblinux-inotify2-perl amd64 1:2.2-2+b1 [20.5 kB]
Get:53 http://ftp.es.debian.org/debian bullseye/main amd64 libjson-xs-perl amd64 4.030-1+b1 [94.9 kB]
Get:54 http://ftp.es.debian.org/debian bullseye/main amd64 libhtml-parser-perl amd64 3.75-1+b1 [105 kB]
Get:55 http://ftp.es.debian.org/debian bullseye/main amd64 libfilesys-df-perl amd64 0.92-6+b6 [12.6 kB]
Get:56 http://ftp.es.debian.org/debian bullseye/main amd64 libdigest-sha-perl amd64 6.02-1+b3 [57.0 kB]
Get:57 http://ftp.es.debian.org/debian bullseye/main amd64 libcrypt-ssleay-perl amd64 0.73.06-1+b3 [58.4 kB]
Get:58 http://ftp.es.debian.org/debian bullseye/main amd64 libcrypt-openssl-rsa-perl amd64 0.31-1+b3 [26.1 kB]
Get:59 http://ftp.es.debian.org/debian bullseye/main amd64 libcrypt-openssl-random-perl amd64 0.15-2+b1 [11.4 kB]
Get:60 http://ftp.es.debian.org/debian bullseye/main amd64 libcrypt-openssl-bignum-perl amd64 0.09-1+b3 [25.9 kB]
Get:61 http://ftp.es.debian.org/debian bullseye/main amd64 libclone-perl amd64 0.45-1+b1 [15.4 kB]
Get:62 http://ftp.es.debian.org/debian bullseye/main amd64 libcairo-perl amd64 1.109-1 [100 kB]
Get:63 http://ftp.es.debian.org/debian bullseye/main amd64 libcairo-gobject-perl amd64 1.005-2+b2 [12.3 kB]
Get:64 http://ftp.es.debian.org/debian bullseye/main amd64 libauthen-pam-perl amd64 0.16-3+b8 [27.5 kB]
Fetched 34.0 MB in 5s (6,747 kB/s)
W: (pve-apt-hook) !! WARNING !!
W: (pve-apt-hook) You are attempting to remove the meta-package 'proxmox-ve'!
W: (pve-apt-hook)
W: (pve-apt-hook) If you really want to permanently remove 'proxmox-ve' from your system, run the following command
W: (pve-apt-hook)       touch '/please-remove-proxmox-ve'
W: (pve-apt-hook) run apt purge proxmox-ve to remove the meta-package
W: (pve-apt-hook) and repeat your apt invocation.
W: (pve-apt-hook)
W: (pve-apt-hook) If you are unsure why 'proxmox-ve' would be removed, please verify
W: (pve-apt-hook)       - your APT repository settings
W: (pve-apt-hook)       - that you are using 'apt full-upgrade' to upgrade your system
E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (1)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook
n40k1

Resulta que uno de los paquetes de Python que me da error (python-minimal) no está instalado en los nodos buenos pero si en los malos, y por supuesto si intento quitarlo, mierda pa'mi.

apt remove python-minimal

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 ceph-common : Depends: python3-cephfs (= 15.2.16-pve1) but 14.2.21-1 is to be installed
 python : PreDepends: python-minimal (= 2.7.16-1) but it is not going to be installed
 python3 : PreDepends: python3-minimal (= 3.7.3-1) but 3.9.2-3 is to be installed
           Depends: python3.7 (>= 3.7.3-1~) but it is not installable
           Depends: libpython3-stdlib (= 3.7.3-1) but 3.9.2-3 is to be installed
 python3-cephfs : Depends: libcephfs2 (= 14.2.21-1) but 15.2.16-pve1 is to be installed
                  Depends: python3-ceph-argparse (= 14.2.21-1) but 15.2.16-pve1 is to be installed
                  Depends: python3-rados (= 14.2.21-1) but 15.2.16-pve1 is to be installed
                  Depends: python3 (>= 3.9~) but 3.7.3-1 is to be installed
 python3-ldb : Depends: python3 (>= 3.9~) but 3.7.3-1 is to be installed
 python3-rados : Depends: python3 (>= 3.9~) but 3.7.3-1 is to be installed
 python3-rbd : Depends: python3 (>= 3.9~) but 3.7.3-1 is to be installed
 python3-rgw : Depends: python3 (>= 3.9~) but 3.7.3-1 is to be installed
 python3-talloc : Depends: python3 (>= 3.9~) but 3.7.3-1 is to be installed
 python3-zmq : Depends: python3 (>= 3.9~) but 3.7.3-1 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

apt purge python-minimal

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 ceph-common : Depends: python3-cephfs (= 15.2.16-pve1) but 14.2.21-1 is to be installed
 python : PreDepends: python-minimal (= 2.7.16-1) but it is not going to be installed
 python3 : PreDepends: python3-minimal (= 3.7.3-1) but 3.9.2-3 is to be installed
           Depends: python3.7 (>= 3.7.3-1~) but it is not installable
           Depends: libpython3-stdlib (= 3.7.3-1) but 3.9.2-3 is to be installed
 python3-cephfs : Depends: libcephfs2 (= 14.2.21-1) but 15.2.16-pve1 is to be installed
                  Depends: python3-ceph-argparse (= 14.2.21-1) but 15.2.16-pve1 is to be installed
                  Depends: python3-rados (= 14.2.21-1) but 15.2.16-pve1 is to be installed
                  Depends: python3 (>= 3.9~) but 3.7.3-1 is to be installed
 python3-ldb : Depends: python3 (>= 3.9~) but 3.7.3-1 is to be installed
 python3-rados : Depends: python3 (>= 3.9~) but 3.7.3-1 is to be installed
 python3-rbd : Depends: python3 (>= 3.9~) but 3.7.3-1 is to be installed
 python3-rgw : Depends: python3 (>= 3.9~) but 3.7.3-1 is to be installed
 python3-talloc : Depends: python3 (>= 3.9~) but 3.7.3-1 is to be installed
 python3-zmq : Depends: python3 (>= 3.9~) but 3.7.3-1 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
doogie780

Upgrade wants to remove package 'proxmox-ve'

If you have installed Proxmox VE on top of Debian Buster, you may have installed the package 'linux-image-amd64', which conflicts with current 6.x setups. To solve this, you have to remove this package with

apt remove linux-image-amd64

No sé si hay algún pre-requisito que te falte;

https://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0#Preconditions

y

https://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0#Known_upgrade_issues

(aunque fijo que ya lo has mirado y remirado)

1 respuesta
n40k1

#5 Sí, lo de apt remove linux-image-amd64 fue de las primeras cosas que ví y probé y nada.

Ya lo he solucionado en PRE (PRO hasta el martes no lo toco) gracias a @kurisichian (te como loh morroh). Después de darle a los repos y paquetes otras 300 vueltas más se ha solucionado "simplemente" con:

apt --fix-broken install
chmod u+x /usr/share/proxmox-ve/pve-apt-hook
apt update && apt upgrade -y

Muchas gracias a ti también @doogie780 ;)

2
doogie780

Me alegro, además lo tenemos para la posteridad. Qué bien funciona pve hasta que deja de hacerlo xd

Usuarios habituales

  • doogie780
  • n40k1

Tags