Package Base Details: linux-zen-versioned-bin

Git Clone URL: https://aur.archlinux.org/linux-zen-versioned-bin.git (read-only, click to copy)
Submitter: chrisjbillington
Maintainer: chrisjbillington
Last Packager: chrisjbillington
Votes: 3
Popularity: 0.000003
First Submitted: 2021-04-21 23:04 (UTC)
Last Updated: 2024-02-18 06:26 (UTC)

Pinned Comments

chrisjbillington commented on 2021-04-21 23:05 (UTC) (edited on 2022-04-10 02:41 (UTC) by chrisjbillington)

These packages allow you to have multiple versions of the zen kernel installed simultaneously. The intended use is to install the linux-zen-versioned-bin (and linux-zen-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 zen 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 the remove-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 the grub-hook package will ensure this is done automatically.

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

# Remove linux-zen, linux-zen-headers if installed:
$ pacman -Rs linux-zen [linux-zen-headers]
# If using GRUB, install grub-hook before installing kernels:
$ yay -S grub-hook
# Install the kernel metapackage, and headers metapackage if you use out-of-tree drivers:
$ yay -S linux-zen-versioned-bin [linux-zen-versioned-headers-bin]

This is also discussed here.

See also:

Latest Comments

chrisjbillington commented on 2023-05-02 13:06 (UTC)

@Flammkuchen thanks for the report.

For some reason the directory there is called 6.2.13-zen-1-zen instead of the usual convention 6.2.13-zen1-1-zen.

I see they changed it back in the next version that is already in [testing].

I'm just gonna leave it as the next one will hit [extra] in a few days and it looks like it was a mistake.

If you want to build this one specifically, you could patch the PKGBUILD thusly:

diff --git a/PKGBUILD b/PKGBUILD
index b7b8c76..ade8ad5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -79,7 +79,7 @@ package_linux6.2.13.zen1-1-zen-bin() {
             WIREGUARD-MODULE)
   tar -xf "${_kernpkg}" -C "${pkgdir}"
   rm "${pkgdir}"/{.MTREE,.BUILDINFO,.PKGINFO}
-  sed -ic "s/${_pkgname}/${_KERNNAME}/" "${pkgdir}/usr/lib/modules/${_KERNNAME}/pkgbase"
+  sed -ic "s/${_pkgname}/${_KERNNAME}/" "${pkgdir}/usr/lib/modules/6.2.13-zen-1-zen/pkgbase"
 }

 package_linux6.2.13.zen1-1-zen-headers-bin() {

Flammkuchen commented on 2023-05-02 12:47 (UTC)

The build fails on my machine with the following error:

  ==> Starting package_linux6.2.13.zen1-1-zen-bin()...
sed: can't read /home/user/.aur/linux-zen-versioned-bin/pkg/linux6.2.13.zen1-1-z

en-bin/usr/lib/modules/6.2.13-zen1-1-zen/pkgbase: No such file or directory

chrisjbillington commented on 2023-02-10 22:16 (UTC)

@artivision if there is a specific problem, please let me know.

artivision commented on 2023-02-10 22:15 (UTC)

You breaking my system, please fix your packages.

chrisjbillington commented on 2022-02-03 04:38 (UTC)

Hi @Caronte, I'm not seeing anything obviously wrong, the following works for me:

cd /tmp
git clone ssh://aur@aur.archlinux.org/linux-zen-versioned-bin.git
cd linux-zen-versioned-bin/
makepkg

And the latest update (it's automated) looks pretty normal to me. You're using an AUR helper?

Sounds like this bug in pamac:

https://gitlab.manjaro.org/applications/pamac/-/issues/1177#note_25517

Any additional info that might help resolve that bug would be appreciated there, but since makepkg is happy with this package, I don't think it is a problem with the package itself - though it would be nice if it worked with pamac.

Caronte commented on 2022-02-03 03:36 (UTC)

I'm trying to update but I get this error


Cloning linux-zen-versioned-bin build files...
Generating linux-zen-versioned-headers-bin information...
==> ERROR: PKGBUILD does not exist.
Error: Failed to prepare transaction: Failed to generate linux-zen-versioned-headers-bin information

chrisjbillington commented on 2021-04-21 23:05 (UTC) (edited on 2022-04-10 02:41 (UTC) by chrisjbillington)

These packages allow you to have multiple versions of the zen kernel installed simultaneously. The intended use is to install the linux-zen-versioned-bin (and linux-zen-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 zen 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 the remove-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 the grub-hook package will ensure this is done automatically.

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

# Remove linux-zen, linux-zen-headers if installed:
$ pacman -Rs linux-zen [linux-zen-headers]
# If using GRUB, install grub-hook before installing kernels:
$ yay -S grub-hook
# Install the kernel metapackage, and headers metapackage if you use out-of-tree drivers:
$ yay -S linux-zen-versioned-bin [linux-zen-versioned-headers-bin]

This is also discussed here.

See also: