Bug 2088149
Summary: | Performing security update from RHEL 8.5 to RHEL 8.6 causes dependency errors. | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Ameya Patil <amepatil> | |
Component: | libdnf | Assignee: | amatej | |
Status: | CLOSED ERRATA | QA Contact: | Eva Mrakova <emrakova> | |
Severity: | urgent | Docs Contact: | Mariya Pershina <mpershin> | |
Priority: | high | |||
Version: | 8.5 | CC: | amatej, aperotti, bkaraore, blentz, daniel.robinson, james.antill, jcastran, kwalker, laurent.liegeois, lmanasko, mbanas, mblaha, mdchansl, miturria, mpershin, msunil, prjagtap, rcavalca, spanjikk, thomas.rumbaut | |
Target Milestone: | rc | Keywords: | Triaged, ZStream | |
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | libdnf-0.63.0-10.el8 | Doc Type: | Known Issue | |
Doc Text: |
.A security YUM upgrade fails for packages that change their architecture through the upgrade
The patch for link:https://bugzilla.redhat.com/show_bug.cgi?id=2088149[BZ#2088149], released with the link:https://access.redhat.com/errata/RHBA-2022:7711[RHBA-2022:7711] advisory, introduced the following regression: The YUM upgrade using security filters fails for packages that change their architecture from or to `noarch` through the upgrade. Consequently, it can leave the system in a vulnerable state.
To work around this problem, perform the regular upgrade without security filters.
|
Story Points: | --- | |
Clone Of: | ||||
: | 2095764 (view as bug list) | Environment: | ||
Last Closed: | 2022-11-08 10:47:13 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 2095764 |
Description
Ameya Patil
2022-05-18 19:53:09 UTC
*** Bug 2090785 has been marked as a duplicate of this bug. *** The workaround doesn't work for me. I cannot upgrade 8.6 without adding the --nobest option or I get: Error: Problem 1: cannot install the best update candidate for package samba-client-4.15.5-5.el8.x86_64 - nothing provides samba-client-libs = 4.15.5-8.el8_6 needed by samba-client-4.15.5-8.el8_6.x86_64 Problem 2: cannot install the best update candidate for package samba-common-libs-4.15.5-5.el8.x86_64 - nothing provides samba-client-libs = 4.15.5-8.el8_6 needed by samba-common-libs-4.15.5-8.el8_6.x86_64 Problem 3: package samba-client-libs-4.15.5-5.el8.x86_64 requires samba-common = 4.15.5-5.el8, but none of the providers can be installed - cannot install both samba-common-4.15.5-8.el8_6.noarch and samba-common-4.15.5-5.el8.noarch - cannot install the best update candidate for package samba-common-4.15.5-5.el8.noarch - cannot install the best update candidate for package samba-client-libs-4.15.5-5.el8.x86_64 (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) very similar issue and i cannot upgrade 8.6 Updating Subscription Management repositories. Last metadata expiration check: 0:00:31 ago on Tue 28 Jun 2022 08:47:53 PM CEST. Error: Problem 1: cannot install the best update candidate for package samba-client-4.15.5-5.el8.x86_64 - nothing provides samba-client-libs = 4.15.5-8.el8_6 needed by samba-client-4.15.5-8.el8_6.x86_64 Problem 2: cannot install the best update candidate for package samba-common-libs-4.15.5-5.el8.x86_64 - nothing provides samba-client-libs = 4.15.5-8.el8_6 needed by samba-common-libs-4.15.5-8.el8_6.x86_64 Problem 3: package samba-client-libs-4.15.5-5.el8.x86_64 requires samba-common = 4.15.5-5.el8, but none of the providers can be installed - cannot install both samba-common-4.15.5-8.el8_6.noarch and samba-common-4.15.5-5.el8.noarch - cannot install the best update candidate for package samba-common-4.15.5-5.el8.noarch - cannot install the best update candidate for package samba-client-libs-4.15.5-5.el8.x86_64 (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) Looks like #17 and #18 are indicating a separate bug. From what I can see, https://access.redhat.com/errata/RHBA-2022:5315 (RHEL 8) released only 2 updated packages: - samba-common-4.15.5-8.el8_6.noarch.rpm - samba-common-libs-4.15.5-8.el8_6.x86_64.rpm But at least the following packages are missing: - samba-client-libs-4.15.5-8.el8_6.noarch.rpm - samba-common-tools-4.15.5-8.el8_6.noarch.rpm - python3-samba-4.15.5-8.el8_6.x86_64.rpm Similar updates for RHEL 9 (https://access.redhat.com/errata/RHBA-2022:5247) and RHEL 7 (https://access.redhat.com/errata/RHBA-2022:5229) do contain more updated packages. Reference to related Bug 2101982 (yum update is failing due to missing samba-client-libs-4.15.5-8.el8_6.x86_64 package). Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (libdnf bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:7711 |