World Package List Out-of-Date

Anything that pertains to Portage

Moderator: Moderators

World Package List Out-of-Date

Postby DontPanic » Mon Aug 20, 2007 19:05

I've had a problem in both the 3.3 Mini CD Version and the 3.4e DVD version where my World package list is missing a large chunk of installed packages.

On my freshly installed 3.4e version, /var/lib/portage/world only contains 1,162 entries. But if I do
Code: Select all
equery -C -q list | less


I get 1,842 entries. Many of the missing packages are old, stale packages no longer in Gentoo's or Sabayon's portage tree. Others are active packages that have updates, but a world update won't pick up on packages not in the world file.

Has anybody found a way to get these packages into the world list? I checked the Gentoo forums, but the methods I found were all out-dated.
Gigabyte GA-P35-DS3L - Intel(R) Core(TM)2 Duo CPU E6750@ 2.66GHz
nVidia GeForce 7600 GS
2 GB RAM
DontPanic
Old Dear Hen
 
Posts: 742
Joined: Mon Jul 09, 2007 20:29
Location: Mobile, AL, USA

Re: World Package List Out-of-Date

Postby wolfden » Mon Aug 20, 2007 19:30

You want to rebuild your world file??
Code: Select all
regenworld
wolfden
Sharecropper
 
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: World Package List Out-of-Date

Postby DontPanic » Mon Aug 20, 2007 19:46

Ah, I probably should have mentioned in my original post that I have tried 'regenworld' without success.
Gigabyte GA-P35-DS3L - Intel(R) Core(TM)2 Duo CPU E6750@ 2.66GHz
nVidia GeForce 7600 GS
2 GB RAM
DontPanic
Old Dear Hen
 
Posts: 742
Joined: Mon Jul 09, 2007 20:29
Location: Mobile, AL, USA

Re: World Package List Out-of-Date

Postby voxiac » Mon Aug 20, 2007 19:48

DontPanic wrote:I get 1,842 entries. Many of the missing packages are old, stale packages no longer in Gentoo's or Sabayon's portage tree. Others are active packages that have updates, but a world update won't pick up on packages not in the world file.

Has anybody found a way to get these packages into the world list? I checked the Gentoo forums, but the methods I found were all out-dated.

Why would you want to have *all* the packages in your world file? (I myself always try to move in the opposite direction ;) )

And a world update of course *will* update packages that are not in the world file as long as they are depended by packages already in the world file.
voxiac
Advanced Hen
 
Posts: 218
Joined: Sat Feb 10, 2007 17:05
Location: Denmark

Re: World Package List Out-of-Date

Postby DontPanic » Mon Aug 20, 2007 22:54

OK, I can see how you'd want a 'world' tag that covers most of your system to accompany the 'system' tag that I assume is for the core files. That way, when you update your 'world', you get a more comprehensive update than for 'system', but leave out the unimportant stuff.

I guess I was just assuming that the 'world' tag would include all packages. This wouldn't be the first time I've misunderstood portage. :)

I guess what I was trying to accomplish by filling out my 'world' package list was to find a way to identify those old packages that have been abandoned from the portage tree. What are some other ways to accomplish that?

I've been doing it manually by generating an aged list of installed packages. I was looking for a simpler method.
Gigabyte GA-P35-DS3L - Intel(R) Core(TM)2 Duo CPU E6750@ 2.66GHz
nVidia GeForce 7600 GS
2 GB RAM
DontPanic
Old Dear Hen
 
Posts: 742
Joined: Mon Jul 09, 2007 20:29
Location: Mobile, AL, USA

Re: World Package List Out-of-Date

Postby voxiac » Tue Aug 21, 2007 0:03

The basic idea of the world file is that you have the packages that you know you need there, then by setting apropriate USE flags you let emerge take care of dependencies of those packages. Actually those entries should be rather called "packages' dependency specifications". Anyways try running:
Code: Select all
emerge --depclean --pretend

And see what emerge suggests you to nuke. Then you go through that list, add entries, you want to keep, to your world file, check the results by running the command again, and rerun without '--pretend' (remember to revdep-rebuild just in case).
Also 'udept' tool could be of some interest:
Code: Select all
emerge udept
dep -h

(To clean up world file 'dep -w' could be used, but take extra care)
voxiac
Advanced Hen
 
Posts: 218
Joined: Sat Feb 10, 2007 17:05
Location: Denmark


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 0 guests

cron