Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage: How to list files associated with a package
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
mgirard
n00b
n00b


Joined: 30 Jul 2002
Posts: 64

PostPosted: Wed Mar 12, 2003 5:49 pm    Post subject: Portage: How to list files associated with a package Reply with quote

I have a portage question. I looked through "man emerge" and didn't find the answer, but it seems to me like something that should be available somehow...

The question is how can I get portage/emerge to list the files associated with an installed package. Portage definetly knows this as when one does an emerge unmerge <package> it deletes only the files associated with that package. Can I get portage/emerge to list the files installed for a particular package without unmerging or re-emerging? Is this information tucked away somewhere on the system? This has to be possible, I'm just not sure how.

Thanks!
-Mg
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Wed Mar 12, 2003 5:52 pm    Post subject: Reply with quote

You should look in "/var/db/pkg".
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.
Back to top
View user's profile Send private message
mgirard
n00b
n00b


Joined: 30 Jul 2002
Posts: 64

PostPosted: Wed Mar 12, 2003 5:59 pm    Post subject: Reply with quote

bsolar wrote:
You should look in "/var/db/pkg".


Ah, so /var/db/pkg contains a list of everything installed sorted like the portage-tree. And in there a CONTENTS file that lists exactly what I was looking for. It is to bad that you can't issue an emerge command to get that information, but this will certainly do. Thanks for the tip!

-Mg
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Wed Mar 12, 2003 6:19 pm    Post subject: Reply with quote

mgirard wrote:
bsolar wrote:
You should look in "/var/db/pkg".


Ah, so /var/db/pkg contains a list of everything installed sorted like the portage-tree. And in there a CONTENTS file that lists exactly what I was looking for. It is to bad that you can't issue an emerge command to get that information, but this will certainly do. Thanks for the tip!

-Mg


I think there is an utility for that in the "gentoolkit" package. (qpkg).
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.
Back to top
View user's profile Send private message
mgirard
n00b
n00b


Joined: 30 Jul 2002
Posts: 64

PostPosted: Wed Mar 12, 2003 6:41 pm    Post subject: Reply with quote

bsolar wrote:
I think there is an utility for that in the "gentoolkit" package. (qpkg).


That is *exactly* what I was looking for. Thanks!
-Mg
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