[Bug 224824] New: update from 10.1 with both 1.4 and 1.5 Java packages installed gives conflict
https://bugzilla.novell.com/show_bug.cgi?id=224824 Summary: update from 10.1 with both 1.4 and 1.5 Java packages installed gives conflict Product: openSUSE 10.2 Version: RC 4 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Update Problems AssignedTo: dbornkessel@novell.com ReportedBy: aj@novell.com QAContact: jsrain@novell.com CC: schubi@novell.com I get an error message that: "A conflict over java2-jre (java2-jre) requires the removal of to-be-installed java-1_5_0_sun-1.5.0_update8-19.i586[...] Conflict Resolution: * do not install java-1_5_0-sun * do not install java-1_4_2-sun * Ignore this cnoflict of java-1_5_0-sun" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 ------- Comment #1 from aj@novell.com 2006-11-30 02:47 MST ------- Created an attachment (id=107550) --> (https://bugzilla.novell.com/attachment.cgi?id=107550&action=view) yast2 log files -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkaempf@novell.com ------- Comment #2 from aj@novell.com 2006-11-30 05:37 MST ------- I resolved this with removing java 1.4.2 and only installing 1.5. Now in the installed system, I try to add 1.4.2 again: aj@x40aj:~> rug in java-1_4_2-sun Resolving Dependencies... The following packages will be installed: java-1_4_2-sun 1.4.2_update12-17 (ftp://dist.suse.de/install/stable-x86?alias=ftp://dist.suse.de/install/stable-x86) The following packages will be removed: java-1_5_0-sun 1.5.0_update8-19 (system) java-1_5_0-sun-1.5.0_update8-19.i586[System packages] replaced by java-1_4_2-sun-1.4.2_update12-17.i586[ftp://dist.suse.de/install/stable-x86] java-1_5_0-sun-plugin 1.5.0_update8-19 (system) java-1_5_0-sun-plugin-1.5.0_update8-19.i586[System packages] dependend on java-1_5_0-sun java-1_5_0-sun-plugin-1.5.0_update8-19.i586[System packages] is missing the requirement java-1_5_0-sun == 1.5.0_update8-19 non_oss_java 10.2-145 (system) pattern:non_oss_java-10.2-145.i586[System packages] dependend on java-1_5_0-sun pattern:non_oss_java-10.2-145.i586[System packages] is missing the requirement java-1_5_0-sun Proceed with transaction? (y/N) n Transaction Cancelled. aj@x40aj:~> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 ------- Comment #3 from aj@novell.com 2006-11-30 05:41 MST ------- Note both packages have these: Obsoletes: java2-jre Provides: java2-jre -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 ------- Comment #4 from kkaempf@novell.com 2006-11-30 05:47 MST ------- I guess thats due to Provides java2-jre Obsoletes java2-jre that both java packages have. IIRC, the libzypp solver was adapated to handle 'virtual' obsoletes (obsoletes only triggered for package names in the past, now also to provided tags) because RPM works that way. Apparently, RPM does not work that way: An "rpm -Uhv" of java-1_5_0-sun keeps java-1_4_2-sun installed. -> libzypp solver problem -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 ------- Comment #6 from mls@novell.com 2006-11-30 05:55 MST ------- Actually rpm was adapted by me to not handle virtual obsoletes for SL10.1 (patch by Mandriva AFAIR). I'm quite surprised that zypp went the other way. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 kkaempf@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ro@novell.com Status|NEW |NEEDINFO Info Provider| |ma@novell.com ------- Comment #8 from kkaempf@novell.com 2006-11-30 06:49 MST ------- So how can we fix this ? IMHO, only one Java (the 1_5_0 probably) should provides/obsoletes java2-jre and thereby 'offer itself' as a valid successor of java2-jre Both tags should be versioned. The 'obsoletes java2-jre' should be removed from java-1_4_2 The 'provides java2-jre' should be versioned in java-1_4_2 Michael, Michael, Rudi, would this be an acceptable solution ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 ------- Comment #9 from dbornkessel@novell.com 2006-11-30 06:58 MST ------- .. I will prepare the packages as suggested by Klaus and wait follow up answers. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 ma@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|ma@novell.com | ------- Comment #11 from ma@novell.com 2006-11-30 07:55 MST ------- No matter what you do to the Java package, it does not fix the fact that rpm and zypp solve differently. So we'd just wait for the next package to suffer from this. I dont't know what the java packages look like. Did we have an java2-jre package? Are java-1_4_2 and java-1_5_0-sun intended to be installed in parallel? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 ------- Comment #12 from dbornkessel@novell.com 2006-11-30 08:12 MST ------- Yes: In SUSE < 9.3 (and the sleses) there was a package called java2-jre. and Yes2: They are meant to be able to be installed in parallel. So, I will submit the java packages to work around the problem for now!? ... autobuild can still ignore them. Thanks, Daniel -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 kkaempf@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |ro@novell.com ------- Comment #13 from kkaempf@novell.com 2006-11-30 08:27 MST ------- comment #10, the obsoletes is wrong. java-1.5.0 should obsolete _older_ versions. So make this "Obsoletes: java2-jre < 1.4.2" (this should also make it parallel installable with java-1_4_2 I guess java-1_4_2 should have the same obsoletes "java2-jre < 1.4.2" This needs review from autobuild team (Michael, Rudi) !! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 ------- Comment #14 from dbornkessel@novell.com 2006-12-01 04:03 MST ------- urgs, ok. But: The old [sles9] java2-jre package is already version 1.4.2. So I guess that it should be: for 1.5: Obsoletes: java2-jre <= 1.4.2 Provides: java2-jre = 1.5.0 and for 1.4.2: Provides: java2-jre = 1.4.2 Obsoletes: java2-jre <= 1.4.2 ? ... if we make Obsoletes: java2-jre = 1.4.2, it won't obsolete the sles9 Java if I understand correctly? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 ------- Comment #15 from kkaempf@novell.com 2006-12-01 04:13 MST ------- No, its still wrong. The current bug is that the obsoletes match the provides of the other package. So if you let java-1_4_2 provide "java2-jre = 1.4.2" and let java-1_5_0 obsolete java2-jre less-or-EQUAL 1.4.2, it will still fail. So have java-1_5_0 obsolete java2-jre LESS-THAN 1.4.2 Again, have autobuild team (mls and ro) approve this before submitting ! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 ------- Comment #16 from ma@novell.com 2006-12-01 04:24 MST ------- IMO java_* packages should obsolete 'java2-jre <= {last java2-jre version we shipped}' provide java2-jre == {their own version}' UNLESS {last java2-jre version we shipped} is not less then {their own version}. As I read the PDB the last java2-jre was 1.4.2 ;( So we had to include the releases? obsolete 'java2-jre <= 1.4.2-{last release}' and java-1_4_2 had to provide 'java2-jre == 1.4.2-{greater than last release}' IMO this should work, but I doubt that we already have some solver testcase to be shure. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 ------- Comment #17 from dbornkessel@novell.com 2006-12-01 06:44 MST ------- Last real java2-jre package is: 1.4.2-129.21 Another point: The same problem is there for java2. So, I have in java-1_4_2-sun: Obsoletes: java2-jre < 1.4.2-150 Provides: java2-jre = 1.4.2-150 in java-1_4_2-sun-devel: Obsoletes: java2 < 1.4.2-150 Provides: java2 = 1.4.1-150 java-1_5_0-sun: Obsoletes: java2-jre < 1.4.2-150 Provides: java2-jre = 1.5.0 in java-1_4_2-sun-devel: Obsoletes: java2 < 1.4.2-150 Provides: java2 = 1.5.0 .. is that ok? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 joe_morris@ntm.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joe_morris@ntm.org ------- Comment #18 from joe_morris@ntm.org 2006-12-02 02:56 MST ------- For many with x86_64 machines, they need java-1.4.2 i586 for the i586 plugin for firefox, but java-1.5.0 in x86_64 for the 64 bit java. Having them NOT be able to be parallel installed is not good since we are stuck with a 32 bit browser. IOW, there is an arch aspect to this IMHO. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 ------- Comment #19 from dbornkessel@novell.com 2006-12-04 02:23 MST ------- Does ignoring the conflict work? I can ignore it, it does not do any harm ... it is just an yast issue. We did not get the corrected version into GM, sorry. Regards, Daniel -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 ro@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|ro@novell.com | ------- Comment #20 from ro@novell.com 2006-12-18 18:16 MST ------- still on needinfo from me ... why ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 ------- Comment #21 from gassauer@kde.org 2006-12-28 03:14 MST ------- also true in opensues 10.2 final BTW the installer crashes the system with a zypp:Exception -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 mls@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mls@novell.com |dbornkessel@novell.com Status|ASSIGNED |NEW -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 schubi@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@novell.com ------- Comment #22 from schubi@novell.com 2007-01-11 03:26 MST ------- *** Bug 233171 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 visnov@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Component|libzypp |Java -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 ------- Comment #23 from aj@novell.com 2007-01-31 01:37 MST ------- Is this problem fixed now? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 dbornkessel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |ma@novell.com ------- Comment #24 from dbornkessel@novell.com 2007-01-31 03:34 MST ------- 1.5.0 has now: Obsoletes: java2-jre < 1.4.2-150 Provides: java2-jre = %{version}-%{release} and for 1.5.0-devel: Obsoletes: java2-jre < 1.4.2-150 Provides: java2-jre = %{version}-%{release} and 1.4.2: Obsoletes: java2-jre < 1.4.2-150 Provides: java2-jre = 1.4.2-150.%{release} 1.4.2-devel: Obsoletes: java2 < 1.4.2-150 Provides: java2 = 1.4.2-150.%{release} so, AFAIK this should work. Te be sure: ma, could you have a quick look whether that's ok? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 ma@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|ma@novell.com | ------- Comment #25 from ma@novell.com 2007-01-31 05:51 MST ------- I don't think your -devel packages should obsolete anything and for shure they should not provide java2-jre. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 dbornkessel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #26 from dbornkessel@novell.com 2007-02-01 04:12 MST ------- *douh*: sorry: again I pasted it wrong here :@ java-devel for 1.5.0 does of course: Obsoletes: java2 < 1.4.2-150 Provides: java2 = %{version}-%{release} -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 ------- Comment #27 from kkaempf@novell.com 2007-02-02 02:29 MST ------- I still think that the -devel package should neither provide nor obsolete the main (java2) package. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 dbornkessel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |ma@novell.com ------- Comment #29 from dbornkessel@novell.com 2007-02-27 05:34 MST ------- The java2 is for the sdk the same as java2-jre is for the jre, so I think that it needs to be there. @Michael: Does this look right to you so I can close this bug? Regards, Daniel -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 ma@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|ma@novell.com | ------- Comment #30 from ma@novell.com 2007-02-27 08:25 MST ------- Yes, the usage of versions in the dependencies looks right. Whether the obsoletion of java2 is correct, is something the maintainer has to decide. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224824 dbornkessel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #31 from dbornkessel@novell.com 2007-02-27 09:25 MST ------- Ok, thanks a lot Michael. As explained earlier, the 'java2' is the same for the JDK as java2-jre is for the JRE, so this is correct. Closing this bug as fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com