FS#45829 - Pacman: Add ability to override package arch checks
Attached to Project:
Pacman
Opened by Tomas Mudrunka (harvie) - Wednesday, 29 July 2015, 15:43 GMT
Last edited by Allan McRae (Allan) - Thursday, 15 December 2022, 00:55 GMT
Opened by Tomas Mudrunka (harvie) - Wednesday, 29 July 2015, 15:43 GMT
Last edited by Allan McRae (Allan) - Thursday, 15 December 2022, 00:55 GMT
|
Details
I'd like to have some way to override architecture set in
pacman.conf for some packages and/or repositories.
For example on i686 system, i'd like to have something like this: [core] Server = http://mirror.vpsfree.cz/archlinux/$repo/os/$arch [core:x86_64] OverridePkg = linux linux-lts linux-firmware Server = http://mirror.vpsfree.cz/archlinux/$repo/os/$arch Which will result in all core packages normally taken from http://mirror.vpsfree.cz/archlinux/core/os/i686 except for linux and linux-lts, which will be taken from http://mirror.vpsfree.cz/archlinux/core/os/x86_64 Please do not start again with all that reasons why one should not use 32b userland on 64b system. That's just not true. Nobody forces you to do it, so please do not force me to not do it. I've read quite a lot about this topic, i have years of experiences with this setup and i am quite sure that this is exactly what i want. (even Allan thinks there are good reasons to do so http://allanmcrae.com/2009/06/using-an-x86_64-kernel-on-an-i686-userland/ ) Now i am installing 64b kernel by hand and nothing will prevent me from doing so. However upgrading is PITA. I just want to make it upgrade seamlessly and pacman is only tool that can enable me to do so. Please help me to sort this out. Thanks. |
This task depends upon
Closed by Allan McRae (Allan)
Thursday, 15 December 2022, 00:55 GMT
Reason for closing: Implemented
Additional comments about closing: Architecture in pacman.conf can take multiple values.
Thursday, 15 December 2022, 00:55 GMT
Reason for closing: Implemented
Additional comments about closing: Architecture in pacman.conf can take multiple values.
(I also remember doing this to be really annoying!)
I am using zen kernel from hefting repo, so this have to be fixed separately...
My pacman.conf has "IgnorePkg = ... linux (and external modules, if any)" and once I see that yellow warning about a new kernel pkg it's only a matter of 'pacman -Syy --arch x86_64 linux && pacman -Syy'.
If I were to run such a setup on multiple machines I'd probably consider writing a small -Syu wrapper, but thinking about an upstream solution has never crossed my mind.