[Bug 232127] New: rpm wants to break dependencies during an update
https://bugzilla.novell.com/show_bug.cgi?id=232127 Summary: rpm wants to break dependencies during an update Product: openSUSE 10.3 Version: unspecified Platform: All OS/Version: SuSE Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: mls@novell.com ReportedBy: pmladek@novell.com QAContact: qa@suse.de CC: ro@novell.com, dbornkessel@novell.com Many packages does not build in STABLE because of missing xerces-j2 package, for example see: /work/built/info/failed/i386/OpenOffice_org /work/built/info/failed/noarch/identity-abstraction /work/built/info/failed/noarch/jdom Situation is the following: 1. All the packages have both xerces-j2 and xml-commons-apis in BuildRequires 2. xerces-j2 provides xml-commons-apis 3. xerces-j2 is installed before xml-commons-apis by autobuild 4. Unfortunately, the current rpm in STABLE removes xerces-j2 during the update of xml-commons-apis How to reproduce it: 1. rpm -Uvh xerces-j2.rpm 2. rpm -Uvh xml-commons-apis.rpm 3. rpm -q xerces-j2 The package xml-commons-apis neither provides nor obsoletes xerces-j2, so the package xerces-j2 should not be removed. Unfortunately, it is removed during the step 2 by the rpm in STABLE. It worked well in openSUSE-10.1, so it must be something very new. Could you please look at it? -- 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=232127 ------- Comment #1 from pmladek@novell.com 2007-01-05 10:24 MST ------- A workaround is to remove xml-commons-apis from BuildRequires. The functionality is provided by the package xerces-j2, the symlink /usr/share/java/xml-commons-apis.jar is set correctly by update-alternatives. So, it should work without problems as far as the xml-commons-apis is provided by xerces-j2. -- 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=232127 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andreas.hanke@gmx-topmail.de ------- Comment #2 from andreas.hanke@gmx-topmail.de 2007-01-06 12:30 MST ------- (In reply to comment #0)
How to reproduce it:
1. rpm -Uvh xerces-j2.rpm 2. rpm -Uvh xml-commons-apis.rpm 3. rpm -q xerces-j2
The package xml-commons-apis neither provides nor obsoletes xerces-j2, so the package xerces-j2 should not be removed. Unfortunately, it is removed during the step 2 by the rpm in STABLE.
Maybe xerces-j2 provides something that xml-commons-apis obsoletes. Obsoletes now works on virtual provides, too, and not just real package names. -- 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=232127 ------- Comment #3 from pmladek@novell.com 2007-01-15 04:02 MST ------- I do not see any obsoletes in the xml-commons-apis 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=232127 ------- Comment #4 from dbornkessel@novell.com 2007-01-15 04:06 MST ------- xerces-j2 provides xml-commons-apis ... but it does not have an explicit Obsoletes so I don't really understand this. xerces-j2 only contains: Provides: xml-commons-apis xml-commons-apis is a sub-package of xml-commons ... is there a problem? Does xerces-j2 need to provide a versioned xml-commons-apis? As pointed out above, removing xml-commons-apis does resolve this conflict. -- 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=232127 ------- Comment #5 from ro@novell.com 2007-01-15 04:24 MST ------- this is not a bug in rpm, it's changed behaviour now matching the upstream version of rpm (and matching libzypp/yast behaviour, which already did the same). see also bug#224824 -- 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=232127 ------- Comment #6 from pmladek@novell.com 2007-01-15 05:36 MST ------- Please, read the comment #3 and the comment #4. Neither xml-commons-apis nor xerces-j2 includes any obsoletes. So, this must be something else. -- 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=232127 ------- Comment #7 from mls@novell.com 2007-01-15 07:48 MST ------- No, it's not something else. It's auto-obsoletes with the package name, i.e. each package contains an implicit "Obsoletes: <packagename>". -- 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=232127 dbornkessel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #8 from dbornkessel@novell.com 2007-01-15 09:25 MST ------- the problem is, that I did not create sub packages xml-apis and xml-resolver in the xerces-j2 package -- sorry for that. I will do that now, which should make this bug go away -- already fixed packages and all packages that need xml-commons-apis but did not list them explicitly will fail after this change. -- 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=232127 ------- Comment #9 from dbornkessel@novell.com 2007-01-16 11:16 MST ------- Note: I submitted a ammended xerces-j2 package, which does not provide xml-commons-apis and xml-commons-resolver anymore -- those are now provided by sub packages. Packages we fixed before by removing "xml-commons-apis" probably need to be reverted to their old state. -- 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=232127#c10
Christoph Thiel
https://bugzilla.novell.com/show_bug.cgi?id=232127#c11
Petr Mladek
participants (1)
-
bugzilla_noreply@novell.com