惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

GbyAI
GbyAI
T
Tenable Blog
Webroot Blog
Webroot Blog
L
Lohrmann on Cybersecurity
S
Securelist
S
Schneier on Security
NISL@THU
NISL@THU
Know Your Adversary
Know Your Adversary
C
Cybersecurity and Infrastructure Security Agency CISA
T
The Exploit Database - CXSecurity.com
L
LINUX DO - 热门话题
C
CXSECURITY Database RSS Feed - CXSecurity.com
O
OpenAI News
I
Intezer
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
TaoSecurity Blog
TaoSecurity Blog
S
Secure Thoughts
Application and Cybersecurity Blog
Application and Cybersecurity Blog
P
Privacy International News Feed
H
Hacker News: Front Page
N
Netflix TechBlog - Medium
M
MIT News - Artificial intelligence
博客园 - Franky
PCI Perspectives
PCI Perspectives
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Microsoft Azure Blog
Microsoft Azure Blog
MongoDB | Blog
MongoDB | Blog
L
LangChain Blog
P
Proofpoint News Feed
S
Security Affairs
WordPress大学
WordPress大学
The Last Watchdog
The Last Watchdog
S
SegmentFault 最新的问题
小众软件
小众软件
F
Full Disclosure
博客园 - 叶小钗
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
T
The Blog of Author Tim Ferriss
Simon Willison's Weblog
Simon Willison's Weblog
P
Palo Alto Networks Blog
Security Latest
Security Latest
P
Proofpoint News Feed
月光博客
月光博客
T
Tailwind CSS Blog
Scott Helme
Scott Helme
Hacker News - Newest:
Hacker News - Newest: "LLM"
Google Online Security Blog
Google Online Security Blog
T
Threat Research - Cisco Blogs
Help Net Security
Help Net Security
Project Zero
Project Zero

AUR Newest Packages

AUR (en) - luna-translator AUR (en) - allium-tools AUR (en) - braincup-bin AUR (en) - todarchy-git AUR (en) - ioruba-desktop-bin AUR (en) - ioruba-desktop AUR (en) - synca-bin AUR (en) - deadsync-bin AUR (en) - deadsync AUR (en) - xcute AUR (en) - wallrift AUR (en) - smolvm-git AUR (en) - smolvm-bin AUR (en) - smolvm AUR (en) - uac-launch-control-bin AUR (en) - openclaw AUR (en) - keyviz-zh-bin AUR (en) - runex-bin AUR (en) - sing-box-ref1nd-beta-bin AUR (en) - netscan-tui AUR (en) - koharu-appimage AUR (en) - pulsedb AUR (en) - clashmi-bin AUR (en) - viper-py AUR (en) - netwatch-tui-bin AUR (en) - scran AUR (en) - snapdog-client AUR (en) - snapdog AUR (en) - opentubex AUR (en) - fafind-bin AUR (en) - smosummary AUR (en) - stremio-linux-shell AUR (en) - cardwire AUR (en) - android-cli AUR (en) - clawx-appimage AUR (en) - echomusic-appimage AUR (en) - vermouth AUR (en) - ketesa AUR (en) - clawd-on-desk-bin AUR (en) - rebased-bin AUR (en) - oxideterm-bin AUR (en) - shed-sh AUR (en) - haus-bin AUR (en) - stably-orca-bin AUR (en) - emerald-legacy-launcher-git AUR (en) - kwim AUR (en) - pentest-ghostwriter AUR (en) - outport-bin AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - byedroid AUR (en) - python-fastapi-sso AUR (en) - zeed-bin AUR (en) - dwl-git-azerty AUR (en) - libspatialaudio-git AUR (en) - opennow AUR (en) - kapi-bin AUR (en) - budget-tracker-bin AUR (en) - budget-tracker AUR (en) - tasks-bin AUR (en) - ruri-git AUR (en) - gitmun-bin AUR (en) - python-cozempic AUR (en) - drop-bin AUR (en) - tritium-launcher-bin AUR (en) - solidc-git AUR (en) - paseo-desktop-bin AUR (en) - yt-dvr AUR (en) - enneagram AUR (en) - openring-rs AUR (en) - openring-rs-bin AUR (en) - brave-origin-beta-bin AUR (en) - whisper.cpp-cuda-bin AUR (en) - libggml-cuda-bin AUR (en) - revdiff AUR (en) - tdesktop-nolimit AUR (en) - cert-checker AUR (en) - yaak-cli AUR (en) - yaak-cli-bin AUR (en) - deez-notes-bin AUR (en) - goosestation-libretro AUR (en) - whispers-cuda-bin AUR (en) - kei AUR (en) - foxguard AUR (en) - hyprlogin-git AUR (en) - kebiki AUR (en) - runex AUR (en) - ikuai-cli AUR (en) - whispers-bin AUR (en) - agentop-bin AUR (en) - cosmic-ext-connected-git AUR (en) - skwd-daemon AUR (en) - ter-music-cn AUR (en) - elio-bin AUR (en) - qtkeychain-qt5 AUR (en) - gesturecontrol AUR (en) - ouijit-bin AUR (en) - usque-bin AUR (en) - ascendara-bin
AUR (en) - linux-versioned-bin
2026-06-13 · via AUR Newest Packages

Pinned Comments

chrisjbillington commented on 2020-02-28 17:48 (UTC) (edited on 2022-04-10 02:40 (UTC) by chrisjbillington)

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) metapackage, using an AUR helper or otherwise in a way that automatically processes dependencies. This metapackage depends on the latest 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 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] [...]
# 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-versioned-bin [linux-versioned-headers-bin]

This is also discussed here.

See also:

G3ro commented on 2022-01-13 22:34 (UTC)

@chrisjbillington Thx for the fast solution.

chrisjbillington commented on 2022-01-13 21:08 (UTC)

Thanks for pointing this out @G3ro, this is now fixed.

It was a problem when the kernel version ends in .0. In this case filepaths contain a .0, e.g. /usr/lib/modules/5.16.0-arch1-1 but the pkgver does not, e.g. 5.16.arch1. The code that updates the PKGBUILD assumed that these would be the same, but they're not. So I've updated it to append the .0 where necessary.

G3ro commented on 2022-01-13 15:57 (UTC) (edited on 2022-01-13 16:00 (UTC) by G3ro)

5.16 is failing with the following message (translated by me):

sed: /var/tmp/pamac-build-toby/linux-versioned-bin/pkg/linux5.16.arch1-1-bin/usr/lib/modules/5.16-arch1-1/pkgbase cannot be read: file or folder not found ==> Error: An error occured in package_linux5.16.arch1-1-bin().

chrisjbillington commented on 2021-11-14 21:07 (UTC)

@Madic I've reverted the change that added provides=(linux). As another user quickly pointed out to me, this prevents having multiple kernel packages installed simultaneously, and I am guessing I left it out intentionally when I first made this package for this reason. As mentioned, the solution to the problem you were facing is to use dkms versions of the modules you need.

chrisjbillington commented on 2021-11-14 12:32 (UTC)

@Madic, actually I've realised that the two packages you have that require linux are kernel modules.

They will only work with the latest kernel package, and not with older versioned kernels. They will also have older versions uninstalled upon upgrade, both of these things defeating the purpose of versioned kernel installs.

As discussed in the pinned comment, you should install tp_smapi-dkms and r8168-dkms instead, which will work with all kernel versions (be sure to install linux-versioned-headers-bin as well).

Madic commented on 2021-11-14 12:04 (UTC)

@chrisjbillington this has worked, thank you!

chrisjbillington commented on 2021-11-14 11:59 (UTC)

Thanks for the suggestion @Madic, done.

No pkgrel bump since this package tracks the upstream versions exactly, so you'll need to makepkg -f or whatnot to make sure it actually rebuilds.

Madic commented on 2021-11-14 11:43 (UTC) (edited on 2021-11-14 11:44 (UTC) by Madic)

Can you add "provides: linux" to the package? It breaks two packages for me:

:: linux5.15.2.arch1-1-bin and linux are in conflict. Remove linux? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing linux breaks dependency 'linux' required by r8168
:: removing linux breaks dependency 'linux' required by tp_smapi
 -> exit status 1

chrisjbillington commented on 2021-04-21 23:08 (UTC)