Old kmod-kvdo package cannot be uninstalled

Solution Verified - Updated -

Issue

  • After updating the system with yum , the old kmod-kvdo package is still installed and cannot be removed.

    root# rpm -q kmod-kvdo
    kmod-kvdo-6.1.0.171-17.el7_5.x86_64
    kmod-kvdo-6.1.0.181-17.el7_5.x86_64
    
  • Manually removing the old kmod-kvdo package fails.

    root# yum remove kmod-kvdo-6.1.0.171
    Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
    This system is not registered with an entitlement server. You can use subscription-manager to register.
    Resolving Dependencies
    --> Running transaction check
    ---> Package kmod-kvdo.x86_64 0:6.1.0.171-17.el7_5 will be erased
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ===================================================================================================================
    Package                  Arch                  Version                            Repository                 Size
    ===================================================================================================================
    Removing:
    kmod-kvdo                x86_64                6.1.0.171-17.el7_5                 @LocalRHEL                1.3 M
    
    Transaction Summary
    ===================================================================================================================
    Remove  1 Package
    
    Installed size: 1.3 M
    Is this ok [y/N]: y
    Downloading packages:
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
    modprobe: FATAL: Module kvdo is in use.
    modprobe: FATAL: Module uds is in use.
    error: %preun(kmod-kvdo-6.1.0.171-17.el7_5.x86_64) scriptlet failed, exit status 1
    Error in PREUN scriptlet in rpm package kmod-kvdo-6.1.0.171-17.el7_5.x86_64
    Verifying  : kmod-kvdo-6.1.0.171-17.el7_5.x86_64                                                             1/1
    
    Failed:
    kmod-kvdo.x86_64 0:6.1.0.171-17.el7_5
    
    Complete!
    

Environment

  • Red Hat Enterprise Linux 7.5
  • kmod-kvdo

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content