Clean world file before world update?

Anything that pertains to Portage

Moderator: Moderators

Clean world file before world update?

Postby Ric » Sun Aug 16, 2009 18:50

I've read from a Gentoo user that it is good to clean up the world file before a world update to reduce blocked packages.
Your world file contains every package you have explicitly installed. Dependencies for these files are not added, but checked for when needed instead.

It seems .libs and anything with a version number don't really belong in the world file, and portage can track dependencies infinitely better than I can.
I'm using MCE lite, and I have 1982 lines in world! I"m using Gnome, but world includes kde, xfce, stacks of .libs, ect.ect.
Can someone verify what I can remove?
User avatar
Ric
Simple Hen
 
Posts: 69
Joined: Sun Jun 03, 2007 2:25

Re: Clean world file before world update?

Postby albfneto » Sun Aug 16, 2009 19:50

Old Sabayons may have many cross dependencies...
During all the Life of your antique Sabayon, if you used ONLY ENTROPY, OR MIXED INSTALLERS you may carry :

Code: Select all
sudo equo libtest
sudo equo deptest
equo cleanup


But commands as revedep-rebuild or emerge with world options, is nor reccomended for Sabayon. It have many packages.

But if you ONLY USED PORTAGE, you may try :
Code: Select all
sudo revdep-rebuild


Instead, removal of orphaned packages in Gentoo based distros is not a completely safe procedure.
Ex.
[url]
http://www.nabble.com/revdep-rebuild-co ... 85422.html
[/url]
Image
ALBERTO FEDERMAN NETO
albfneto
albfneto@fcfrp.usp.br
Favorite Distros: Sabayon, Gentoo, Mandriva and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1288
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: Clean world file before world update?

Postby wolfden » Sun Aug 16, 2009 20:44

LiteMCE to current portage is gonna be a nightmare, I would highly suggest getting the corecd if you are gonna go portage route. It will be much quicker and painless.

you will want to check out emaint

Code: Select all
emaint --help
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Clean world file before world update?

Postby Ric » Sun Aug 16, 2009 21:08

Thanks for the quick reply guys.:)
I probably seem antiquated for wanting portage, but portage is actually the reason I came to Sabyaon, otherwise I would still be using Xubuntu. SL has a niche worth maintaining.
you will want to check out emaint

emaint world -f reduced my world file down to 1035 lines. Thats a start. Thanks :)
I would highly suggest getting the corecd if you are gonna go portage route

That sounds promising, but when I see my world file containing things like kde that was never even part of MCE lite, I have doubts about the install process.
Does the core install have a clean minimal world file?
*edit*
I know you don't like comparing SL to Gentoo, but the Gentoo live cd install has 23 lines in world...
Last edited by Ric on Sun Aug 16, 2009 21:16, edited 1 time in total.
User avatar
Ric
Simple Hen
 
Posts: 69
Joined: Sun Jun 03, 2007 2:25

Re: Clean world file before world update?

Postby wolfden » Sun Aug 16, 2009 21:13

Yes it does, we made sure to fix world file and all the /etc/portage/package.* files You will probably still want to clean out the make.conf file tho or at least look it over.
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Clean world file before world update?

Postby Ric » Mon Aug 17, 2009 1:27

Thanks and yes, a core install sounds like what I need to start with.
I'm now doing a core install on another partition, and I'll be sure to look over make.conf. I'll be setting cflags for sure.
This core install sure takes a long time though...
I would highly suggest getting the corecd

Is there a corecd ? That would be a simple start.
*edit*
I found the corecd, on the Italian server. :)
Act weird. It supports freedom.
It gives others permission to act weird too.
User avatar
Ric
Simple Hen
 
Posts: 69
Joined: Sun Jun 03, 2007 2:25

Re: Clean world file before world update?

Postby Ric » Sat Aug 22, 2009 23:48

Ok, after some experimenting, I've done the corecd install. It is better than installing the 'core' option from the full cd.
But before I can update, one of the first things I need to do is -C a few virtual/perl lib components, and they won't because they are protected. Probably because they are listed in the world file....
So if I know I'll only be using portage, is it safe to remove libs and version numbers from world ?
*edit*
Here is an interesting link:
http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg39048.html
Act weird. It supports freedom.
It gives others permission to act weird too.
User avatar
Ric
Simple Hen
 
Posts: 69
Joined: Sun Jun 03, 2007 2:25

Re: Clean world file before world update?

Postby wolfden » Mon Aug 24, 2009 23:51

have you seen? http://wiki.sabayonlinux.org/index.php? ... ur:_CoreCD

at bottom I go thru some stuff
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Clean world file before world update?

Postby Ric » Fri Aug 28, 2009 3:27

Yes, in fact I printed it to make sure I'd have it when needed. :)
But I haven't had much time to work on it...
User avatar
Ric
Simple Hen
 
Posts: 69
Joined: Sun Jun 03, 2007 2:25


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 0 guests