You are not logged in.

#1 2006-11-23 09:27:16

detto
Member
Registered: 2006-01-23
Posts: 510

circuit dependency removal

Hey there,

Im just curious if pacman can handle the following:

There are 3 packages: a b c
a is gonna get installed, with dependencies b and c automagically.
b depends on c and vice versa, c on b.

Now after a (with depends b and c) got installed, and one wants to remove a with pacman parameter like "-Rcns" , are b and c gonna be removed or not?

Offline

#2 2006-11-23 09:43:29

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: circuit dependency removal

Firstly, this

detto wrote:

b depends on c and vice versa, c on b

doesn't happen - or if it does, it's a packaging bug.

detto wrote:

Now after a (with depends b and c) got installed, and one wants to remove a with pacman parameter like "-Rcns" , are b and c gonna be removed or not?

Yes, b & c will be removed, because you used  -Rs. Also, any packages that depend on a will be removed, because you used -Rc.

Personally, I find man pacman to be very clear on this subject. If it leaves room for uncertainty like this, you might like to suggest an alternative wording.

Offline

Board footer

Powered by FluxBB