[ParrotOS 5.0] Upgrade ZFS DKMS Issue

Hello

I re Open a topic for this issue:
I need help to fix a upgrade issue.

I got this error

Loading new zfs-2.0.3 DKMS files...
Building for 5.14.0-2parrot1-amd64 5.14.0-9parrot1-amd64
Building initial module for 5.14.0-2parrot1-amd64
configure: error:
  *** ZFS Version: zfs-2.0.3-9
  *** Compatible Kernels: 3.10 - 5.10

Error! Bad return status for module build on kernel: 5.14.0-2parrot1-amd64 (x86_64)
Consult /var/lib/dkms/zfs/2.0.3/build/make.log for more information.
dpkg: error processing package zfs-dkms (--configure):
 installed zfs-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of zfs-initramfs:
 zfs-initramfs depends on zfs-modules | zfs-dkms; however:
  Package zfs-modules is not installed.
  Package zfs-dkms which provides zfs-modules is not configured yet.
  Package zfs-dkms is not configured yet.
...

lsb_release =>

Distributor ID: Debian
Description: Parrot OS 5.0 (LTS)
Release: 5.0
Codename: bullseye

Linux Parrot47 5.14.0-2parrot1-amd64 #1 SMP Debian 5.14.6-2parrot1 (2021-09-25) x86_64 GNU/Linux

I tried this
github.com openzfs Issue

And this
openzfs.github.io openzfs-docs

But I got some dependencies error

Install needs =>

apt install build-essential autoconf automake libtool gawk alien fakeroot dkms libblkid-dev uuid-dev libudev-dev libssl-dev zlib1g-dev libaio-dev libattr1-dev libelf-dev linux-headers-generic python3 python3-dev python3-setuptools python3-cffi libffi-dev python3-packaging git libcurl4-openssl-dev

E: Unable to locate package alien
E: Package 'libblkid-dev' has no installation candidate
E: Package 'uuid-dev' has no installation candidate
E: Unable to locate package libudev-dev
E: Unable to locate package libaio-dev
E: Package 'libattr1-dev' has no installation candidate
E: Unable to locate package libelf-dev
E: Unable to locate package libcurl4-openssl-dev

I have the official ParrotOS source.list :confused:

Thanks for your help :wink:

Hi @Darmi

As the error shows, the zfs-dkms (2.0.3) supports up to kernel 5.10. Yet it appears zfs-dkms in the Parrot repository is 2.1.5-1parrot.

Have you already updated your system to use the newer zfs-dkms?

sudo parrot-upgrade

Hello,

hum
parrot-upgrade
sudo: parrot-upgrade: command not found
:confused:

I got the DKMS error whith a apt-get upgrade

I just noticed you are running an old version of Parrot (4.7). Did you want to upgrade to 5.1 to hopefully take care of this problem?

sudo apt install parrot-core
sudo apt update && sudo apt upgrade

Hello
It’s just the old Hostname
It’s a Parrot 5.0

Distributor ID: Debian
Description: Parrot OS 5.0 (LTS)
Release: 5.0
Codename: bullseye :wink:

Same error for DKMS :confused:

the downloaded version:
*** ZFS Version: zfs-2.0.3-9
*** Compatible Kernels: 3.10 - 5.10

seems to not be compatible with kernel 5.14.0
I need to go back with a old kernel
I got the 5.2.0 in /boot

Or I can try to download the Parrot 5.1 and copy my tool and files ?

Ah. LOL

How about trying

sudo apt full-upgrade

All I can think of is that there was a dependency issue in getting you from 4.7 to 5.1 to not allow the latest version of zfs-dkms.

Do you have the backports repo enabled in the parrot.list file? /etc/apt/sources.list.d/parrot.list

deb https://deb.parrot.sh/parrot parrot-backports main contrib non-free

I think sudo apt-get upgrade is not recommended as it can cause problems while sudo apt upgrade doesn’t (usually) cause problems.

Yes I got the repo:
deb Index of /parrot/ parrot-backports main contrib non-free

I Run
apt update (no error)
and
apt upgrade

thanks :wink:

OK

I got an espace disk Issue, and a kernel panic err on boot
Grub default is now => 5.18.2 :confused:

this update did’nt finalised as well

I restore a copy of this Parrot VmWare and retry :wink:

Continuing the discussion from [ParrotOS 5.0] Upgrade ZFS DKMS Issue:

i can’t type password & i can’t install Unetbootin