Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128503 - portage does not respect dependencies of already installed packages
Summary: portage does not respect dependencies of already installed packages
Status: RESOLVED DUPLICATE of bug 48195
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-02 04:53 UTC by W-Mark Kubacki
Modified: 2006-04-02 05:22 UTC (History)
1 user (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 W-Mark Kubacki 2006-04-02 04:53:01 UTC
As prerequisity, install any package which has as runtime dependecy something like "<net-www/apache-2.1.0" along with, let's say, "net-www/apache-2.0.55-r2".

Now comes the point:
If you unmasked "net-www/apache-2.2.0" and ran "emerge world", apache will be upgraded to 2.2.0. Portage does not respect that an entry in the world-file, the one with "<net-www/apache.2.1.0", does not work with the newer version!

The expected behaviour is, that portage either warns (!) "XY is blocking apache-2.2.0!" or that simply apache is left untouched/not upgraded.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-02 05:09:33 UTC
Known(In reply to comment #0)
> The expected behaviour is, that portage either warns (!) "XY is blocking
> apache-2.2.0!" or that simply apache is left untouched/not upgraded.

You'll get a downgrade next time you run emerge -uD world, and upgrade next time... and so on. Known issue for a long time, deps like <net-www/apache-2.1.0 don't work. You need to use package.mask or !>net-www/apache-2.1* in the ebuild.

Cannot find the duplicate right now.
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2006-04-02 05:22:49 UTC

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