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

dnf versionlock broken

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-9.6
    • dnf
    • None
    • No
    • None
    • Upstream
    • rhel-swm
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • x86_64
    • None

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

      dnf update without removing specified kernel

      What is the impact of this issue to you?

      lost working kernel

      Please provide the package NVR for which the bug is seen:

      python3-dnf-plugin-versionlock-4.3.0-20.el9

      How reproducible is this bug?:

      Looks likely to be consistant

      Steps to reproduce

      1. Install python3-dnf-plugin-versionlock
      2. lock package
      3. dnf update

      Expected results

      Locked package is not removed

      Actual results

      Locked package removed:-

      ...
      Removed:
        kernel-5.14.0-570.18.1.el9_6.x86_64                                 kernel-core-5.14.0-570.18.1.el9_6.x86_64                      
        kernel-devel-5.14.0-570.18.1.el9_6.x86_64                           kernel-modules-5.14.0-570.18.1.el9_6.x86_64                   
        kernel-modules-core-5.14.0-570.18.1.el9_6.x86_64                   
      
      Complete!
      [admin@server ~]$ sudo dnf versionlock
      [sudo] password for admin: 
      Updating Subscription Management repositories.
      Last metadata expiration check: 2:21:56 ago on Sat 12 Jul 2025 10:09:27 BST.
      kernel-0:5.14.0-570.18.1.el9_6.*
      kernel-0:5.14.0-570.24.1.el9_6.*
      [admin@server ~]$
      

              packaging-team-maint packaging-team-maint
              extrapseud Morgan Read
              packaging-team-maint packaging-team-maint
              Software Management QE Software Management QE
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: