You are not logged in.

#1 2010-03-01 20:59:04

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,731
Website

pacman to query which packages depend on package x [solved]

What is the syntax to get pacman to show me which packages are using package X as a dependency?  I can do this with a -Rs package x but I'm sure there's a better way...

# pacman -Rs lame
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: cdrdao: requires lame
:: ffmpeg: requires lame
:: gstreamer0.10-ugly-plugins: requires lame>=3.98.2
:: mplayer: requires lame
:: sox: requires lame
:: xvidcap: requires lame

Last edited by graysky (2010-03-01 21:09:11)

Offline

#2 2010-03-01 21:07:00

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

Re: pacman to query which packages depend on package x [solved]

pacman -Qi lame

Required by field


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

Offline

#3 2010-03-01 21:08:30

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,731
Website

Re: pacman to query which packages depend on package x [solved]

Nice, thanks.

Last edited by graysky (2010-03-01 21:09:45)

Offline

#4 2015-06-22 18:36:34

zfjagann
Member
From: California
Registered: 2011-08-12
Posts: 6

Re: pacman to query which packages depend on package x [solved]

I updated the arch wiki to include this info instead of recommending using pkgtools.

https://wiki.archlinux.org/index.php/Pa … _databases

Offline

#5 2015-06-22 18:57:10

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,459
Website

Re: pacman to query which packages depend on package x [solved]

Thanks for keeping the wiki up to date, but this thread was over 5 years old.  Please avoid "necrobumping" old threads.

Closed.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB