You are not logged in.
Pages: 1
Is it possible to ignore a package by default when I do pacman -Syu? I don't want any kernel updates as they keep breaking my custom drivers and I don't want to keep recompiling as I have no need for a new kernel.
Offline
i am confused about that ~~~
诚朴雄伟,励学敦行
Offline
Is it possible to ignore a package by default when I do pacman -Syu? I don't want any kernel updates as they keep breaking my custom drivers and I don't want to keep recompiling as I have no need for a new kernel.
Try reading the manpages for pacman(8) and pacman.conf(5). You should see some good hints, such as the --ignore option and the IgnorePkg directive.
Offline
i am confused about that ~~~
About what?
Offline
hotloo wrote:i am confused about that ~~~
About what?
about how to ignore some pkg update ~~~
seems i got the answer , thank you ^^
诚朴雄伟,励学敦行
Offline
And the answer is??
Well for my fathers Dell it is:
IgnorePkg = kernel26 madwifi madwifi-utils
In /etc/pacman.conf
Russ
Offline
I've found IgnorePkg ignoring some of the items I put on the line. I.e., if there's a big group X of packages and X includes Y and I have Y on my IgnorePkg line, then pacman says Want to install big group X? If I say no then none of those packages in X get installed. If I say yes but Y is in my IgnorePkg line, then I'd expect pacman to pause and say something like What about Y are you sure you want to install Y? But it doesn't do that, it just goes ahead and installs Y. Is that the designed behavior? Or am I right to expect some kind of further prompt?
If it's not performing as designed, then I should check: Is the right format for the IgnorePkg line what ruscook has, namely
IgnorePkg = pkg1 pkg2 pkg3
Not any of these?
IgnorePkg = "pkg1 pkg2 pkg3"
IgnorePkg = ( pkg1 pkg2 pkg3 )
I have the format ruscook describes, so if that's not the problem we'll have to look further.
In fact, I'm using yaourt which calls pacman-color, not pacman itself. Conceivably it's a bug just in pacman-color.
Last edited by Profjim (2008-09-03 11:24:18)
Offline
Pages: 1