Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] List virtual providers
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Habbit
Apprentice
Apprentice


Joined: 01 Sep 2007
Posts: 237
Location: 3.7137 W, 40.3873 N

PostPosted: Sun Jan 27, 2008 8:28 am    Post subject: [SOLVED] List virtual providers Reply with quote

Does anyone know how to get a list of packages providing a given virtual package? I mean, I want to know which packages provide a virtual, say, "virtuals/libc", so I want something that gives an output like
Code:
sys-libs/glibc-2.5-r1
sys-libs/glibc-2.6
sys-libs/glibc-2.7-rc2
sys-libs/uclibc-whatever
(more libc packages)
Is there any option in Portage to do so or shall I be forced into grepping through the Portage DB myself?
_________________
Code:
~ $ objdump -d ./habbit_mind
90      xchg %rax, %rax
EB FD   jmp $-3


Last edited by Habbit on Sun Jan 27, 2008 9:50 am; edited 1 time in total
Back to top
View user's profile Send private message
nixnut
Administrator
Administrator


Joined: 09 Apr 2004
Posts: 10459
Location: the dutch mountains

PostPosted: Sun Jan 27, 2008 9:02 am    Post subject: Reply with quote

Code:
# eix virtual/libc --only-names
sys-freebsd/freebsd-lib
sys-libs/glibc

or eix -c if you want to see version numbers and -l if you want a list of all package versions
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Habbit
Apprentice
Apprentice


Joined: 01 Sep 2007
Posts: 237
Location: 3.7137 W, 40.3873 N

PostPosted: Sun Jan 27, 2008 9:49 am    Post subject: Reply with quote

Aha. Seems that's what I wanted. Thanks a lot!
_________________
Code:
~ $ objdump -d ./habbit_mind
90      xchg %rax, %rax
EB FD   jmp $-3
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 - 5 Hours
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