Results 1 to 5 of 5

Thread: Help! no zypper dup due to kernel-default-extra

  1. #1
    Join Date
    Nov 2008
    Location
    Hamburg
    Posts
    237

    Default Help! no zypper dup due to kernel-default-extra

    After latest kernel upgrade there is no more kernel-default-extra, after successfull upgrade extra was left installed, so I wanted to remove it by force (after inspecting the new kernel-default.rpm: I found it provides all files kernel-default-extra package had before):
    rpm --erase --nodeps kernel-default-extra-xxx.xx

    It has done, but now zypper is broken, I have tried already rpm --rebuilddb
    Code:
    zypper -v dup
    Verbosity: 1
    Initializing Target
    Loading repository data...
    Reading installed packages...
    Computing distribution upgrade...
    Force resolution: No
    Computing upgrade...
    
    Problem: This request will break your system!
      nothing provides requested kernel-default-extra
    Have you enabled all requested repositories?
     Solution 1: ignore the warning of a broken system (requires:kernel-default-extra)
    
    Choose the above solution using '1' or cancel using 'c' [1/c] (c): 1
    Applying solution 1
    Resolving dependencies...
    Computing distribution upgrade...
    Force resolution: No
    Computing upgrade...
    
    Problem: This request will break your system!
      nothing provides requested kernel-default-extra
    Have you enabled all requested repositories?
     Solution 1: ignore the warning of a broken system (requires:kernel-default-extra)
    
    Choose the above solution using '1' or cancel using 'c' [1/c] (c): 1
    Applying solution 1
    Resolving dependencies...
    Computing distribution upgrade...
    Force resolution: No
    Computing upgrade...
    
    Problem: This request will break your system!
      nothing provides requested kernel-default-extra
    Have you enabled all requested repositories?
     Solution 1: ignore the warning of a broken system (requires:kernel-default-extra)
    
    Choose the above solution using '1' or cancel using 'c' [1/c] (c):

  2. #2
    Join Date
    Nov 2008
    Location
    Hamburg
    Posts
    237

    Red face [solved] shot myself into the knie

    "shot myself into the knie" is a german saw allowing you to lough like about Chaplin. It's like to be vice president going for a hunt with friends but all allone: impossible but worked!

    Five days ago, making a dist-upgrade 11.1 to 11.2 and loosing zypper, I had put this into /etc/zypp/systemCheck :
    Code:
    ##
    ## This file contains requirements/conflicts which fulfill the
    ## needs of a running system.
    ## For example the system would be broken if not glibc or kernel is
    ## installed.
    ## So the user will be informed if these packages will be deleted.
    ##
    ## format: Each line represents one dependency:
    ## e.g.
    ## requires:kernel
    ## requires:glibc
    
    requires:glibc
    requires:zypper
    requires:kernel-default
    requires:kernel-default-base
    requires:kernel-default-extra
    Now that "kernel-default-extra" vanished from the repos I was lost, because I didn't remembered ....

    Should I make a bug out of it

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,925
    Blog Entries
    14

    Default Re: [solved] shot myself into the knie

    This is typically happening when '--nodeps' is being used. Never Never use that. On my laptop it's all working as it should, incl. zypper. My /etc/zypp/systemCheck looks like this, I think yours should look the same now:

    ##
    ## This file contains requirements/conflicts which fulfill the
    ## needs of a running system.
    ## For example the system would be broken if not glibc or kernel is
    ## installed.
    ## So the user will be informed if these packages will be deleted.
    ##
    ## format: Each line represents one dependency:
    ## e.g.
    ## requires:kernel
    ## requires:glibc

    requires:glibc

    Changing the file like this should solve your trouble AFAIK.

    Good luck
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  4. #4
    Join Date
    Nov 2008
    Location
    Hamburg
    Posts
    237

    Default Re: Help! no zypper dup due to kernel-default-extra

    Knurpht,
    shouldn't zypper mention it as an entry of /etc/zypp/systemCheck that makes all unsolvable? Should we open a bug for the zypper wishlist?

  5. #5
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,925
    Blog Entries
    14

    Default Re: Help! no zypper dup due to kernel-default-extra

    I honestly wouldn't know. What I do know, is that sometimes the Software Installer gives a bit more info and solutions than zypper from a terminal.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

Posting Permissions

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