Proxmox VE Upgrade from Web GUI

raVen1983

Member
Sep 9, 2020
8
0
6
42
I am trying to upgrade the Web GUI and I have the following error. What can I do to avoid damaging something?

"
...
55 upgraded, 4 newly installed, 3 to remove and 0 not upgraded.
Need to get 0 B/109 MB of archives.
After this operation, 75.2 MB of additional disk space will be used.
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

System not fully up to date (found 60 new packages)"


-----
root@c ~ # pveversion -v
proxmox-ve: 6.2-2 (running kernel: 5.4.65-1-pve)
pve-manager: 6.2-12 (running version: 6.2-12/b287dd27)
pve-kernel-5.4: 6.2-7
pve-kernel-helper: 6.2-7
pve-kernel-5.4.65-1-pve: 5.4.65-1
pve-kernel-5.4.60-1-pve: 5.4.60-2
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.4-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
libjs-extjs: 6.0.1-10
libknet1: 1.16-pve1
libproxmox-acme-perl: 1.0.5
libpve-access-control: 6.1-3
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.2-2
libpve-guest-common-perl: 3.1-3
libpve-http-server-perl: 3.0-6
libpve-storage-perl: 6.2-8
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.3-1
lxcfs: 4.0.3-pve3
novnc-pve: 1.1.0-1
proxmox-backup-client: 0.9.0-2
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.3-1
pve-cluster: 6.2-1
pve-container: 3.2-2
pve-docs: 6.2-6
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-3
pve-firmware: 3.1-3
pve-ha-manager: 3.1-1
pve-i18n: 2.2-1
pve-qemu-kvm: 5.1.0-3
pve-xtermjs: 4.7.0-2
qemu-server: 6.2-15
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-2
zfsutils-linux: 0.8.4-pve2
---

What's wrong here?

Thank you in advance!
 
please post the full command and output..
 
Code:
Starting system upgrade: apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  bridge-utils ceph-common ceph-fuse cifs-utils corosync criu cstream
  dconf-gsettings-backend dconf-service dtach ebtables faketime fontconfig
  fontconfig-config fonts-dejavu-core fonts-font-awesome fonts-glyphicons-halflings
  genisoimage glib-networking glib-networking-common glib-networking-services
  glusterfs-client glusterfs-common gsettings-desktop-schemas gstreamer1.0-libav
  gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-x i965-va-driver
  ibverbs-providers idn ifenslave intel-media-va-driver ipset iso-codes
  javascript-common libaa1 libaacs0 libacl1-dev libanyevent-http-perl
  libanyevent-perl libaom0 libappconfig-perl libapt-pkg-perl libarchive13
  libasound2 libasound2-data libass9 libasync-interrupt-perl libasyncns0
  libattr1-dev libauthen-pam-perl libavahi-client3 libavahi-common-data
  libavahi-common3 libavc1394-0 libavcodec58 libavfilter7 libavformat58 libavutil56
  libbabeltrace1 libbdplus0 libbluray2 libboost-atomic1.67.0
  libboost-program-options1.67.0 libboost-regex1.67.0 libboost-thread1.67.0
  libbs2b0 libc-dev-bin libc6-dev libcaca0 libcairo-gobject2 libcairo2
  libcdparanoia0 libcephfs2 libcfg7 libchromaprint1 libclone-perl libcmap4
  libcodec2-0.8.1 libcorosync-common4 libcpg4 libcroco3
  libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl
  libcrypt-openssl-rsa-perl libcrystalhd3 libcups2 libcurl3-gnutls libdatrie1
  libdbi1 libdconf1 libdevel-cycle-perl libdigest-bubblebabble-perl libdrm-amdgpu1
  libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libdv4 libdw1
  libev-perl libfaketime libfftw3-double3 libfile-chdir-perl
  libfile-readbackwards-perl libfilesys-df-perl libflac8 libflite1 libfontconfig1
  libfuse3-3 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-bin libgdk-pixbuf2.0-common
  libgfapi0 libgfchangelog0 libgfdb0 libgfrpc0 libgfxdr0 libgl1 libgl1-mesa-dri
  libglapi-mesa libglusterfs-dev libglusterfs0 libglvnd0 libglx-mesa0 libglx0
  libgme0 libgnutlsxx28 libgomp1 libgoogle-perftools4 libgpgme11 libgraphite2-3
  libgsm1 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libguard-perl
  libgudev-1.0-0 libharfbuzz0b libibverbs1 libice6 libiec61883-0 libigdgmm5
  libio-multiplex-perl libio-stringy-perl libipset11 libiscsi7 libjack-jackd2-0
  libjansson4 libjbig0 libjemalloc2 libjpeg62-turbo libjs-bootstrap libjs-extjs
  libjs-jquery libjs-sphinxdoc libjs-underscore libknet1 libldb1 liblilv-0-0
  liblinux-inotify2-perl libllvm7 libmime-base32-perl libmp3lame0 libmpg123-0
  libmysofa0 libnet-dbus-perl libnet-dns-perl libnet-dns-sec-perl libnet-ip-perl
  libnet1 libnetfilter-log1 libnl-3-200 libnl-route-3-200 libnorm1 libnspr4 libnss3
  libnvpair1linux libogg0 libopenjp2-7 libopenmpt0 libopus0 liborc-0.4-0
  libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpciaccess0 libpgm-5.2-0
  libpixman-1-0 libpostproc55 libprotobuf17 libproxmox-acme-perl
  libproxmox-backup-qemu0 libproxy1v5 libpulse0 libpve-access-control
  libpve-apiclient-perl libpve-cluster-api-perl libpve-cluster-perl
  libpve-common-perl libpve-guest-common-perl libpve-http-server-perl
  libpve-storage-perl libpve-u2f-server-perl libpython2.7 libpython3.7 libqb0
  libqrencode4 libquorum5 librados2 librados2-perl libradosstriper1 libraw1394-11
  librbd1 librdmacm1 librrd8 librrds-perl librsvg2-2 librsvg2-common librubberband2
  libsamplerate0 libsdl1.2debian libsensors-config libsensors5 libserd-0-0
  libshine3 libshout3 libsm6 libsmbclient libsnappy1v5 libsndfile1 libsodium23
  libsord-0-0 libsoup2.4-1 libsoxr0 libspeex1 libspice-server1 libsratom-0-0
  libssh-gcrypt-4 libstatgrab10 libstring-shellquote-perl libswresample3
  libswscale5 libtag1v5 libtag1v5-vanilla libtalloc2 libtcmalloc-minimal4 libtdb1
  libtemplate-perl libtevent0 libthai-data libthai0 libtheora0 libtie-ixhash-perl
  libtiff5 libtwolame0 libu2f-server0 libunwind8 liburcu6 libusbredirparser1
  libuuid-perl libuutil1linux libv4l-0 libv4lconvert0 libva-drm2 libva-x11-2 libva2
  libvdpau-va-gl1 libvdpau1 libvidstab1.1 libvisual-0.4-0 libvorbis0a libvorbisenc2
  libvorbisfile3 libvotequorum8 libvpx5 libwavpack1 libwbclient0 libwebp6
  libwebpmux3 libx11-6 libx11-data libx11-xcb1 libx264-155 libx265-165 libxau6
  libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-render0
  libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcb1 libxdamage1 libxdmcp6 libxext6
  libxfixes3 libxi6 libxml-libxml-perl libxml-twig-perl libxml-xpathengine-perl
  libxrender1 libxshmfence1 libxslt1.1 libxtst6 libxv1 libxvidcore4 libxxf86vm1
  libyaml-0-2 libyaml-libyaml-perl libzfs2linux libzmq5 libzpool2linux
  libzvbi-common libzvbi0 linux-image-4.19.0-9-amd64 linux-libc-dev lxc-pve lxcfs
  lzop manpages-dev mesa-va-drivers mesa-vdpau-drivers novnc-pve numactl
  proxmox-archive-keyring proxmox-backup-client proxmox-mini-journalreader
  proxmox-widget-toolkit pve-cluster pve-container pve-docs pve-edk2-firmware
  pve-firewall pve-ha-manager pve-i18n pve-kernel-helper pve-lxc-syscalld
  pve-manager pve-qemu-kvm pve-xtermjs python-asn1crypto python-cephfs
  python-certifi python-cffi-backend python-chardet python-configparser
  python-crypto python-cryptography python-enum34 python-future python-gpg
  python-idna python-ipaddr python-ipaddress python-ldb python-openssl
  python-pkg-resources python-prettytable python-protobuf python-rados python-rbd
  python-requests python-samba python-six python-talloc python-tdb python-urllib3
  python3-jwt python3-prettytable qemu-server qrencode rrdcached samba-common
  samba-common-bin samba-dsdb-modules samba-libs smartmontools smbclient socat
  spiceterm uidmap va-driver-all vdpau-driver-all vncterm x11-common xsltproc
  zfs-zed zfsutils-linux zstd
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  proxmox-ve pve-firmware pve-kernel-5.4
The following NEW packages will be installed:
  firmware-linux-free libyaml-0-2 libyaml-libyaml-perl linux-image-4.19.0-13-amd64
The following packages will be upgraded:
  apt apt-utils base-files krb5-locales libapt-inst2.0 libapt-pkg5.0 libcups2
  libefiboot1 libefivar1 libfreetype6 libgssapi-krb5-2 libjpeg62-turbo libk5crypto3
  libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common libnvpair1linux
  libpam-systemd libproxmox-acme-perl libproxmox-backup-qemu0 libproxy1v5
  libpve-apiclient-perl libpve-common-perl libpve-http-server-perl
  libpve-storage-perl libsqlite3-0 libssl1.1 libsystemd0 libudev1 libuutil1linux
  libxml2 libzfs2linux libzpool2linux linux-image-amd64 linux-libc-dev openssl
  proxmox-archive-keyring proxmox-backup-client proxmox-widget-toolkit
  pve-container pve-docs pve-i18n pve-kernel-helper pve-manager pve-qemu-kvm
  pve-xtermjs qemu-server sqlite3 systemd systemd-sysv tzdata udev zfs-zed
  zfsutils-linux
55 upgraded, 4 newly installed, 3 to remove and 0 not upgraded.
Need to get 0 B/109 MB of archives.
After this operation, 75.2 MB of additional disk space will be used.
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

System not fully up to date (found 60 new packages)

starting shell
dircolors: no SHELL environment variable, and no shell type option given
 
Last edited:
please remove any stock debian kernel packages (linux-image-.. linux-headers-...)
 
I use the upgrade button in the WEB GUI. Where can I do this? Thank you!

Code:
starting apt-get update
Hit:1 http://mirror.hetzner.de/debian/packages buster InRelease
Hit:2 http://mirror.hetzner.de/debian/security buster/updates InRelease
Hit:3 http://mirror.hetzner.de/debian/packages buster-updates InRelease
Hit:4 http://download.proxmox.com/debian/pve buster InRelease
Hit:5 http://deb.debian.org/debian buster InRelease
Hit:6 http://security.debian.org/debian-security buster/updates InRelease
Get:7 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Hit:8 https://enterprise.proxmox.com/debian/pve buster InRelease
Fetched 51.9 kB in 1s (47.0 kB/s)
Reading package lists...
TASK OK
 
you need to use the command line / shell..
 
I don't understand what it has to do (linux-image- .. linux-headers -...) with Upgrade from WEB GUI and this response: "You are attempting to remove the meta-package 'proxmox-ve'!"

If they are related, what are the commands with which I can solve the problem?
 
yes and no. a restart is only needed after you upgrade the kernel..