Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8678 - Portage not catching all dependency updates when running emerge -u world
Summary: Portage not catching all dependency updates when running emerge -u world
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
: 8630 (view as bug list)
Depends on: 1836 5872
Blocks:
  Show dependency tree
 
Reported: 2002-10-03 03:06 UTC by PJ
Modified: 2011-10-30 22:18 UTC (History)
8 users (show)

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 PJ 2002-10-03 03:06:32 UTC
I have encountered this problem intermittently since I began using Gentoo. Not 
all dependencies are being updated when I run emerge -u world, for whatever 
reason. Here is an example from this evening.

I run 'emerge -u world -p' and it comes back as nothing needs updating.

I run 'dep-clean -vv' and it comes back that 'netpbm-9.12-r2.ebuild' is 
installed, but has no packages depending on it, and that 'netpbm-9.12-
r3.ebuild' is not installed, but is depended on. 

I run 'emerge netpbm -p' and sure enough, it shows that netpbm has an update 
available. I have no clue why 'emerge -u world -p' doesn't catch this package, 
but it also doesn't seem to be catching alot of other dependency packages, as 
lately this is a weekly occurrence.

I am running a P3 600, Gentoo 1.4_RC1, GCC3.2, and the Gentoo-Sources -r9 
kernel.

-PJ
http://www.elitegamer.com
Comment 1 Keith Edmunds 2002-10-03 08:18:50 UTC
I was going to report this too. It can be illustrated by the command:

# emerge -p $(qpkg -I -nc) | grep -v R

...which should like the same packages as:

# emerge -up world

On my system, the first command lists 57 packages, the second lists one.

Happy to provide more details if required.

Keith
Comment 2 SpanKY gentoo-dev 2002-10-03 13:49:22 UTC
what happens if you run this: 
`grep netpbm /var/cache/edb/world` 
Comment 3 PJ 2002-10-03 15:43:23 UTC
It spits out 'media-libs/netpbm'. This might be because I manually emerged the 
package last night and upgraded, thus adding it to the world file. 
Comment 4 SpanKY gentoo-dev 2002-10-03 16:00:31 UTC
i'm not marking this as duplicate because it comes up every so often ... 
 
basically the idea is that dependencies arent written to the world file because 
they shouldnt have to be ... 
if you `emerge mod_php`, then apache isnt written to the world file, the reason 
being when a new version of apache is released, then an `emerge world -u` 
should find that the dependency needs updating and would do it automagically 
 
what it comes down to is that this behavior really is not happening ... 
Comment 5 PJ 2002-10-03 16:15:03 UTC
SpanKY, the problem is 'emerge -u world' SHOULD find the dependency updates, 
but its not. That is what I'm reporting, not that its not being writen to the 
world file. 
Comment 6 SpanKY gentoo-dev 2002-10-03 16:47:53 UTC
i know ... i didnt say they should be ... 
Comment 7 Nicholas Jones (RETIRED) gentoo-dev 2002-10-10 13:14:41 UTC
*** Bug 8630 has been marked as a duplicate of this bug. ***
Comment 8 PJ 2002-10-11 01:49:46 UTC
I just wanted to point out that yesterday drobbins told me to use the 
undocumented emerge switch --deep as a tempfix for this. I tried it and it does 
the job. 
Comment 9 Ben Hearsum 2002-12-01 20:46:21 UTC
Quick perl script i hacked up...should fix it...
http://www.phancy-pants.com/stuff/fixit.pl

Anyone wants to compliment/complain about it email me...
Comment 10 Nicholas Jones (RETIRED) gentoo-dev 2002-12-01 21:20:16 UTC
emerge -u --deep world