Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#53462 - Add "For this Kernel version" info in packages (to support more easily linuxXX changes)

Attached to Project: Pacman
Opened by Félix Piédallu (Salamandar3500) - Sunday, 26 March 2017, 17:12 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 26 March 2017, 18:06 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 5.0.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When installing VirtualBox, Pacman asks which 'virtualbox-host-modules' i want to install:

# pacman -S virtualbox
résolution des dépendances...
:: Il y a 12 fournisseurs disponibles pour VIRTUALBOX-HOST-MODULES :
:: Dépôt extra
1) linux310-virtualbox-host-modules 2) linux312-virtualbox-host-modules 3) linux316-virtualbox-host-modules 4) linux318-virtualbox-host-modules
5) linux41-virtualbox-host-modules 6) linux410-virtualbox-host-modules 7) linux44-virtualbox-host-modules 8) linux48-virtualbox-host-modules
9) linux49-virtualbox-host-modules
:: Dépôt community
10) linux-rt-lts-manjaro-virtualbox-host-modules 11) linux-rt-manjaro-virtualbox-host-modules 12) virtualbox-host-dkms

Entrez un nombre (par défaut, 1 est sélectionné): 9



It may be useful for pacman to add a "kernel version" information, aside from the package name and version. That allows to install automatically the right package for the used kernel version. And when linux44 is removed because linux410 is up, that allows to remove all the linux44- packages and install the linux410- versions.
Ofc, pacman should allow multiple "kernel versions" of a same module, just like it's the case right now.
This task depends upon

Closed by  Dave Reisner (falconindy)
Sunday, 26 March 2017, 18:06 GMT
Reason for closing:  Works for me
Additional comments about closing:  Ask Manjaro to fix their mess.
Comment by Dave Reisner (falconindy) - Sunday, 26 March 2017, 18:05 GMT
So here's the problem. virtualbox depends on virtualbox-host-modules. This isn't a real package, it's just something that's provided by all of the *-virtualbox-host-modules packages you've listed. Under normal circumstances, this isn't a problem because Manjaro created this shitfest when they decided to offer (what appears to be) 9 different kernel versions.

Ironically, they can fix this by providing making this forest of packages even worse. Add a metapackage for virtualbox -- one for each kernel version and now you install linux48-virtualbox or whatever, and you get the right package "track".

Loading...