You are not logged in.

#1 2017-05-01 13:10:01

bazzawill
Member
Registered: 2016-05-03
Posts: 12

Dependency hell AUR requiring hard kernel version

So for quite some time I have dealt with a frustrating dependency problem with the zfs-linux-git and affiliated packages. These packages are built for a specific linux kernel and so have a hard linux kernel (and headers) version eg. the current version requires linux=4.10.11-1.
The problem I run into is when a new version of the kernel comes out a new version of zfs come out also. However pacman will not update linux due to it being incompatible with the installed version of zfs and I cannot upgrade zfs until I upgrade the kernel. My work around at the moment is pacman -Sydd linux linux-headers but this is probably not the best solution. So is there a better way?

Offline

#2 2017-05-01 13:30:19

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Dependency hell AUR requiring hard kernel version

Have you tried zfs-dkms / zfs-dkms-git ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2017-05-01 13:31:53

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,788
Website

Re: Dependency hell AUR requiring hard kernel version

Build the new zfs package(s) in a clean chroot.

https://wiki.archlinux.org/index.php/De … ean_Chroot


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2017-05-08 04:50:24

severach
Member
Registered: 2015-05-23
Posts: 192

Re: Dependency hell AUR requiring hard kernel version

I uninstall zfs,  upgrade linux, then reinstall zfs. I can do this because my boot drive is ext4. zfs is only on the data drive. I made scripts to fix the versions.

If you boot to zfs, try the dkms versions or add Demizer's repo.

Offline

#5 2017-09-07 01:39:05

timbeauhk
Member
Registered: 2014-03-31
Posts: 18

Re: Dependency hell AUR requiring hard kernel version

[EDIT] 

I exported the zpool via

zpool export <pool name>

then re-imported it.

zpool import

this worked.

I upgraded to zfs-dkms in an attempt to reduce the hell of kernel upgrades.

Lets see.


Hi,

Dumb question - if I uninstall zfs, will I lose my zfs config? I know pool info is on the drives, but not mount points etc.

Will zfs "sniff out" the config or do I need to back up and re-config after re-installation?

I too am in kernel hell. Zfs wants 4.12.8-2, but kernel is now 4.12.10-1

Thanks in advance

Last edited by timbeauhk (2017-09-07 13:00:45)

Offline

Board footer

Powered by FluxBB