Results 1 to 3 of 3

Thread: Cannot uninstall package: package kernel-devel-4.11.3-1.2.noarch is not installed

  1. #1

    Default Cannot uninstall package: package kernel-devel-4.11.3-1.2.noarch is not installed

    Hi! I have a problem with one RPM package

    Code:
    zypper se -s kernel-devel
    Loading repository data...
    Reading installed packages...
    
    S  | Name         | Type    | Version    | Arch   | Repository       
    ---+--------------+---------+------------+--------+------------------
    i+ | kernel-devel | package | 4.11.3-1.2 | noarch | (System Packages)
    i+ | kernel-devel | package | 4.14.2-1.6 | noarch | repo-oss
    I'd like to uninstall 4.11.3-1.2 version:

    Code:
    zypper rm kernel-devel-4.11.3-1.2
    Loading repository data...
    Reading installed packages...
    Resolving package dependencies...
    
    The following package is going to be REMOVED:
      kernel-devel-4.11.3-1.2
    
    1 package to remove.
    After the operation, 55.2 MiB will be freed.
    Continue? [y/n/...? shows all options] (y): y
    (1/1) Removing kernel-devel-4.11.3-1.2.noarch ...................................................[error]
    Removal of (685)kernel-devel-4.11.3-1.2.noarch(@System) failed:
    Error: Subprocess failed. Error: RPM failed: error: package kernel-devel-4.11.3-1.2.noarch is not installed
    Same error when I try to remove all versions via "zypper rm kernel-devel"

    A few ancient mentions of such problem exist on the internet, but nothing helps in my case. Force update doesn't work either.

    How to get rid of this package?

  2. #2
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    6,721

    Default AW: Cannot uninstall package: package kernel-devel-4.11.3-1.2.noarch is not installed

    As root:
    Code:
    rpm --rebuilddb
    Code:
    zypper clean -a
    Can you delete it then?


    In Tumbleweed only use
    Code:
    zypper dup
    for Update the System.

  3. #3

    Default Re: Cannot uninstall package: package kernel-devel-4.11.3-1.2.noarch is not installed

    Code:
    rpm --rebuilddb && zypper clean -a
    Worked! This package disappeared
    Thank you, Sauerland

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •