Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Listing @world and removing packages from it.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
gentek
n00b
n00b


Joined: 05 Mar 2007
Posts: 9
Location: Australia

PostPosted: Thu Dec 26, 2013 1:43 am    Post subject: Listing @world and removing packages from it. Reply with quote

I'm having trouble with a new install (as per another post) and would like to list the contents of @world to remove the apparently troublesome package from it.

I can't find any explanation of how to do this in the Gentoo docn. I've searched through the relevant directories I know of without discovering a world.set file, or anything similar.

Does anyone know if this level of detail is covered anywhere, or have suggestions as to how to do it?
Back to top
View user's profile Send private message
dwbowyer
Apprentice
Apprentice


Joined: 18 Apr 2008
Posts: 154

PostPosted: Thu Dec 26, 2013 1:56 am    Post subject: Reply with quote

Code:
cat /var/lib/portage/world

EDIT: Note that emerge --unmerge <packagename> is generally a prefered way to do this.
Back to top
View user's profile Send private message
gentek
n00b
n00b


Joined: 05 Mar 2007
Posts: 9
Location: Australia

PostPosted: Thu Dec 26, 2013 2:57 am    Post subject: Reply with quote

Thanks for the tip. Hadn't thought of /var/lib/ But I don't want to unmerge them, only get them out of the way. Ctl-Y should do it, or so I thought. libdrm isn't in @world, so I'm still stymied.

Edit The original problem has now been solved, but I wouldn't mind knowing more about sets. I notice that emerge --list-sets lists several. Does anyone know of documentation describing their (actual or putative) use?

> You can also use --deselect to remove entries from your world file.

That's useful - thanks.


Last edited by gentek on Thu Dec 26, 2013 5:30 am; edited 2 times in total
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2576

PostPosted: Thu Dec 26, 2013 4:11 am    Post subject: Reply with quote

Actually, --depclean is generally safer than --unmerge since it checks for dependencies. You can also use --deselect to remove entries from your world file.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
gentek
n00b
n00b


Joined: 05 Mar 2007
Posts: 9
Location: Australia

PostPosted: Thu Dec 26, 2013 7:59 pm    Post subject: Reply with quote

My enquiry was for additional and non-trivial reasons. I've just completed:
Code:
emerge -avuND @world
 :
emerge --depclean
 :
revdep-rebuild
 :

on my new Rpi installation. The first command finished up with:
Code:
Packages installed:   157
Packages in world:    2
Packages in system:   44
Required packages:    157
Number removed:       77

and seemingly only two packages in @world. Using dwbowyer's advice (cat /var/lib/portage/world) produced a list of 233 packages - considerably in excess of the 157 reported as installed. With 44 packages in @system, this leaves a large number of unexplained packages. I'm aware of the extent to which the use of all Linux distros is an act of faith - as opposed to understanding - and this is perhaps especially true of Gentoo. Nonetheless, some of us grovelling in the murk do aspire to a moderate degree of illumination, and here I find none.

Do any other mud-dwellers have aught to offer by way of enlightenment?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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