Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 207063 - emerge -Du world fails to upgrade all packages
Summary: emerge -Du world fails to upgrade all packages
Status: VERIFIED DUPLICATE of bug 96088
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-22 17:22 UTC by far jump
Modified: 2008-01-22 21:47 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description far jump 2008-01-22 17:22:48 UTC
While doing regular sync && update:
emerge --sync
emerge --system
emerge -Du world

I find that emerge -Du world does not catch every package that needs to be upgraded.  After about 1 year I found aprox. 10 packages that were out of date.
example from 2008-01-22:
emerge -Dup world gives:

These are the packages that would be merged, in order:

Calculating world dependencies  ... done!
[ebuild     U ] app-crypt/pinentry-0.7.4-r1 [0.7.3] 
[ebuild     U ] dev-libs/libgpg-error-1.6 [1.5] 
[ebuild     U ] dev-libs/libgcrypt-1.4.0-r1 [1.2.4] 
[ebuild     U ] net-dns/libidn-1.0-r1 [0.6.9-r1] 
[ebuild     U ] dev-ruby/ncurses-ruby-1.1 [0.9.1] 

but using eix, I get:
[U] app-crypt/pinentry
[U] dev-libs/libassuan  
[U] dev-libs/libgcrypt
[U] dev-libs/libgpg-error
[U] dev-ruby/ncurses-ruby
[U] net-dns/libidn

notice: [U] dev-libs/libassuan

>eix libassuan
[U] dev-libs/libassuan
     Available versions:  0.6.10 1.0.2-r1 1.0.4
     Installed versions:  1.0.2-r1(10:44:16 12/16/07)
     Homepage:            http://www.gnupg.org/related_software/libassuan
     Description:         Standalone IPC library used by gpg, gpgme and newpg


when i issue emerge -pv libassuan, I get:
>emerge -pv libassuan

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-libs/libassuan-1.0.4 [1.0.2-r1] 291 kB

Total: 1 package (1 upgrade), Size of downloads: 291 kB
barad-dur->Curr Dir: /root

so in fact, emerge sees it as outdated and emerges properly it when I ask for it specifically.

Now, I find that I must run both emerge and eix to keep my system up to date.  Is this correct.  I have 30 systems of varied platforms & ages and they all exhibit the same problem.

Reproducible: Always

Steps to Reproduce:
1.use emerge to update your system on a regular basis
2.wait about a month
3.use eix to ask for programs that need to be updated
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-01-22 17:28:45 UTC
Run emerge --depclean. world != all

*** This bug has been marked as a duplicate of bug 96088 ***
Comment 2 far jump 2008-01-22 17:40:46 UTC
(In reply to comment #1)
> Run emerge --depclean. world != all
> 
> *** This bug has been marked as a duplicate of bug 96088 ***
>

when i issue: 
emerge --depclean. world != all
usage: emerge [options]

emerge: error: no such option: --depclean.

so I removed the "."

emerge --depclean world != all

!!! Multiple actions requested... Please choose one only.
!!! 'depclean' or 'world'

what is the correct command?
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-01-22 17:49:51 UTC
(In reply to comment #2)
> what is the correct command?

Uhm... a fullstop (.) separates two sentences in most languages.
 

Comment 4 far jump 2008-01-22 17:54:19 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > what is the correct command?
> 
> Uhm... a fullstop (.) separates two sentences in most languages.
> 
> 
yes, i suppose...
but what command should I enter?  What is the solution to this problem?
Comment 5 Alec Warner (RETIRED) archtester gentoo-dev Security 2008-01-22 18:00:29 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #2)
> > > what is the correct command?
> > 
> > Uhm... a fullstop (.) separates two sentences in most languages.
> > 
> > 
> yes, i suppose...
> but what command should I enter?  What is the solution to this problem?
> 

Hi,

The 'world' set contains only things you have installed by hand (ie you typed emerge xorg-server as an example).

typing 'emerge -uD world' says 'take the packages in the world file (/var/lib/portage/world) and all of their dependencies and see if any of them can be upgraded'.

The problem you are seeing is that some packages are left 'orphaned', they are not in the world file, they are not dependencies of something in the world file, but they are still installed.  This is a common problem and there is a new 'all' target in a yet unreleased version of portage.  It will hopefully be out soon.

Do you understand now?

-Alec
Comment 6 far jump 2008-01-22 18:53:39 UTC
> Do you understand now?
> 
> -Alec
> 

Yes, I do.  Thank you very much for the explication
Comment 7 far jump 2008-01-22 21:43:07 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > what is the correct command?
> 
> Uhm... a fullstop (.) separates two sentences in most languages.
> 
You know, you can't be flippant and condescending when you think something is obvious and then dogmatic, impatient and imperious when someone does not follow your directions to the letter.  You can't have it both ways.  If you want to know why me and my girl-friends call you Dwight Shrute behind your back... now you know
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2008-01-22 21:47:03 UTC
http://www.gentoo.org/main/en/support.xml
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2

Now move these off-topic personal attacks out of bugzilla.