@username227 yes, this package will always conflict with [core]/linux-lts
Whilst it's in principle possible to have this PKGBUILD retain the older kernels as separate packages that are marked as no longer conflicting once `[core]/linux-lts has updated, that's extra complexity and not much use case IMHO.
Pinned Comments
chrisjbillington commented on 2020-02-28 17:54 (UTC) (edited on 2022-04-10 02:41 (UTC) by chrisjbillington)
These packages allow you to have multiple versions of the Arch LTS kernel installed simultaneously. The intended use is to install the
linux-lts-versioned-bin
(andlinux-lts-versioned-headers-bin
if you use out-of-tree drivers) metapackage, using an AUR helper or otherwise in a way that automatically processes dependencies. This metapackage depends on the latest LTS versioned kernel package, but older kernel packages will remain on your system as orphaned packages to be removed later. You can find and remove them with theremove-orphaned-kernels
script, which will uninstall orphaned kernel packages except those corresponding to the kernel that is currently running. If you use GRUB, you will also need to ensure its config is updated after kernels are added or removed. Installing thegrub-hook
package will ensure this is done automatically.To switch from the regular Arch kernel package to these versioned packages, you can do the following (using the AUR helper
yay
for example):This is also discussed here.
See also:
linux-versioned-bin
linux-zen-versioned-bin
linux-hardened-versioned-bin