You are not logged in.

#1 2009-07-24 10:11:38

tokland
Member
From: Barcelona
Registered: 2009-06-30
Posts: 10
Website

Pacman equivalent for 'apt-cache rdepends'

I am trying to get reverse dependencies for a package (= Debian's 'apt-cache rdepends package'). I found this wiki page:

http://wiki.archlinux.org/index.php/Pacman_rosetta

but it states that the equivalent is "pacman -Qi", which is obviously wrong...

How can we get this info with Pacman?

Offline

#2 2009-07-24 10:42:33

Pyntux
Member
From: Serbia
Registered: 2008-12-21
Posts: 415

Re: Pacman equivalent for 'apt-cache rdepends'

have read man of pacman?

man pacman

you will find everything there....


I do not speak English, but I understand...

Offline

#3 2009-07-24 14:31:05

tokland
Member
From: Barcelona
Registered: 2009-06-30
Posts: 10
Website

Re: Pacman equivalent for 'apt-cache rdepends'

Pyntux wrote:

have read man of pacman?

Yes, of course, but I haven't been able to find that particular information. Can you point out where reverse dependencies are referenced in the manual?

Offline

#4 2009-07-24 19:08:31

Arisna
Member
Registered: 2009-02-13
Posts: 81

Re: Pacman equivalent for 'apt-cache rdepends'

Hmm... I can't find this in the manual either.  One possibility is telling pacman to remove the package and everything that depends on it, at which point it will list all of the stuff it is about to remove and prompt you to continue/quit.  Of course, you should say no to the prompt.

Offline

#5 2009-07-24 19:37:08

EvilSnowball
Member
Registered: 2009-06-20
Posts: 4

Re: Pacman equivalent for 'apt-cache rdepends'

tokland wrote:

but it states that the equivalent is "pacman -Qi", which is obviously wrong...

Didn't you notice the "Required By    :" line that pacman -Qi prints out?

Offline

#6 2009-07-24 20:44:23

tokland
Member
From: Barcelona
Registered: 2009-06-30
Posts: 10
Website

Re: Pacman equivalent for 'apt-cache rdepends'

EvilSnowball wrote:

Didn't you notice the "Required By    :" line that pacman -Qi prints out?

You are right, my mistake. My alias "pacinfo" was not running "pacman -Qi" but "pacman -Si", which also shows info about the package but with no 'Required by' section present.

Sorry for the noise, the wiki was indeed correct.

Offline

Board footer

Powered by FluxBB