Hi all,
When i update one of my node i get this error.
I put the result of apt-get dist upgrade / apt-get update and apt --fix-broken install
Any ideas are welcome
Thanks
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:
pve-kernel-5.0.21-3-pve pve-kernel-5.0.21-4-pve pve-kernel-5.3.10-1-pve
pve-kernel-5.3.13-1-pve pve-kernel-5.3.13-3-pve pve-kernel-5.3.18-2-pve
pve-kernel-5.4.34-1-pve pve-kernel-5.4.60-1-pve
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
proxmox-archive-keyring
The following packages will be upgraded:
libfreetype6 libnvpair1linux libuutil1linux libx11-6 libx11-data libx11-xcb1
libzfs2linux libzpool2linux linux-libc-dev proxmox-ve pve-firmware
pve-kernel-5.4.65-1-pve spl zfs-initramfs zfs-zed zfsutils-linux
16 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
39 not fully installed or removed.
Need to get 380 kB/112 MB of archives.
After this operation, 294 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://security.debian.org buster/updates/main amd64 libfreetype6 amd64 2.9.1-3+deb10u2 [380 kB]
Fetched 380 kB in 0s (2865 kB/s)
Reading changelogs... Done
(Reading database ... 122479 files and directories currently installed.)
Preparing to unpack .../00-pve-firmware_3.1-3_all.deb ...
Unpacking pve-firmware (3.1-3) over (3.1-1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-azv3Zb/00-pve-firmware_3.1-3_all.deb (--unpack):
unable to open '/lib/firmware/vxge/X3fw-pxe.ncf.dpkg-new': Operation not permitted
Preparing to unpack .../01-pve-kernel-5.4.65-1-pve_5.4.65-1_amd64.deb ...
Unpacking pve-kernel-5.4.65-1-pve (5.4.65-1) over (5.4.65-1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-azv3Zb/01-pve-kernel-5.4.65-1-pve_5.4.65-1_amd64.deb (--unpack):
unable to open '/lib/modules/5.4.65-1-pve/zfs/zfs.ko.dpkg-new': Operation not permitted
Preparing to unpack .../02-libfreetype6_2.9.1-3+deb10u2_amd64.deb ...
Unpacking libfreetype6:amd64 (2.9.1-3+deb10u2) over (2.9.1-3+deb10u1) ...
Preparing to unpack .../03-libnvpair1linux_0.8.4-pve2_amd64.deb ...
Unpacking libnvpair1linux (0.8.4-pve2) over (0.8.4-pve1) ...
Preparing to unpack .../04-libuutil1linux_0.8.4-pve2_amd64.deb ...
Unpacking libuutil1linux (0.8.4-pve2) over (0.8.4-pve1) ...
Preparing to unpack .../05-libx11-data_2%3a1.6.7-1+deb10u1_all.deb ...
Unpacking libx11-data (2:1.6.7-1+deb10u1) over (2:1.6.7-1) ...
Preparing to unpack .../06-libx11-6_2%3a1.6.7-1+deb10u1_amd64.deb ...
Unpacking libx11-6:amd64 (2:1.6.7-1+deb10u1) over (2:1.6.7-1) ...
Preparing to unpack .../07-libx11-xcb1_2%3a1.6.7-1+deb10u1_amd64.deb ...
Unpacking libx11-xcb1:amd64 (2:1.6.7-1+deb10u1) over (2:1.6.7-1) ...
Preparing to unpack .../08-libzfs2linux_0.8.4-pve2_amd64.deb ...
Unpacking libzfs2linux (0.8.4-pve2) over (0.8.4-pve1) ...
Preparing to unpack .../09-libzpool2linux_0.8.4-pve2_amd64.deb ...
Unpacking libzpool2linux (0.8.4-pve2) over (0.8.4-pve1) ...
Preparing to unpack .../10-linux-libc-dev_4.19.152-1_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.19.152-1) over (4.19.132-1) ...
Selecting previously unselected package proxmox-archive-keyring.
Preparing to unpack .../11-proxmox-archive-keyring_1.0_all.deb ...
Unpacking proxmox-archive-keyring (1.0) ...
Preparing to unpack .../12-proxmox-ve_6.2-2_all.deb ...
Unpacking proxmox-ve (6.2-2) over (6.2-1) ...
Preparing to unpack .../13-spl_0.8.4-pve2_all.deb ...
Unpacking spl (0.8.4-pve2) over (0.8.4-pve1) ...
Preparing to unpack .../14-zfs-initramfs_0.8.4-pve2_all.deb ...
Unpacking zfs-initramfs (0.8.4-pve2) over (0.8.4-pve1) ...
Preparing to unpack .../15-zfsutils-linux_0.8.4-pve2_amd64.deb ...
Unpacking zfsutils-linux (0.8.4-pve2) over (0.8.4-pve1) ...
Preparing to unpack .../16-zfs-zed_0.8.4-pve2_amd64.deb ...
Unpacking zfs-zed (0.8.4-pve2) over (0.8.4-pve1) ...
Errors were encountered while processing:
/tmp/apt-dpkg-install-azv3Zb/00-pve-firmware_3.1-3_all.deb
/tmp/apt-dpkg-install-azv3Zb/01-pve-kernel-5.4.65-1-pve_5.4.65-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
System not fully up to date (found 1 new packages)
starting shell
-----------------------------------------------------------------------------------------------
apt-get update
Hit:1 http://ftp.be.debian.org/debian buster InRelease
Hit:2 http://security.debian.org buster/updates InRelease
Hit:3 http://ftp.be.debian.org/debian buster-updates InRelease
Hit:4 https://enterprise.proxmox.com/debian/pve buster InRelease
Err:4 https://enterprise.proxmox.com/debian/pve buster InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7BF2812E8A6E88E0
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://enterprise.proxmox.com/debian/pve buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7BF2812E8A6E88E0
W: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/buster/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7BF2812E8A6E88E0
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@PVESRV03:/# apt-get update
Hit:1 http://ftp.be.debian.org/debian buster InRelease
Hit:2 http://security.debian.org buster/updates InRelease
Hit:3 http://ftp.be.debian.org/debian buster-updates InRelease
Hit:4 https://enterprise.proxmox.com/debian/pve buster InRelease
Err:4 https://enterprise.proxmox.com/debian/pve buster InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7BF2812E8A6E88E0
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://enterprise.proxmox.com/debian/pve buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7BF2812E8A6E88E0
W: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/buster/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7BF2812E8A6E88E0
W: Some index files failed to download. They have been ignored, or old ones used instead.
-------------------------------------------------------------------------
apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
proxmox-archive-keyring pve-kernel-5.0.21-3-pve pve-kernel-5.0.21-4-pve
pve-kernel-5.3.10-1-pve pve-kernel-5.3.13-1-pve pve-kernel-5.3.13-3-pve
pve-kernel-5.3.18-2-pve pve-kernel-5.4.34-1-pve
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
proxmox-ve pve-kernel-5.4 pve-kernel-5.4.65-1-pve
0 upgraded, 0 newly installed, 3 to remove and 1 not upgraded.
54 not fully installed or removed.
After this operation, 34.8 kB 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
root@PVESRV03:/# apt install pve-kernel-5.4.65-1-pve
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
pve-kernel-5.0.21-3-pve pve-kernel-5.0.21-4-pve pve-kernel-5.3.10-1-pve
pve-kernel-5.3.13-1-pve pve-kernel-5.3.13-3-pve pve-kernel-5.3.18-2-pve
pve-kernel-5.4.34-1-pve pve-kernel-5.4.60-1-pve
Use 'apt autoremove' to remove them.
The following packages will be upgraded:
pve-kernel-5.4.65-1-pve
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
54 not fully installed or removed.
Need to get 0 B/60.3 MB of archives.
After this operation, 288 MB of additional disk space will be used.
Reading changelogs... Done
(Reading database ... 122482 files and directories currently installed.)
Preparing to unpack .../pve-kernel-5.4.65-1-pve_5.4.65-1_amd64.deb ...
Unpacking pve-kernel-5.4.65-1-pve (5.4.65-1) over (5.4.65-1) ...
dpkg: error processing archive /var/cache/apt/archives/pve-kernel-5.4.65-1-pve_5.4.65-1_amd64.deb (--unpack):
unable to open '/lib/modules/5.4.65-1-pve/zfs/zfs.ko.dpkg-new': Operation not permitted
Errors were encountered while processing:
/var/cache/apt/archives/pve-kernel-5.4.65-1-pve_5.4.65-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
When i update one of my node i get this error.
I put the result of apt-get dist upgrade / apt-get update and apt --fix-broken install
Any ideas are welcome
Thanks
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:
pve-kernel-5.0.21-3-pve pve-kernel-5.0.21-4-pve pve-kernel-5.3.10-1-pve
pve-kernel-5.3.13-1-pve pve-kernel-5.3.13-3-pve pve-kernel-5.3.18-2-pve
pve-kernel-5.4.34-1-pve pve-kernel-5.4.60-1-pve
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
proxmox-archive-keyring
The following packages will be upgraded:
libfreetype6 libnvpair1linux libuutil1linux libx11-6 libx11-data libx11-xcb1
libzfs2linux libzpool2linux linux-libc-dev proxmox-ve pve-firmware
pve-kernel-5.4.65-1-pve spl zfs-initramfs zfs-zed zfsutils-linux
16 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
39 not fully installed or removed.
Need to get 380 kB/112 MB of archives.
After this operation, 294 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://security.debian.org buster/updates/main amd64 libfreetype6 amd64 2.9.1-3+deb10u2 [380 kB]
Fetched 380 kB in 0s (2865 kB/s)
Reading changelogs... Done
(Reading database ... 122479 files and directories currently installed.)
Preparing to unpack .../00-pve-firmware_3.1-3_all.deb ...
Unpacking pve-firmware (3.1-3) over (3.1-1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-azv3Zb/00-pve-firmware_3.1-3_all.deb (--unpack):
unable to open '/lib/firmware/vxge/X3fw-pxe.ncf.dpkg-new': Operation not permitted
Preparing to unpack .../01-pve-kernel-5.4.65-1-pve_5.4.65-1_amd64.deb ...
Unpacking pve-kernel-5.4.65-1-pve (5.4.65-1) over (5.4.65-1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-azv3Zb/01-pve-kernel-5.4.65-1-pve_5.4.65-1_amd64.deb (--unpack):
unable to open '/lib/modules/5.4.65-1-pve/zfs/zfs.ko.dpkg-new': Operation not permitted
Preparing to unpack .../02-libfreetype6_2.9.1-3+deb10u2_amd64.deb ...
Unpacking libfreetype6:amd64 (2.9.1-3+deb10u2) over (2.9.1-3+deb10u1) ...
Preparing to unpack .../03-libnvpair1linux_0.8.4-pve2_amd64.deb ...
Unpacking libnvpair1linux (0.8.4-pve2) over (0.8.4-pve1) ...
Preparing to unpack .../04-libuutil1linux_0.8.4-pve2_amd64.deb ...
Unpacking libuutil1linux (0.8.4-pve2) over (0.8.4-pve1) ...
Preparing to unpack .../05-libx11-data_2%3a1.6.7-1+deb10u1_all.deb ...
Unpacking libx11-data (2:1.6.7-1+deb10u1) over (2:1.6.7-1) ...
Preparing to unpack .../06-libx11-6_2%3a1.6.7-1+deb10u1_amd64.deb ...
Unpacking libx11-6:amd64 (2:1.6.7-1+deb10u1) over (2:1.6.7-1) ...
Preparing to unpack .../07-libx11-xcb1_2%3a1.6.7-1+deb10u1_amd64.deb ...
Unpacking libx11-xcb1:amd64 (2:1.6.7-1+deb10u1) over (2:1.6.7-1) ...
Preparing to unpack .../08-libzfs2linux_0.8.4-pve2_amd64.deb ...
Unpacking libzfs2linux (0.8.4-pve2) over (0.8.4-pve1) ...
Preparing to unpack .../09-libzpool2linux_0.8.4-pve2_amd64.deb ...
Unpacking libzpool2linux (0.8.4-pve2) over (0.8.4-pve1) ...
Preparing to unpack .../10-linux-libc-dev_4.19.152-1_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.19.152-1) over (4.19.132-1) ...
Selecting previously unselected package proxmox-archive-keyring.
Preparing to unpack .../11-proxmox-archive-keyring_1.0_all.deb ...
Unpacking proxmox-archive-keyring (1.0) ...
Preparing to unpack .../12-proxmox-ve_6.2-2_all.deb ...
Unpacking proxmox-ve (6.2-2) over (6.2-1) ...
Preparing to unpack .../13-spl_0.8.4-pve2_all.deb ...
Unpacking spl (0.8.4-pve2) over (0.8.4-pve1) ...
Preparing to unpack .../14-zfs-initramfs_0.8.4-pve2_all.deb ...
Unpacking zfs-initramfs (0.8.4-pve2) over (0.8.4-pve1) ...
Preparing to unpack .../15-zfsutils-linux_0.8.4-pve2_amd64.deb ...
Unpacking zfsutils-linux (0.8.4-pve2) over (0.8.4-pve1) ...
Preparing to unpack .../16-zfs-zed_0.8.4-pve2_amd64.deb ...
Unpacking zfs-zed (0.8.4-pve2) over (0.8.4-pve1) ...
Errors were encountered while processing:
/tmp/apt-dpkg-install-azv3Zb/00-pve-firmware_3.1-3_all.deb
/tmp/apt-dpkg-install-azv3Zb/01-pve-kernel-5.4.65-1-pve_5.4.65-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
System not fully up to date (found 1 new packages)
starting shell
-----------------------------------------------------------------------------------------------
apt-get update
Hit:1 http://ftp.be.debian.org/debian buster InRelease
Hit:2 http://security.debian.org buster/updates InRelease
Hit:3 http://ftp.be.debian.org/debian buster-updates InRelease
Hit:4 https://enterprise.proxmox.com/debian/pve buster InRelease
Err:4 https://enterprise.proxmox.com/debian/pve buster InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7BF2812E8A6E88E0
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://enterprise.proxmox.com/debian/pve buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7BF2812E8A6E88E0
W: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/buster/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7BF2812E8A6E88E0
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@PVESRV03:/# apt-get update
Hit:1 http://ftp.be.debian.org/debian buster InRelease
Hit:2 http://security.debian.org buster/updates InRelease
Hit:3 http://ftp.be.debian.org/debian buster-updates InRelease
Hit:4 https://enterprise.proxmox.com/debian/pve buster InRelease
Err:4 https://enterprise.proxmox.com/debian/pve buster InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7BF2812E8A6E88E0
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://enterprise.proxmox.com/debian/pve buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7BF2812E8A6E88E0
W: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/buster/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7BF2812E8A6E88E0
W: Some index files failed to download. They have been ignored, or old ones used instead.
-------------------------------------------------------------------------
apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
proxmox-archive-keyring pve-kernel-5.0.21-3-pve pve-kernel-5.0.21-4-pve
pve-kernel-5.3.10-1-pve pve-kernel-5.3.13-1-pve pve-kernel-5.3.13-3-pve
pve-kernel-5.3.18-2-pve pve-kernel-5.4.34-1-pve
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
proxmox-ve pve-kernel-5.4 pve-kernel-5.4.65-1-pve
0 upgraded, 0 newly installed, 3 to remove and 1 not upgraded.
54 not fully installed or removed.
After this operation, 34.8 kB 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
root@PVESRV03:/# apt install pve-kernel-5.4.65-1-pve
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
pve-kernel-5.0.21-3-pve pve-kernel-5.0.21-4-pve pve-kernel-5.3.10-1-pve
pve-kernel-5.3.13-1-pve pve-kernel-5.3.13-3-pve pve-kernel-5.3.18-2-pve
pve-kernel-5.4.34-1-pve pve-kernel-5.4.60-1-pve
Use 'apt autoremove' to remove them.
The following packages will be upgraded:
pve-kernel-5.4.65-1-pve
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
54 not fully installed or removed.
Need to get 0 B/60.3 MB of archives.
After this operation, 288 MB of additional disk space will be used.
Reading changelogs... Done
(Reading database ... 122482 files and directories currently installed.)
Preparing to unpack .../pve-kernel-5.4.65-1-pve_5.4.65-1_amd64.deb ...
Unpacking pve-kernel-5.4.65-1-pve (5.4.65-1) over (5.4.65-1) ...
dpkg: error processing archive /var/cache/apt/archives/pve-kernel-5.4.65-1-pve_5.4.65-1_amd64.deb (--unpack):
unable to open '/lib/modules/5.4.65-1-pve/zfs/zfs.ko.dpkg-new': Operation not permitted
Errors were encountered while processing:
/var/cache/apt/archives/pve-kernel-5.4.65-1-pve_5.4.65-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)