Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 89640

Summary: emerge -pvuD world doesn't show all packages that are installed and have an update.
Product: Gentoo Linux Reporter: Genia Bezman <genia4>
Component: [OLD] Core systemAssignee: Portage team <dev-portage>
Status: VERIFIED INVALID    
Severity: normal CC: gad.kadosh
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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
3.

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 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 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/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
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"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 jikes kdeenablefinal nls pam unicode video_cards_nvidia"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
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
He
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.