You are not logged in.

#1 2008-09-21 20:01:08

yellowfox
Member
Registered: 2007-02-16
Posts: 19

Update without dependence

Hi, It is possible to turn off dependence checking during pacman -Syu ?

For example. I install kismet without imagemagick by -Sd. Will pacman install this dependence after update (Syu) ?

Offline

#2 2008-09-21 20:03:29

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

Re: Update without dependence

First check man pacman.....

Then it will tell you run it with -d


Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.

Offline

#3 2008-09-22 01:55:31

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: Update without dependence

haxit wrote:

First check man pacman.....

Then it will tell you run it with -d

That doesn't answer the question at all, they already said they used -Sd.

The answer is yes, -Syu will try to bring back in the dep with every upgrade to the package. You'll have to -Sd the app manually with every upgrade if you want to prevent it.


I am a gated community.

Offline

#4 2008-09-22 03:07:34

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

Re: Update without dependence

You can look at IgnorePkg in pacman.conf although I'm not sure it stops dependencies being pulled in...

Offline

#5 2008-09-22 04:22:02

fflarex
Member
Registered: 2007-09-15
Posts: 466

Re: Update without dependence

Pacman's -d option can be used in upgrades too, so haxit was right. Instead of running 'pacman -Syu', run 'pacman -Syud'.

Although this may mess up other dependencies too (not often, but every once in a while a package's deps will change and you may need something new). I would use pacman.conf's IgnorePkg option instead.

Offline

#6 2008-09-23 12:55:28

ngaba
Pacman Developer
Registered: 2008-05-13
Posts: 16

Re: Update without dependence

IgnorePkg won't help, if imagemagick is a dependency of kismet. (pacman will stop with "unsatisfied depencencies" error). If imagemagick is a _needless_ dependency of kismet, you can open a FS task for "move imagemagick dependency of kismet to optdepend". If imagemagick is a needed dependency, and you have a custom version installed (build from source, etc.) I suggest creating an "imagemagick-custom package" (that provides imagemagick) for that with makepkg.

Answer to the original question: -Sud  or -Syud are allowed. However, this can create some unwanted broken packages (if -Su upgrades many packages)!

Offline

Board footer

Powered by FluxBB