Upgrade 4.2 > 4.4 > 5.1 fails in ZFS Utils?

cpzengel

Renowned Member
Nov 12, 2015
218
24
83
Aschaffenburg, Germany
zfs.rocks
Its the secon machine i am upgrading this way
repo is no-subscripton, but i had similar also with


root@pve1:~# apt dist-upgrade

Reading package lists... Done

Building dependency tree

Reading state information... Done

You might want to run 'apt --fix-broken install' to correct these.

The following packages have unmet dependencies:

zfs-initramfs : Depends: zfsutils-linux (>= 0.7.6-pve1~bpo9) but it is not installed

E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

root@pve1:~#


root@pve1:~# apt --fix-broken install

Reading package lists... Done

Building dependency tree

Reading state information... Done

Correcting dependencies... Done

The following additional packages will be installed:

libnvpair1linux libuutil1linux libzfs2linux libzpool2linux zfs-zed zfsutils-linux

Suggested packages:

samba-common-bin

The following NEW packages will be installed:

libnvpair1linux libuutil1linux libzfs2linux libzpool2linux zfs-zed zfsutils-linux

0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.

1 not fully installed or removed.

Need to get 0 B/1,208 kB of archives.

After this operation, 4,274 kB of additional disk space will be used.

Do you want to continue? [Y/n]

(Reading database ... 60571 files and directories currently installed.)

Preparing to unpack .../0-libuutil1linux_0.7.6-pve1~bpo9_amd64.deb ...

Unpacking libuutil1linux (0.7.6-pve1~bpo9) ...

dpkg: error processing archive /tmp/apt-dpkg-install-SomDwe/0-libuutil1linux_0.7.6-pve1~bpo9_amd64.deb (--unpack):

trying to overwrite '/lib/libuutil.so.1.0.1', which is also in package libuutil1 0.6.5-pve9~jessie

Preparing to unpack .../1-libnvpair1linux_0.7.6-pve1~bpo9_amd64.deb ...

Unpacking libnvpair1linux (0.7.6-pve1~bpo9) ...

dpkg: error processing archive /tmp/apt-dpkg-install-SomDwe/1-libnvpair1linux_0.7.6-pve1~bpo9_amd64.deb (--unpack):

trying to overwrite '/lib/libnvpair.so.1.0.1', which is also in package libnvpair1 0.6.5-pve9~jessie

Preparing to unpack .../2-libzpool2linux_0.7.6-pve1~bpo9_amd64.deb ...

Unpacking libzpool2linux (0.7.6-pve1~bpo9) ...

dpkg: error processing archive /tmp/apt-dpkg-install-SomDwe/2-libzpool2linux_0.7.6-pve1~bpo9_amd64.deb (--unpack):

trying to overwrite '/lib/libzpool.so.2.0.0', which is also in package libzpool2 0.6.5-pve9~jessie

dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

Preparing to unpack .../3-libzfs2linux_0.7.6-pve1~bpo9_amd64.deb ...

Unpacking libzfs2linux (0.7.6-pve1~bpo9) ...

dpkg: error processing archive /tmp/apt-dpkg-install-SomDwe/3-libzfs2linux_0.7.6-pve1~bpo9_amd64.deb (--unpack):

trying to overwrite '/lib/libzfs.so.2.0.0', which is also in package libzfs2 0.6.5-pve9~jessie

dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

Preparing to unpack .../4-zfsutils-linux_0.7.6-pve1~bpo9_amd64.deb ...

Unpacking zfsutils-linux (0.7.6-pve1~bpo9) ...

dpkg: error processing archive /tmp/apt-dpkg-install-SomDwe/4-zfsutils-linux_0.7.6-pve1~bpo9_amd64.deb (--unpack):

trying to overwrite '/etc/default/zfs', which is also in package zfsutils 0.6.5-pve9~jessie

dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

Preparing to unpack .../5-zfs-zed_0.7.6-pve1~bpo9_amd64.deb ...

Unpacking zfs-zed (0.7.6-pve1~bpo9) ...

dpkg: error processing archive /tmp/apt-dpkg-install-SomDwe/5-zfs-zed_0.7.6-pve1~bpo9_amd64.deb (--unpack):

trying to overwrite '/etc/zfs/zed.d/zed-functions.sh', which is also in package zfsutils 0.6.5-pve9~jessie

Errors were encountered while processing:

/tmp/apt-dpkg-install-SomDwe/0-libuutil1linux_0.7.6-pve1~bpo9_amd64.deb

/tmp/apt-dpkg-install-SomDwe/1-libnvpair1linux_0.7.6-pve1~bpo9_amd64.deb

/tmp/apt-dpkg-install-SomDwe/2-libzpool2linux_0.7.6-pve1~bpo9_amd64.deb

/tmp/apt-dpkg-install-SomDwe/3-libzfs2linux_0.7.6-pve1~bpo9_amd64.deb

/tmp/apt-dpkg-install-SomDwe/4-zfsutils-linux_0.7.6-pve1~bpo9_amd64.deb

/tmp/apt-dpkg-install-SomDwe/5-zfs-zed_0.7.6-pve1~bpo9_amd64.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)






root@pve1:~# pveversion -v

proxmox-ve: 5.1-42 (running kernel: 4.13.13-6-pve)

pve-manager: 5.1-46 (running version: 5.1-46/ae8241d4)

pve-kernel-4.13: 5.1-42

pve-kernel-4.13.13-6-pve: 4.13.13-42

pve-kernel-4.4.6-1-pve: 4.4.6-48

corosync: 2.4.2-pve3

criu: 2.11.1-1~bpo90

glusterfs-client: 3.8.8-1

ksm-control-daemon: 1.2-2

libjs-extjs: 6.0.1-2

libpve-access-control: 5.0-8

libpve-common-perl: 5.0-28

libpve-guest-common-perl: 2.0-14

libpve-http-server-perl: 2.0-8

libpve-storage-perl: 5.0-17

libqb0: 1.0.1-1

lvm2: 2.02.168-pve6

lxc-pve: 2.1.1-3

lxcfs: 2.0.8-2

novnc-pve: 0.6-4

proxmox-widget-toolkit: 1.0-11

pve-cluster: 5.0-20

pve-container: 2.0-19

pve-docs: 5.1-16

pve-firewall: 3.0-5

pve-firmware: 2.0-4

pve-ha-manager: 2.0-5

pve-i18n: 1.0-4

pve-libspice-server1: 0.12.8-3

pve-qemu-kvm: 2.9.1-9

pve-xtermjs: 1.0-2

qemu-server: 5.0-22

smartmontools: 6.5+svn4324-1

spiceterm: 3.0-5

vncterm: 1.5-3​
 
you need to upgrade to the latest 4.4 packages before upgrading to PVE 5 (PVE 4 has transitional packages for the rename to *linux packages, but PVE 5 does not).
 
you need to upgrade to the latest 4.4 packages before upgrading to PVE 5 (PVE 4 has transitional packages for the rename to *linux packages, but PVE 5 does not).

thanks. i rolled back via zfs and retried
problem was that i used the v5 no-sup repo for the fist upgrade or something like that
second attempt worked fine
 

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!