View previous topic :: View next topic |
Author |
Message |
gorg86 Guru
Joined: 20 May 2011 Posts: 317
|
Posted: Fri Nov 18, 2022 8:13 am Post subject: [solved] equery - only show installed packages |
|
|
Hello,
How do I tell equery to only show installed packages which pulled in a certain dependency?
thanks
Last edited by gorg86 on Fri Nov 18, 2022 1:38 pm; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31339 Location: here
|
Posted: Fri Nov 18, 2022 12:13 pm Post subject: |
|
|
The equery d <dependency_package> command doesn't do what you need it to do? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
gorg86 Guru
Joined: 20 May 2011 Posts: 317
|
Posted: Fri Nov 18, 2022 12:41 pm Post subject: |
|
|
Sort of, it shows me every package with every use flag that would pull in something. Then I had to look at every one of those packages and their use flags manually to see if they actually pulled it in.
It just doesn't feel like the "Gentoo-way" of doing things. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22819
|
Posted: Fri Nov 18, 2022 1:24 pm Post subject: |
|
|
emerge --pretend --verbose --depclean dependency-you-wish-to-remove will either pretend to remove the listed package(s) or it will explain which packages require you to keep the listed package(s). |
|
Back to top |
|
|
gorg86 Guru
Joined: 20 May 2011 Posts: 317
|
Posted: Fri Nov 18, 2022 1:38 pm Post subject: |
|
|
Thx, I didn't know you could pass a package name to --depclean |
|
Back to top |
|
|
|