You are not logged in.

#1 2008-09-03 02:23:08

solarwind
Member
From: Toronto
Registered: 2008-03-18
Posts: 546

Ignore Packge

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

#2 2008-09-03 02:31:52

hotloo
Member
From: Otaniemi, Helsinki, Finland
Registered: 2008-06-20
Posts: 33

Re: Ignore Packge

i am confused about that ~~~


诚朴雄伟,励学敦行

Offline

#3 2008-09-03 02:33:35

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: Ignore Packge

solarwind wrote:

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

#4 2008-09-03 02:34:38

solarwind
Member
From: Toronto
Registered: 2008-03-18
Posts: 546

Re: Ignore Packge

hotloo wrote:

i am confused about that ~~~

About what?

Offline

#5 2008-09-03 02:50:50

hotloo
Member
From: Otaniemi, Helsinki, Finland
Registered: 2008-06-20
Posts: 33

Re: Ignore Packge

solarwind wrote:
hotloo wrote:

i am confused about that ~~~

About what?

about how to ignore some pkg  update ~~~

seems i got the answer ,   thank you ^^


诚朴雄伟,励学敦行

Offline

#6 2008-09-03 03:22:10

ruscook
Member
From: Sydney Australia
Registered: 2007-08-27
Posts: 105
Website

Re: Ignore Packge

And the answer is??

Well for my fathers Dell it is:

IgnorePkg = kernel26 madwifi madwifi-utils

In /etc/pacman.conf

Russ

Offline

#7 2008-09-03 11:23:36

Profjim
Member
From: NYC
Registered: 2008-03-24
Posts: 658

Re: Ignore Packge

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

Board footer

Powered by FluxBB