Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100527 - portage 2.0.51.22-r2 emerge -uD does not update all packages
Summary: portage 2.0.51.22-r2 emerge -uD does not update all packages
Status: RESOLVED DUPLICATE of bug 100382
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 108082
  Show dependency tree
 
Reported: 2005-07-27 15:41 UTC by Benjamin Schulz
Modified: 2005-10-04 08:37 UTC (History)
0 users

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


Attachments
portage world file (world,933 bytes, text/plain)
2005-07-27 18:01 UTC, Benjamin Schulz
Details
log of emerge (emergelog.tar.gz,55.26 KB, application/gzip)
2005-07-29 05:49 UTC, Benjamin Schulz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Schulz 2005-07-27 15:41:42 UTC
Here two outputs of portage 2.0.51.22-r2

DeskBenni ~ # emerge -uDp kdevelop 

These are the packages that I would merge, in order: 
Calculating dependencies ...done! 
[ebuild     U ] dev-libs/atk-1.10.1 [1.9.1] 
[ebuild     U ] gnome-base/libglade-2.5.1 [2.5.0] 
[ebuild     U ] gnome-base/gnome-vfs-2.10.1-r1 [2.10.0-r2] 
[ebuild     U ] x11-themes/gnome-icon-theme-2.10.1 [2.10.0] 
[ebuild     U ] x11-themes/gnome-themes-2.10.1 [2.10.0] 
[ebuild     U ] dev-libs/libxslt-1.1.14 [1.1.13-r1] 
[ebuild     U ] gnome-base/gnome-desktop-2.10.1 [2.10.0] 
[ebuild     U ] dev-util/cvs-1.11.20 [1.11.18] 
[ebuild     U ] sys-devel/gdb-6.3-r4 [6.0] 
[ebuild     U ] dev-util/kdevelop-3.2.1-r1 [3.1.2] 
----------------------------------------------------

And now

DeskBenni ~ # emerge -uDp world 

Calculating world dependencies ...done! 
[ebuild     U ] dev-libs/atk-1.10.1 [1.9.1] 
[ebuild     U ] gnome-base/libglade-2.5.1 [2.5.0] 
[ebuild     U ] gnome-base/gnome-vfs-2.10.1-r1 [2.10.0-r2] 
[ebuild     U ] x11-themes/gnome-icon-theme-2.10.1 [2.10.0] 
[ebuild     U ] x11-themes/gnome-themes-2.10.1 [2.10.0] 
[ebuild     U ] dev-libs/libxslt-1.1.14 [1.1.13-r1] 
[ebuild     U ] gnome-base/gnome-desktop-2.10.1 [2.10.0] 
[ebuild     U ] gnome-extra/libgsf-1.12.0 [1.10.0] 
[ebuild     U ] media-sound/xmms-1.2.10-r15 [1.2.10-r14] 
[ebuild     U ] gnome-base/libgnomeprint-2.10.3 [2.10.0] 
[ebuild     U ] gnome-base/libgnomeprintui-2.10.2 [2.10.0.1] 
[ebuild     U ] sys-kernel/genkernel-3.3 [3.2.10] 
[ebuild  NS   ] dev-libs/libsigc++-2.0.14 
[ebuild  N    ] dev-cpp/glibmm-2.6.1 
[ebuild  NS   ] dev-cpp/gtkmm-2.4.11 
[ebuild  N    ] media-libs/libao-0.8.5 
[ebuild  NS   ] dev-cpp/gconfmm-2.6.1 
[ebuild  NS   ] dev-cpp/libgnomecanvasmm-2.6.1 
[ebuild  NS   ] dev-cpp/libgnomemm-2.6.0 
[ebuild  NS   ] dev-cpp/libglademm-2.4.1 
[ebuild  N    ] dev-cpp/gnome-vfsmm-2.6.1 
[ebuild  NS   ] dev-cpp/libgnomeuimm-2.6.0 
[ebuild     U ] app-cdr/cdrdao-1.2.0 [1.1.9]

No kdevelop appears. The same can be done with kile, lyx and other apps.
Comment 1 Alec Warner (RETIRED) archtester gentoo-dev Security 2005-07-27 16:17:31 UTC
Please attach your /var/lib/portage/world file.
Comment 2 Benjamin Schulz 2005-07-27 18:01:32 UTC
Created attachment 64478 [details]
portage world file

OK. Here is the world file
Comment 3 Benjamin Schulz 2005-07-27 18:04:30 UTC
remarkably, components like kdenetwork or acroread 
*which are present* 
in the world file where automatically updated with a previous emerge -uD world.
Only some packages (kile, kdevelop) were not.

Comment 4 Alec Warner (RETIRED) archtester gentoo-dev Security 2005-07-27 23:03:13 UTC
Lets stick with Kile and Kdevelop, how did you merge them?  The old-style kde 
ebuild ( emerge kde ), the newstyle meta ebuilds? ( emerge kde-meta ) or did you 
use the single meta builds ( emerge kdevelop kate kile ....etc... ).

Basically the issue here is why are some KDE apps in the world file where others 
are not.  emerge -uD world is only going to handle applications that are present 
in the world file and their dependencies.

We are looking for a bug where basically, applications were supposed to be added 
to world but were not.
Comment 5 Alec Warner (RETIRED) archtester gentoo-dev Security 2005-07-29 05:33:43 UTC
Would you mind compressing your emerge.log ( gzip or bzip2 ) and then attaching 
it?
Comment 6 Benjamin Schulz 2005-07-29 05:49:30 UTC
Created attachment 64606 [details]
log of emerge

OK. Here's the emerge log.

emerge -uD world should update all packages, since it should update packages in
the world file and packages which depend from them. And packages can only be
installed as dependency or directly.

Unfortunately, it seems that emerge -uD world does not update everything.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2005-08-02 02:27:17 UTC
I can confirm that emerge -uD (same portage version) does not find all available 
updates. When I remerge packages because of changes in dependencies, I regularly 
find updates are available while emerge -uDp did not report them. This is 
particulary noticable when the output from esync (app-portage/esearch) lists 
packages being available as updates "[ U] category/name (version): description" 
but the subsequent emerge -vuaD world does not offer to update them.

Btw, I don't use KDE at all (well, there is kdelibs of course) and I have seen 
emerge missing fresh packages from all kinds of categories.

I have seen this (mis)behaviour on 3 different systems. Would you like me to 
upload the world files and emerge.log's for all three?
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2005-08-02 12:02:08 UTC
Example: esync gave me this list:

---------------------------------------
 * Importing old portage tree
 * Doing '/usr/bin/emerge --metadata' now

 * Doing 'eupdatedb' now


 * esearch-index generated in 12 minute(s) and 55 second(s)
 * indexed 9755 ebuilds
 * size of esearch-index: 1542 kB

 * Importing new portage tree
 * Preparing databases
 * Searching for changes

[MN] app-misc/dnetc (2.9011.496):  distributed.net client
[MN] app-text/multitail (3.6.0):  Tail with multiple windows.
[MN] dev-lisp/cl-ppcre (1.2.11):  CL-PPCRE is a portable regular expression 
library for Common Lisp.
[MN] kde-base/kmail (3.4.2-r1):  KDE mail client
[MN] mail-client/mozilla-thunderbird (1.0.6-r4):  Thunderbird Mail Client
[MN] mail-client/mozilla-thunderbird-bin (1.0.6-r3):  The Mozilla Thunderbird 
Mail & News Reader
[ U] media-libs/netpbm (10.28):  A set of utilities for converting to/from the 
netpbm (and related) formats
[MN] net-im/silc-plugin (1.0.1-r3):  A SILC plugin for Irssi
[MN] www-client/kita (0.177.0):  Kita - 2ch client for KDE
[MN] www-client/mozilla-bin (1.7.10-r1):  Mozilla Application Suite - web 
browser, email, HTML editor, IRC
[MN] www-client/mozilla-firefox-bin (1.0.6-r2):  Firefox Web Browser
[MN] www-servers/lighttpd (1.3.16):  lightweight high-performance web server
[MN] x11-misc/viewglob (2.0.3):  Graphical display of directories and globs 
referenced at the shell prompt
[MN] x11-themes/gtk-engines-dwerg (0.8):  GTK+2 Dwerg Theme Engine
[ N] x11-themes/gtk-engines-mist (0.10-r1):  GTK+1 Mist Theme Engine
[MN] x11-themes/gtk-engines-notif2 (1.0-r1):  GTK+1 Notif2 Theme Engine
[MN] x11-themes/gtk-engines-qt (0.6-r1):  GTK+2 Qt Theme Engine
[MN] x11-themes/gtk-engines-smooth (0.6.0.1-r2):  GTK+1 Smooth Theme Engine
[ N] x11-themes/gtk-engines-xfce (2.2.7-r1):  GTK+2 Xfce Theme Engine
---------------------------------------

Then I tried to update media-libs/netpbm in the normal way:

---------------------------------------
hpvis ~ # emerge -vuaD world


Performing Global Updates: /keeps/gentoo/portage/profiles/updates/3Q-2005
(Could take a couple of minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  @='/var/db move'
  s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
..............................................

These are the packages that I would merge, in order:

Calculating world dependencies ...done!

Total size of downloads: 0 kB

Nothing to merge; do you want me to auto-clean packages? [Yes/No] n

Quitting.
---------------------------------------

So I tried the manual approach:

---------------------------------------
hpvis ~ # emerge -vp netpbm

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] media-libs/netpbm-10.28 [10.20] +jpeg +png (-svga) +tiff +zlib 0 
kB

Total size of downloads: 0 kB
hpvis ~ #
---------------------------------------
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2005-08-02 12:05:47 UTC
(In reply to comment #8)

In this case, media-libs/netpbm was first merged as a dependency of x11-misc/
xscreensaver and is not in /var/lib/portage/world.
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2005-08-02 12:08:10 UTC
(In reply to comment #9)
> (In reply to comment #8)
> 
> In this case, media-libs/netpbm was first merged as a dependency of x11-misc/
> xscreensaver and is not in /var/lib/portage/world.

Another thought struck me: x11-misc/xscreensaver is not installed anymore now, 
while I still use media-libs/netpbm occasionally. I would therefore like to 
semi-automatically get the updates for media-libs/netpbm through emerge -uD 
world.
Comment 11 Zac Medico gentoo-dev 2005-08-08 00:54:07 UTC
(In reply to comment #7)
> 
> I have seen this (mis)behaviour on 3 different systems. Would you like me to 
> upload the world files and emerge.log's for all three?

Focus on 1 system and post that world file.

This bug seems like bug 97616 and bug 100382.
Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2005-08-08 01:02:29 UTC
(In reply to comment #11)

> Focus on 1 system and post that world file.

I would do that but:

> This bug seems like bug 97616 and bug 100382.

... seem to resolve my bug. :)
Comment 13 Jason Stubbs (RETIRED) gentoo-dev 2005-08-08 04:41:43 UTC

*** This bug has been marked as a duplicate of 100382 ***