Bug 232413 - Updating java-1_5_0-sun for i586 fails on x86-64
Summary: Updating java-1_5_0-sun for i586 fails on x86-64
Status: RESOLVED DUPLICATE of bug 230685
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: libzypp (show other bugs)
Version: Final
Hardware: x86-64 Linux
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Stefan Schubert
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-06 15:09 UTC by Martin Schröder
Modified: 2007-01-09 09:44 UTC (History)
3 users (show)

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***