You are not logged in.

#1 2007-05-21 14:15:01

kel_p
Member
From: De Kwakel
Registered: 2007-05-10
Posts: 65

two-way dependency tracking

Just installed Arch an hour ago and I'm impressed..

Coming from Debian I wonder..
Does Arch package management support two-way dependency tracking?
So.. when I install package A which requires package B, is there a methode to check if package B is still needed (and offer it's removal) when I remove package A?

If not.. how is this normally handled?

Offline

#2 2007-05-21 14:37:56

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: two-way dependency tracking

Yes pacman does offer this with the --recursive flag...take a look through "pacman -Rh" or "man pacman".

Offline

#3 2007-05-21 14:46:41

kel_p
Member
From: De Kwakel
Registered: 2007-05-10
Posts: 65

Re: two-way dependency tracking

cool, thanks. smile

Offline

#4 2007-05-21 16:48:02

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: two-way dependency tracking

Also -Qe will list packages no longer used by anything (--query --orphans for the long options)

Offline

#5 2007-05-21 17:52:41

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: two-way dependency tracking

elasticdog wrote:

Yes pacman does offer this with the --recursive flag...take a look through "pacman -Rh" or "man pacman".

Sorry for being a "nitpicker":  pacman -Rs

Cheers Sigi


Haven't been here in a while. Still rocking Arch. smile

Offline

#6 2007-05-21 17:55:26

lessthanjake
Member
From: Norway
Registered: 2005-11-09
Posts: 319
Website

Re: two-way dependency tracking

Think he ment that pacman -Rh gives you help on the -R option.

Offline

#7 2007-05-21 18:57:56

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: two-way dependency tracking

oops, stupid /me. Thanks lessthanjake.


Haven't been here in a while. Still rocking Arch. smile

Offline

#8 2007-05-21 19:08:10

kel_p
Member
From: De Kwakel
Registered: 2007-05-10
Posts: 65

Re: two-way dependency tracking

I did find the -Rs flag after posting, works great.
The -Qe flag is very usefull also..

Is it possible -Qe gives me only 1 package (dbh 1.0.24-2) on an almost fresh install?

Offline

Board footer

Powered by FluxBB