Bug 232413

Summary: Updating java-1_5_0-sun for i586 fails on x86-64
Product: [openSUSE] SUSE Linux 10.1 Reporter: Martin Schröder <martin>
Component: libzyppAssignee: Stefan Schubert <schubi>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: aj, andreas.hanke, meissner
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: Linux   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Martin Schröder 2007-01-06 15:09:48 UTC
I'm using the i586-version of java 1.5 due to there being no x86_64 version of eclipse (see bug #146884).

Updating this with the latest patch fails at the dependencies:
-------------------------------
Unresolved dependencies:
Updating java-1_5_0-sun-devel-1.5.0_07-1.1.i586[System packages] to java-1_5_0-sun-devel-1.5.0_10-0.1.i586[suse]
Updating java-1_5_0-sun-1.5.0_07-1.1.i586[System packages] to java-1_5_0-sun-1.5.0_10-0.1.i586[suse]
Updating patch:java-1_5_0-sun-1438-0.noarch[System packages] to patch:java-1_5_0-sun-2427-0.noarch[suse]
Establishing atom:java-1_5_0-sun-1.5.0_10-0.1.x86_64[suse]
Establishing atom:java-1_5_0-sun-devel-1.5.0_10-0.1.x86_64[suse]
java-1_5_0-sun-1.5.0_07-1.1.i586[suse] provides java-1_5_0-sun == 1.5.0_07-1.1, but another version of that package is already installed.
java-1_5_0-sun-1.5.0_07-1.1.i586[System packages] provides java-1_5_0-sun == 1.5.0_07-1.1, but is scheduled to be uninstalled.
Can't satisfy requirement java-1_5_0-sun == 1.5.0_07-1.1 for java-1_5_0-sun-devel-1.5.0_07-1.1.i586[System packages]
atom:java-1_5_0-sun-devel-1.5.0_10-0.1.x86_64[suse] needed by patch:java-1_5_0-sun-2427-0.noarch[suse]
Installing atom:java-1_5_0-sun-devel-1.5.0_10-0.1.x86_64[suse]
atom:java-1_5_0-sun-1.5.0_10-0.1.x86_64[suse] needed by patch:java-1_5_0-sun-2427-0.noarch[suse]
Installing atom:java-1_5_0-sun-1.5.0_10-0.1.x86_64[suse]
Establishing atom:java-1_5_0-sun-1.5.0_07-1.1.x86_64[System packages]
Establishing atom:java-1_5_0-sun-devel-1.5.0_07-1.1.x86_64[System packages]
Can't install java-1_5_0-sun-devel-1.5.0_10-0.1.x86_64[suse], since java-1_5_0-sun-devel-1.5.0_10-0.1.i586[suse] is already marked as needing to be installed
Marking this resolution attempt as invalid.
-------------------------------
Comment 1 Klaus Kämpf 2007-01-09 09:18:27 UTC
Looks like a patch dependency problem.

On the package level, the architecture is not changed during upgrade.
However, the patch dependencies select the best (in this case x86_64) architecture  without considering the architecture of the installed package.

-> to be fixed in solver I guess.
Comment 2 Stefan Schubert 2007-01-09 09:44:38 UTC

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