Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89472 - emerge -avDut world fails to update some of the packages in world
Summary: emerge -avDut world fails to update some of the packages in world
Status: VERIFIED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-17 17:48 UTC by Tres 'RiverRat' Melton
Modified: 2005-06-25 04:14 UTC (History)
0 users

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


Attachments
The requested Output (emerge-ept-world,26.68 KB, text/plain)
2005-04-19 11:32 UTC, Tres 'RiverRat' Melton
Details
Output cut&pasted from "esync" and "emerge -avDut world" (esync-emerge-update,11.95 KB, text/plain)
2005-04-19 21:17 UTC, Tres 'RiverRat' Melton
Details
emerge -dep (emerge-dep,663 bytes, text/plain)
2005-04-20 23:00 UTC, Tres 'RiverRat' Melton
Details
emerge -dDup (emerge-dDup,663 bytes, text/plain)
2005-04-20 23:01 UTC, Tres 'RiverRat' Melton
Details
emerge --pretend --depclean (emerge-pretend-depclean,24.64 KB, text/plain)
2005-04-20 23:02 UTC, Tres 'RiverRat' Melton
Details
emerge --pretend --deep --update (emerge-pretend-deep-update,663 bytes, text/plain)
2005-04-20 23:03 UTC, Tres 'RiverRat' Melton
Details
emerge --pretend --emptytree (emerge-pretend-empty-tree,663 bytes, text/plain)
2005-04-20 23:03 UTC, Tres 'RiverRat' Melton
Details
portage/world (world,4.74 KB, text/plain)
2005-04-20 23:05 UTC, Tres 'RiverRat' Melton
Details
New Output (portage-data,570.94 KB, text/plain)
2005-05-21 13:40 UTC, Tres 'RiverRat' Melton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tres 'RiverRat' Melton 2005-04-17 17:48:54 UTC
For some reason when I "esync;emerge -avDut --newuse world" it only lists some of the packages that have updates available.  esync tells me which ones have updates but emerge seems to miss some of them

Reproducible: Always
Steps to Reproduce:
1.esync
2.emerge -avDut --newuse
3.

Actual Results:  
thor:/etc # emerge -avDut --newuse world

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

Calculating world dependencies ...done!

Total size of downloads: 0 kB

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


Expected Results:  
thor:/etc # emerge -avDut --newuse rp-pppoe mozilla-firefox

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

Calculating dependencies ...done!
[ebuild     U ] www-client/mozilla-firefox-1.0.3 [1.0.2] -debug +gnome +java
-ldap -moz
develop -moznoxft -mozsvg -mozxmlterm -xinerama +xprint 32,015 kB 
[ebuild     U ] net-dialup/rp-pppoe-3.5-r9 [3.5-r7] +X +tcltk 0 kB 

Total size of downloads: 32,015 kB

Do you want me to merge these packages? [Yes/No]
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2005-04-18 06:49:48 UTC
Have you confirmed that they are part of world?
Comment 2 Tres 'RiverRat' Melton 2005-04-18 10:33:52 UTC
Both of the packages are indeed part of /var/lib/portage/world.  This is not the first time I have suffered from this error but it is the first time I have taken the time to file a bug report.  Because of this I save the output from esync until I'm sure that I've updated all of the listed packages.  I noticed that this started with AMD64.  On my x86 (last year) I was curious about this and watched it through more than a few updates but they were always complete.  On my AMD64 (recently upgraded from 2004.3 --> 2005.0) the first time I noticed it esync told me there were about 25 packages needing updated; emerge world reported about five.  It seems that most emerge worlds miss a few packages that esync tells me about.
Comment 3 Jason Stubbs (RETIRED) gentoo-dev 2005-04-18 22:36:36 UTC
emerge -ept world, please.
Comment 4 Tres 'RiverRat' Melton 2005-04-19 11:23:49 UTC
thor:/etc/ppp # emerge -ept

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

emerge: please tell me what to do.


Usage:
   emerge [ options ] [ action ] [ ebuildfile | tbz2file | dependency ] [ ... ]
   emerge [ options ] [ action ] < system | world >
   emerge < --sync | --metadata | --info >
   emerge --resume [ --pretend | --ask | --skipfirst ]
   emerge --help [ system | config | sync ] 
Options: -[abcCdDefhikKlnoOpPsSuUvV] [--oneshot] [--newuse] [--noconfmem]
                                    [--columns] [--nospinner]
Actions: [ --clean | --depclean | --inject | --prune | --regen | --search | --unmerge ]


   For more help try 'emerge --help' or consult the man page.

thor:/etc/ppp # 
Comment 5 Tres 'RiverRat' Melton 2005-04-19 11:32:16 UTC
Created attachment 56692 [details]
The requested Output

My apologies for the stupidity of Comment #4, I should have noticed the grey
matter cache miss prior to Submitting.	This is the requested output.  Thanks
for taking the time to look Jason.
Comment 6 Jason Stubbs (RETIRED) gentoo-dev 2005-04-19 15:40:00 UTC
Strange. Both appear in the --emptytree output and both are at the root of the tree...
Comment 7 Tres 'RiverRat' Melton 2005-04-19 21:17:44 UTC
Created attachment 56723 [details]
Output cut&pasted from "esync" and "emerge -avDut world"

I cut and pasted this output from the terminal where I ran "esync" and "emerge
-avDut".  I did change a line in my /etc/portage/package.keywords file:

FROM:  =x11-terms/eterm-0.9.3			      ~amd64
TO:   >=x11-terms/eterm-0.9.3			      ~amd64

in between the two commands but nothing else.  (I wanted eterm-0.9.3-r1)
Comment 8 Jason Stubbs (RETIRED) gentoo-dev 2005-04-20 06:14:17 UTC
Never mind the esync output. The differing packages will likely be listed if you run emerge -p depclean. The interesting thing is that packages show up with --emptytree but not with --deep --update. If you can reproduce it, please attach the output with both -dep and -dDup.
Comment 9 Tres 'RiverRat' Melton 2005-04-20 23:00:35 UTC
Created attachment 56800 [details]
emerge -dep

Reproduction is easy: perform my daily update.	emerge gets about 80% of the
packages and I have to explicitly tell it to get the rest of them when it is
done with world.  Here are some files.	(Is there some way to attach more than
one thing to a note?)  I'm going to go ahead and update things because I want
to use the newest Eterm package since I wrote the patch in 0.9.3-r2.  I'm sure
tomorrow will bring a new set of packages that slip between emerge's cracks.  I
don't know python or portage that well but I do know C/C++/Asm so feel free to
ask me to dig if you need me to.
Comment 10 Tres 'RiverRat' Melton 2005-04-20 23:01:10 UTC
Created attachment 56801 [details]
emerge -dDup
Comment 11 Tres 'RiverRat' Melton 2005-04-20 23:02:10 UTC
Created attachment 56803 [details]
emerge --pretend --depclean
Comment 12 Tres 'RiverRat' Melton 2005-04-20 23:03:01 UTC
Created attachment 56804 [details]
emerge --pretend --deep --update
Comment 13 Tres 'RiverRat' Melton 2005-04-20 23:03:43 UTC
Created attachment 56805 [details]
emerge --pretend --emptytree
Comment 14 Tres 'RiverRat' Melton 2005-04-20 23:05:10 UTC
Created attachment 56806 [details]
portage/world
Comment 15 Jason Stubbs (RETIRED) gentoo-dev 2005-04-22 20:26:47 UTC
Umm.. all of those emerges should have been done with world except for depclean.
Comment 16 Jason Stubbs (RETIRED) gentoo-dev 2005-05-03 07:13:21 UTC
Need info...
Comment 17 Tres 'RiverRat' Melton 2005-05-21 13:40:43 UTC
Created attachment 59479 [details]
New Output

New output as requested.
Comment 18 Tres 'RiverRat' Melton 2005-05-21 13:42:02 UTC
Here is the 'NEEDINFO' that is needed
Comment 19 Jason Stubbs (RETIRED) gentoo-dev 2005-05-24 07:18:35 UTC
You missed `emerge info` ;)    
    
dev-libs/elfutils:   
Not in world   
Is a dependency from net-analyzer/net-snmp   
Appears USE="-elf"   
   
net-analyzer/nmap:  
Not in world  
Nothing depends on it 
 
My guess is that you're confused about the meaning of "world". It is not the 
sum of all installed packages. It is only what you have specifically emerged 
on the command line. There was a bug that would sometimes miss adding packages 
when --update was specified which would probably be why nmap is missing. 
Comment 20 Tres 'RiverRat' Melton 2005-06-25 04:14:13 UTC
This bug is a duplicate of bug #48181 and as jstubbs mentioned, it is resolved
in the next version of portage.  Don't use -u when emerging new packages.