Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 97893

Summary: blocking mail-mta during emerge: depends on order at the command line
Product: Portage Development Reporter: Toralf Förster <toralf>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: normal CC: stian
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Toralf Förster gentoo-dev 2005-07-04 04:44:18 UTC
Setting up a new usermode linux I unpacked 1 2005.0 stage3 into my file root_fs.
After an 'emerge sync' I did:
n22 etc # emerge -a mysql apache phpmyadmin courier

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

Calculating dependencies ...done!
[blocks B     ] mail-mta/ssmtp (is blocking mail-mta/courier-0.48.1)
[ebuild  N    ] dev-db/mysql-4.0.24
...
[ebuild  N    ] app-crypt/gnupg-1.4.1

!!! Error: The above package list contains packages which cannot be installed
!!!        on the same system.

n22 etc #                              


whereas the following works:
n22 etc # emerge -a mysql courier apache phpmyadmin

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

Calculating dependencies ...done!
[ebuild  N    ] dev-db/mysql-4.0.24
...
[ebuild  N    ] dev-db/phpmyadmin-2.6.2-r2

Do you want me to merge these packages? [Yes/No] No

Quitting.

n22 etc #                                


Note the different position of courier at the command line. Shouldn't emerge
reorder the items in a appropriate way ?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Stian Skjelstad 2005-07-04 08:16:03 UTC
Hmmmm, that is a portage issue yes. Portage should try to add all packages on
the parameter list before it tries to resolv depencies on virtuals.
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2005-07-04 11:54:06 UTC

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