Package Details: linux-versioned-docs-bin 5.8.11.arch1-1

Git Clone URL: https://aur.archlinux.org/linux-versioned-bin.git (read-only, click to copy)
Package Base: linux-versioned-bin
Description: Dummy package depending on linux5.8.11.arch1-1-docs-bin
Upstream URL: https://git.archlinux.org/linux.git/log/?h=v5.8.11-arch1
Licenses: GPL2
Submitter: chrisjbillington
Maintainer: chrisjbillington
Last Packager: chrisjbillington
Votes: 3
Popularity: 0.058713
First Submitted: 2020-02-19 21:45
Last Updated: 2020-09-27 07:16

Pinned Comments

chrisjbillington commented on 2020-02-28 17:48

These packages allow you to have multiple versions of the Arch kernel installed simultaneously. The intended use is to install the linux-versioned-bin (and linux-versioned-headers-bin if you use out-of-tree drivers) dummy package, using an AUR helper or otherwise in a way that automatically processes dependencies. This dummy package depends on the latest 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 the remove-orphaned-kernels script. If you use grub, you will also need to ensure its config is updated after kernels are added or removed. The grub-hook package will ensure this is done automatically whenever kernels are added or removed.

To switch from the regular Arch kernel package to these versioned packages, you can do the following (using the AUR helper yay for example):

# Remove linux, linux-headers if installed, and any out-of-tree drivers for the regular kernel:
$ pacman -Rs linux [linux-headers] [nvidia] [...]
# Install dkms versions of any out-of-tree drivers you need:
$ pacman -S [nvidia-dkms] [...]
# Install grub-hook (if using GRUB), the kernel dummy package, and headers dummy package if you use out-of-tree drivers:
$ yay -S [grub-hook] linux-versioned-bin [linux-versioned-headers-bin]

This is also discussed here.

There is also linux-lts-versioned-bin for the same thing but with the LTS kernel.

Latest Comments

chrisjbillington commented on 2020-08-27 23:45

Thanks @sileht, I failed to keep the package in sync with the repo linux PKGBUILD with respect to these changes. Perhaps I should redo how I update this PKGBUILD to make it be a patch on top of the repo linux's PKGBUILD.

Your changes are included in the latest update.

sileht commented on 2020-08-27 13:14

Just in case, a more digest format of my change:

commit 9ab0ff54039e70fbb241c961ba746d39be1e147b
Author: Mehdi Abaakouk <sileht@sileht.net>
Committer: Mehdi Abaakouk <sileht@sileht.net>
Date:   Thu Aug 27 00:52:44 2020 (14 hours ago)

    fix: add missing provides and replaces

diff --git a/PKGBUILD b/PKGBUILD
index f95b27d..f01d88a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -68,6 +68,8 @@ package_linux5.8.3.arch1-1-bin() {
   conflicts=("${_pkgname}")
   optdepends=('crda: to set the correct wireless channels of your country'
               'linux-firmware: firmware images needed for some devices')
+  provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
+  replaces=(virtualbox-guest-modules-arch wireguard-arch)
   tar -xf "${_kernpkg}" -C "${pkgdir}"
   rm "${pkgdir}"/{.MTREE,.BUILDINFO,.PKGINFO}
   sed -ic "s/${_pkgname}/${KERNNAME}/" "${pkgdir}/usr/lib/modules/${KERNNAME}/pkgbase"

sileht commented on 2020-08-23 20:49

Hi,

I got some issue with wireguard and this kernel package

Looks like this is missing from the kernelX.Y.Z.arch1.1-bin package:

  provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
  replaces=(virtualbox-guest-modules-arch wireguard-arch)

btw, thx for this kernel :)

chrisjbillington commented on 2020-02-28 17:48

These packages allow you to have multiple versions of the Arch kernel installed simultaneously. The intended use is to install the linux-versioned-bin (and linux-versioned-headers-bin if you use out-of-tree drivers) dummy package, using an AUR helper or otherwise in a way that automatically processes dependencies. This dummy package depends on the latest 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 the remove-orphaned-kernels script. If you use grub, you will also need to ensure its config is updated after kernels are added or removed. The grub-hook package will ensure this is done automatically whenever kernels are added or removed.

To switch from the regular Arch kernel package to these versioned packages, you can do the following (using the AUR helper yay for example):

# Remove linux, linux-headers if installed, and any out-of-tree drivers for the regular kernel:
$ pacman -Rs linux [linux-headers] [nvidia] [...]
# Install dkms versions of any out-of-tree drivers you need:
$ pacman -S [nvidia-dkms] [...]
# Install grub-hook (if using GRUB), the kernel dummy package, and headers dummy package if you use out-of-tree drivers:
$ yay -S [grub-hook] linux-versioned-bin [linux-versioned-headers-bin]

This is also discussed here.

There is also linux-lts-versioned-bin for the same thing but with the LTS kernel.