Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89640 - emerge -pvuD world doesn't show all packages that are installed and have an update.
Summary: emerge -pvuD world doesn't show all packages that are installed and have an u...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
Depends on:
Reported: 2005-04-19 03:28 UTC by Genia Bezman
Modified: 2005-04-19 21:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Genia Bezman 2005-04-19 03:28:49 UTC
Did emerge -pvuD world, got the following:
Calculating world dependencies ...done!
[ebuild  NS   ] dev-java/avalon-logkit-1.2  -doc -javamail +jikes -jms 233 kB

Did emerge -pv pygtk, got the following:
Calculating dependencies ...done!
[ebuild  N    ] dev-python/numeric-23.7  708 kB
[ebuild     U ] dev-python/pygtk-2.6.1 [2.4.1] -debug -doc -gnome -opengl* 712 kB

As you can see, pygtk has an update, but emerge -pvuD world does not show it.

Reproducible: Always
Steps to Reproduce:
1. emerge -pvuD world
2. emerge -pv pygtk

Actual Results:  
Saw an update for pygtk.

Expected Results:  
Not seeing an update for pygtk.
Comment 1 Genia Bezman 2005-04-19 03:39:03 UTC
Forgot to show you my emerge --info, so here it is:

Portage (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-, 2.6.11-gentoo-r6 i686)
System uname: 2.6.11-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 1500MHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 18 2005, 19:36:25)]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.11
CFLAGS="-O3 -march=pentium4 -pipe"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -pipe"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
USE="x86 jikes kdeenablefinal nls pam unicode video_cards_nvidia"
Comment 2 SpanKY gentoo-dev 2005-04-19 05:25:08 UTC
that's not how world works

try using --deep to get the results you're expecting
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-04-19 05:54:12 UTC
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-04-19 05:54:12 UTC
He´s using --deep (-D) 
Comment 5 SpanKY gentoo-dev 2005-04-19 06:21:35 UTC
well '--deep world' doesnt give you 'all packages', it just gets you a lot closer  :)
Comment 6 Genia Bezman 2005-04-19 11:46:44 UTC
From my understanding, uD gets you ALL the packages, or at least that's what it should be. I mean, deep is kinda weird if it doesn't.
Maybe some settings/flag i need to change somewhere.
First time i've noticed it happenening, maybe anyone else has solved it?
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-04-19 12:02:00 UTC
Well, I noticed this a few times and always solved it by running regenworld but IIRC vapier said the regenworld is not needed at all and this is a feature. ;-)
Comment 8 Genia Bezman 2005-04-19 12:11:48 UTC
Just did a regenworld. First time ever I run this script.
The problem was NOT solved.
Any other ideas/possible solutions/possible causes?

Also, how could it be a feature, Jakub Moc. Is there any value in hiding a package from me this way? Or is it some other thing that causes it to act this way.
when i emerge -pvuD world, I wanna see all my packages, that's kinda the purpose of this command IMO.
Comment 9 SpanKY gentoo-dev 2005-04-19 12:15:26 UTC
it's not 'weird' that deep doesnt pick up everything, just not quite what most users expect

world is a list of all packages you've manually emerged (`emerge glib` puts 'glib' into worl)

world + deep is all the packages you've manually emerged and their dependencies

it is certainly valid to have a package installed that is not in world and is not a dependency of a package in world ... for example, if you emerge something that pulls in a lot of dependent packages and then unmerge it (but dont unmerge the dependent packages), you will enter this state

regenworld may resolve the state of your machine such that all packages that arent dependended on something are put into 'world' for your, but i dont know, ive never used it or looked at how it works

either way, the behavior you describe is valid under the current description we place upon the meaning of the 'world' target (personally i'd like to see an 'all' target which refers to 'every package that is installed on the machine', but that's a somewhat-unrelated issue :p)
Comment 10 Genia Bezman 2005-04-19 21:14:42 UTC
Understood, thanks.