Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-9595

DNF: conflict when trying to update with --security option

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • rhel-8.8.0
    • libsolv
    • None
    • Normal
    • sst_cs_software_management
    • ssg_core_services
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • x86_64
    • None

      What were you trying to do that didn't work?

      Trying to update the system for security fixed only (`yum update --security`), the update fails due to dependencies not being updated as well.

      # rpm -qa | grep elfutils | sort
      elfutils-0.178-7.el8.x86_64
      elfutils-debuginfod-client-0.178-7.el8.x86_64
      elfutils-default-yama-scope-0.178-7.el8.noarch
      elfutils-libelf-0.178-7.el8.x86_64
      elfutils-libs-0.178-7.el8.x86_64
      
      # yum -y install elfutils-libelf-0.178-7.el8.x86_64
      [...]
      # yum update --security
      [...]
      Nothing to do.
      
      # yum -y install elfutils-libelf-0.178-7.el8.i686
      [...]
      # yum update --security
      Updating Subscription Management repositories.
      Unable to read consumer identity
      
      This system is not registered with an entitlement server. You can use subscription-manager to register.
      
      Last metadata expiration check: 0:11:21 ago on Tue 26 Sep 2023 02:18:42 PM CEST.
      Error: 
       Problem: elfutils-libelf-0.178-7.el8.i686 has inferior architecture
        - cannot install both elfutils-libelf-0.188-3.el8.x86_64 and elfutils-libelf-0.178-7.el8.x86_64
        - cannot install the best update candidate for package elfutils-libelf-0.178-7.el8.i686
        - cannot install the best update candidate for package elfutils-libelf-0.178-7.el8.x86_64 

      Please provide the package NVR for which bug is seen:

      libsolv-0.7.20-4.el8_7.x86_64

      How reproducible:

      Always

      Steps to reproduce (see above)

      1. Update the system to latest
      2. Downgrade elfutils to 0.178-7.el8
      3. Install elfutils-libelf-0.178-7.el8.i686
      4. Try executing `yum update --security`

      Expected results

      All elfutils packages get updated simultaneously

      Actual results

      Problems detected

            amatej@redhat.com Ales Matej
            rhn-support-rmetrich Renaud Métrich
            packaging-team-maint packaging-team-maint
            Software Management QE Software Management QE
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: