Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] equery - only show installed packages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
gorg86
Guru
Guru


Joined: 20 May 2011
Posts: 320

PostPosted: Fri Nov 18, 2022 8:13 am    Post subject: [solved] equery - only show installed packages Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31357
Location: here

PostPosted: Fri Nov 18, 2022 12:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
gorg86
Guru
Guru


Joined: 20 May 2011
Posts: 320

PostPosted: Fri Nov 18, 2022 12:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22877

PostPosted: Fri Nov 18, 2022 1:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
gorg86
Guru
Guru


Joined: 20 May 2011
Posts: 320

PostPosted: Fri Nov 18, 2022 1:38 pm    Post subject: Reply with quote

Thx, I didn't know you could pass a package name to --depclean :oops:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum