I use the hardened kernel and zfs.
But the system wants to update the kernel or zfs which means removing the kernel or zfs as both are tied together and not the latest version.
How can i inform the system it’s ok the have an older kernel and/or zfs.
As the system presents to upgrade i.e. remove them which is unwise in my case.
In pamac i must always unflag …
You can add them in the /etc/pacman.conf file.
It should look something like:
HoldPkg = zfs-linux linux-hardened
EDIT: dalto’s answer Is better than my suggestion though.
I use the *zfs repos to solve this problem:
[archzfs]
Server = http://archzfs.com/$repo/x86_64
[archzfs-kernels]
Server = http://end.re/$repo/
If you put the archzfs repos as your first repos on your list, it has dependencies on specific kernel versions. That will prevent the kernels from getting updated before zfs.
Another option is to use zfs-dkms
instead of the pre-built module.
(ArchZFS repos are a good choice though.)
I tried the advice of dalto but it didn’t worked with pamac-tray for me.
Do I place these lines in pamac.conf or pacman.conf.
Do I place,
[archzfs]
Server = http://archzfs.com/$repo/x86_64
[archzfs-kernels]
Server = http://end.re/$repo
on top in the middle or at the bottem of the file.
Thanks. I had not run pacman -Suy and was focused on pamac-tray and confused by it.
Make sure you put them before your other repos in pacman.conf. Otherwise they just generate conflicts requiring pacman ninjitsu.
Why is this not a custom emoji?
After performing these changes i’ve got,
#pacman -Suy
:: Synchronizing package databases…
archzfs is up to date
archzfs-kernels is up to date
core is up to date
extra is up to date
community is up to date
multilib is up to date
endeavouros is up to date
:: Starting full system upgrade…
resolving dependencies…
looking for conflicting packages…
Packages (17) extra-cmake-modules-5.74.0-2 faudio-20.10-1 gcc-10.2.0-3 gcc-libs-10.2.0-3 gcc-objc-10.2.0-3 ghostscript-9.53.3-1 gtk-doc-1.33.0-1
lib32-faudio-20.10-1 lib32-gcc-libs-10.2.0-3 libupnp-1.14.0-1 linux-hardened-5.8.12.a-1 linux-hardened-headers-5.8.12.a-1
linux-headers-5.8.12.arch1-1 papirus-icon-theme-20201001-1 qt5-base-5.15.1-2 vlc-3.0.11.1-4 zfs-linux-hardened-0.8.4_5.8.12.a.1-1
Total Installed Size: 1045.01 MiB
Net Upgrade Size: 1.33 MiB
:: Proceed with installation? [Y/n] y
(17/17) checking keys in keyring [--------------------------------------------------------] 100%
downloading required keys…
:: Import PGP key 403BD972F75D9D76, “Unknown Packager”? [Y/n] y
error: key “403BD972F75D9D76” could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
Use a different keyserver, or use the keyserver-rank
tool.