You are not logged in.

#1 2008-10-05 13:58:42

jarryson
Member
Registered: 2007-02-18
Posts: 298

Why IgnoreGroup option in pacman does not work

i made some packages and named them in 'lh' group, and i add 'lh' to IgnoreGroup in /etc/pacman.conf, but  when the program need to be update, pacman just dont care the ignoregroup option and even no warning for that.

but IgnorePkg option works.

is that a bug?

Offline

#2 2008-10-05 23:17:14

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,414
Website

Re: Why IgnoreGroup option in pacman does not work

Can you provide us more information?  If these are your own packages and in your own group, where is the update coming from?  Does the updated package also belong to the "lh" group?

Offline

#3 2008-10-06 14:20:27

jarryson
Member
Registered: 2007-02-18
Posts: 298

Re: Why IgnoreGroup option in pacman does not work

no , i just compile some package without rename it, just add groups information.

so it would update when i use "pacman -Syu".

you can test it by compile a little package which have lower verison. and use pacman -Su.

but i dont know if only i have such problem. : )

Offline

#4 2008-10-06 23:06:06

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,414
Website

Re: Why IgnoreGroup option in pacman does not work

I do not think IgnoreGroup works that way.  My suspicion is that it checks the packages in the repo you are syncing in for the group (although I haven't looked at the code to check).  So what you are trying to do is best achieved by IgnorePkg.  I think this is probably worth a bug report, either to clear up the documentation of fix the implementation.

Offline

#5 2008-10-08 11:16:01

jarryson
Member
Registered: 2007-02-18
Posts: 298

Re: Why IgnoreGroup option in pacman does not work

thanks very much , i just want to check if someone else have this problem. i'll report this bug

Last edited by jarryson (2008-10-08 11:18:15)

Offline

#6 2008-10-08 11:27:03

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Why IgnoreGroup option in pacman does not work

It is not a bug, it is just like Allan said :

I do not think IgnoreGroup works that way.  My suspicion is that it checks the packages in the repo you are syncing in for the group (although I haven't looked at the code to check).  So what you are trying to do is best achieved by IgnorePkg.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#7 2008-10-08 12:15:40

jarryson
Member
Registered: 2007-02-18
Posts: 298

Re: Why IgnoreGroup option in pacman does not work

my mistake, i just thought if i compile many packages, it was hard to control it not to be upgraded. such option is a little weird.

thanks anyway.

Offline

Board footer

Powered by FluxBB