You are not logged in.

#1 2010-02-22 22:18:05

z3r0
Member
Registered: 2010-01-23
Posts: 21

[SOLVED]pacman won't ignore packages

Hi all. I've put under the ignore section in my "pacman.conf" the following:

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   = kernel26 nvidia
#IgnoreGroup =

NoUpgrade   = kernel26 nvidia
#NoExtract   =

Problem is that pacman still tries to upgrade them!
If i put them in the IGNORE PKG pacman won't upgrade any other package!

Why?

Last edited by z3r0 (2010-02-23 00:14:08)

Offline

#2 2010-02-22 22:25:02

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [SOLVED]pacman won't ignore packages

EDIT:
deleted complete tosh

Last edited by toad (2010-02-22 22:47:52)


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#3 2010-02-22 22:29:10

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED]pacman won't ignore packages

@z3r0 i suggest to read man pacman.conf. NoUpgrade has other purpose. what you really what is to add kernel26 and nvidia to Ignorepkg


Give what you have. To someone, it may be better than you dare to think.

Offline

#4 2010-02-22 22:30:02

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,799
Website

Re: [SOLVED]pacman won't ignore packages

IgnorePkg is for packages

NoUpgrade is for files

IgnorePkg = kernel26 nvidia

is what you want, it works for me flawlessly.  only those and any packages depending on those will be held back.

Offline

#5 2010-02-22 23:01:38

z3r0
Member
Registered: 2010-01-23
Posts: 21

Re: [SOLVED]pacman won't ignore packages

not working sad

root@ deathstar# cat /etc/pacman.conf | grep kern
IgnorePkg   = kernel26 nvidia
#NoUpgrade   = kernel26 nvidia

root@ deathstar# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
warning: kernel26: ignoring package upgrade (2.6.31.6-1 => 2.6.32.8-1)
warning: nvidia: ignoring package upgrade (190.42-1 => 190.53-4)
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: nvidia: requires nvidia-utils=190.42

Offline

#6 2010-02-22 23:09:26

whacath
Member
Registered: 2009-05-26
Posts: 283

Re: [SOLVED]pacman won't ignore packages

It seems to work perfectly. However, the reason you cant update is becouse pacman trying to update nvidia-utils who depend upon nvidia who is ignored.

The solution to this problem is simple; ignore nvidia-utils too, then things will work.

Offline

#7 2010-02-23 00:13:27

z3r0
Member
Registered: 2010-01-23
Posts: 21

Re: [SOLVED]pacman won't ignore packages

nice. Solved, thanks. Thought nvidia-utils came with nvidia and didn't think about excluding that one too.

Last edited by z3r0 (2010-02-23 00:13:50)

Offline

Board footer

Powered by FluxBB