|
Bugzilla – Full Text Bug Listing |
| Summary: | Patch should not conflict with packages from different vendor (on example of patch:openSUSE-SLE-15.4-2022-2969) | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Distribution | Reporter: | Andrei Borzenkov <arvidjaar> |
| Component: | libzypp | Assignee: | E-mail List <zypp-maintainers> |
| Status: | RESOLVED FEATURE | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | bzeller, guenter.halt, mls |
| Version: | Leap 15.4 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
zypper patch with conflict with Packman part 1
zypper patch with conflict with Packman part 2 zypper patch nothing to do part 1 zypper patch nothing to do part 2 |
||
|
Description
Andrei Borzenkov
2022-09-03 14:03:15 UTC
Created attachment 861286 [details]
zypper patch with conflict with Packman part 2
Created attachment 861287 [details]
zypper patch nothing to do part 1
Created attachment 861288 [details]
zypper patch nothing to do part 2
*** Bug 1203150 has been marked as a duplicate of this bug. *** I'm not sure zypper patch does have extra code to check for 3rd party repositories / vendors. Michael Andres knows that code path better than me, he'll be back next week. From what I can see in the output you want to install a patch that requires packages with a certain version number, packman does not provide those so in order to install the patch the packages from the official repository have to be installed. Since this is a vendor change zypper will ask if it should be done... Adding mls to double check if the solver should handle that differently. Works like designed, i.e. as requested by the maintenance team. A patch can only be completely ignored, it cannot be ignored in parts. That is, if there is one package that needs to be updated for the patch, the patch is deemed applicable. The patch will then be enforced on all the packages regardless of the vendor. In your case the patch updates the SUSE package "gucharmap", so it is applicable. It will also enforce the update of all the non-SUSE packages regardless of the vendor. I know that this is not super useful, but that's what we had to implement. I think the idea was that you can manually select a patch that was classified as not applicable because of the vendor, and so enforce the updates/vendor changes. I'd guess it was implemented in this way so that no patches are missed. Like in this case it would've been not visible that there is a patch for "gucharmap" if the solver would simply ignore patches that would enforce a vendor change. Given that this is the expected behavior I'm closing the bug as "FEATURE". |