Applying latest update

Trying to apply latest update with result:

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing zfs-utils (2.2.0-2) breaks dependency 'zfs-utils=2.1.13' required by linux61-zfs
:: installing zfs-utils (2.2.0-2) breaks dependency 'zfs-utils=2.1.13' required by linux65-zfs

linux61-zfs and linux65-zfs has been dropped in the repo:

Also, zfs-utils in repo is already version 2.2.0-2.

One more: The [community] repository has been merged into [extra] and is now empty. So you might have not updated for a while or ignored pacnews.

2 Likes

I should mention I have ZFS on root, now:

ZPOOL_VDEV_NAME_PATH=1 pacman -Syu zfs-dkms
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (1) zfs-dkms-2.2.0-1

Total Installed Size:  18.38 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring                                                                                              [##########################################################################] 100%
(1/1) checking package integrity                                                                                            [##########################################################################] 100%
(1/1) loading package files                                                                                                 [##########################################################################] 100%
(1/1) checking for file conflicts                                                                                           [##########################################################################] 100%
(1/1) checking available disk space                                                                                         [##########################################################################] 100%
:: Processing package changes...
(1/1) installing zfs-dkms                                                                                                   [##########################################################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Install DKMS modules
==> ERROR: Missing dev kernel headers for module zfs/2.2.0.
==> ERROR: Missing root kernel headers for module zfs/2.2.0.
==> ERROR: Missing bin kernel headers for module zfs/2.2.0.
==> ERROR: Missing usr kernel headers for module zfs/2.2.0.
==> ERROR: Missing run kernel headers for module zfs/2.2.0.
==> ERROR: Missing srv kernel headers for module zfs/2.2.0.
==> ERROR: Missing home kernel headers for module zfs/2.2.0.
==> ERROR: Missing mnt kernel headers for module zfs/2.2.0.
==> ERROR: Missing efi kernel headers for module zfs/2.2.0.
==> ERROR: Missing boot kernel headers for module zfs/2.2.0.
==> ERROR: Missing sbin kernel headers for module zfs/2.2.0.
==> ERROR: Missing var kernel headers for module zfs/2.2.0.
==> ERROR: Missing lib64 kernel headers for module zfs/2.2.0.
==> ERROR: Missing lib kernel headers for module zfs/2.2.0.
==> ERROR: Missing etc kernel headers for module zfs/2.2.0.
==> ERROR: Missing opt kernel headers for module zfs/2.2.0.
==> ERROR: Missing sys kernel headers for module zfs/2.2.0.
==> ERROR: Missing tmp kernel headers for module zfs/2.2.0.
==> ERROR: Missing proc kernel headers for module zfs/2.2.0.

To use DKMS packages, you need to install kernel headers for every installed kernel.

1 Like

I would read the announcent as to first install linux61 and linux61-headers, then reboot into it and then run in your case:

sudo pacman -R linux61-zfs linux65-zfs && sudo pacman -Syu zfs-dkms
2 Likes

Thank you. One note, when first time I removed linux61-zfs && linux65.zfs I can not reboot because boot kernels have no zfs module anymore. I rerun

sudo pacman -S linux61 linux65

Which recompiled and run kernel hooks to include ZFS into boot kernels.

Problem solved! Though update takes significantly longer now due to zfs compilation.

Thank you for help!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.