[Bug 736100] New: libzypp's patches application rules are flawed
https://bugzilla.novell.com/show_bug.cgi?id=736100 https://bugzilla.novell.com/show_bug.cgi?id=736100#c0 Summary: libzypp's patches application rules are flawed Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: cmorve69@yahoo.es QAContact: qa@suse.de Found By: Community User Blocker: --- Short version: libzypp should IMHO never offer to change the vendor to install a patch. Yes, the user changed the vendor, it is not an openSUSE package any more. Why it should be openSUSE responsibility to provide support for that package any more? Let's just suppose the user knew what he was doing, he trust the other vendor, let's him be happy with that decision and stop bothering him. ------------------------------------------------------------------ Long version: - http://forums.opensuse.org/english/get-technical-help-here/multimedia/468228... - http://lists.opensuse.org/opensuse-factory/2011-04/msg00007.html And if you search in Google for: "Patch:" "conflicts with" site:forums.opensuse.org - http://forums.opensuse.org/english/get-technical-help-here/64-bit/464451-moz... - http://forums.opensuse.org/english/get-technical-help-here/applications/4602... - http://forums.opensuse.org/english/get-technical-help-here/applications/4006... and the list continues... -------------------------------------------------------- The way it is decided if a patch should be applied is flawed and is causing real problems. It is OK if you only use the official repos, but it fails when you use any other repo. You can't make the decision using the release numbers because each repo has an independent "release numbers space". openSUSE is released with PACKAGE-32.2, Packman releases PACKAGE-3.4 with H.264 support and the user installs the Packman version. Now a PACKAGE-33.1 update is released and Packman does the same with PACKAGE-4.1. - zypper up -t package will correctly update to PACKAGE-4.1 since installing PACKAGE-32.2 or PACKAGE-33.1 would imply a vendor change. What it must do is 100% clear. - zypper up -t patch will complain because it will insist in installing something like "patch:openSUSE-2011-5-1.noarch", that conflicts with "PACKAGE < 33.1". The offered options will be to install PACKAGE-33.1 even if it implies a vendor change or not installing "patch:openSUSE-2011-5-1.noarch". Users have been confused by this for years. And since some update applets (they have been changing, no idea in 12.1) have no option to ignore an update they have been getting the message again and again and again... I never use "patches" and I don't know the details of how they work, but this should definitively be fixed. From the top of my head: - Never offer to change the vendor to install a patch as explained in the short version? - Provide in the metadata the hashes of the old packages and only apply the patch if those packages are installed? - ...? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c1
--- Comment #1 from Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c2
--- Comment #2 from Cristian Morales Vega
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c3
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c4
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c6
Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c7
--- Comment #7 from Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c8
--- Comment #8 from Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c11
Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c12
--- Comment #12 from Michael Andres
Alternatively: determine the "patch vendor" based on the vendors of the listed packages (the updateinfo lists the exact package name evr, so one can find the vendor via primary.xml.gz easily).
Yes, a patchs package should conflict with installed packages of the same (or compatible) vendor only. Different vendors packages would be treated as if they were not installed. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c13
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c14
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c15
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c16
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c17
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c18
Sven Burmeister
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c19
--- Comment #19 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c20
--- Comment #20 from Sven Burmeister
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c21
--- Comment #21 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c22
--- Comment #22 from Sven Burmeister
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c23
Sven Burmeister
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c24
Sven Burmeister
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c25
Frans Leerink
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c26
--- Comment #26 from Frans Leerink
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c27
--- Comment #27 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c28
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c29
Raymond Wooninck
https://bugzilla.novell.com/show_bug.cgi?id=736100
https://bugzilla.novell.com/show_bug.cgi?id=736100#c30
--- Comment #30 from Michael Schröder
participants (1)
-
bugzilla_noreply@novell.com