You are not logged in.
Pages: 1
Hello,
Please can you help me with a detail about IgnorePkg=?
QUESTION: How do I know the correct name of the package I want to ignore?
I've always had this doubt and despite reading about pacman on the ArchWiki I'm not sure if I'm doing it right.
AN EXAMPLE: "wpa_supplicant",
I would like to prevent from updating to version 2:2.11-2, which doesn't work on my MacBook Pro 2012 system. (Broadcom Inc.)
This is the entry I put in my pacman.conf
IgnorePkg=wpa_supplicant
I imagine you usually search for it in the package finder to see the official name.
Finally one more thing, how do I find out if the problem in a package that didn't work on my computer has been corrected in the following updates?
Kind regards,
Alberto
Last edited by Alberto-Trujillo (2024-08-05 10:34:47)
"I believe I never knew what the word 'round' meant until I saw the Earth from space."
(Aleksei Leonov)
Offline
That entry looks right. I've only seen examples that include spaces around the "=", but I don't see this documented as a requirement, and in a quick test with another setting, spacing doesn't appear to matter. But does that entry in your pacman.conf not work as expected? What does happen?
As for knowing when a problem is fixed, you'll have to watch upstream development - or just occasionally test. Is there an open bug report you can track about the problem? If not ... why haven't you created one?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
This is my exact config and this shows how you would do it for two or more packages:
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
IgnorePkg = linux-zen linux-zen-headers
Following that I now I see this when I run pacman -Syu:
:: Starting full system upgrade...
warning: linux-zen: ignoring package upgrade (6.9.10.zen1-1 => 6.10.2.zen1-1)
warning: linux-zen-headers: ignoring package upgrade (6.9.10.zen1-1 => 6.10.2.zen1-1)
there is nothing to do
So you are still told that there are package upgrades for your ignored package and so if you're waiting for a specific version you'll see it there and know to undo it, and also you won't forget that you've set it because that will appear every time you update.
Desktop: Ryzen 7 1800X | AMD 7800XT | KDE Plasma
MacbookPro-2012 | XFCE
Offline
Thank you both. Without going into details, you have answered my questions. I really appreciate it. Thank you.
"I believe I never knew what the word 'round' meant until I saw the Earth from space."
(Aleksei Leonov)
Offline
Pages: 1