Results 1 to 8 of 8

Thread: Unable to install kernel source on open SUSE 11.1 amd 64

  1. #1

    Angry Unable to install kernel source on open SUSE 11.1 amd 64

    Hello guys! In order to install vmware 6.5 I needed gcc and kernel source packages. kernel source installation fails with error:

    installing: kernel-source-2.6.27.19-3.2.1 [error]
    Installation of kernel-source-2.6.27.19-3.2.1 failed:
    (with --nodeps --force) Error: Subprocess failed. Error: RPM failed: ln: creating symbolic link `/usr/src/linux-obj/x86_64/default': No such file or directory
    error: %post(kernel-source-2.6.27.19-3.2.1.i586) scriptlet failed, exit status 1

    I tried with zypper and through YAST. Same result...

  2. #2

    Default Re: Unable to install kernel source on open SUSE 11.1 amd 64

    Deinstall kernel-source, remove all symbolic links or folders containing "linux" in /usr/src/ and reinstall kernel-source.

    I would also install kernel-syms together with kernel-source.

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,662
    Blog Entries
    14

    Default Re: Unable to install kernel source on open SUSE 11.1 amd 64

    Did you remove things by hand? It's the second time in a couple of days that i see people using a nodeps option. And all this on something concerning the linux kernel. Yes, it is possible to build kernel-modules that damage your hardware. This should never be done.


    QUOTE](with --nodeps --force) Error: Subprocess failed. Error: RPM failed: ln: creating symbolic link `/usr/src/linux-obj/x86_64/default': No such file or directory
    error: %post(kernel-source-2.6.27.19-3.2.1.i586) scriptlet failed, exit status 1 [/QUOTE]

    This explains it all: you are mixing x86_64 and i586 packages. Either a 64-bit running kernel with 32-bit kernel-sources or the other way around.

    If the rest of your system is the same, you definitely should reinstall, there's no way that you'll end up with a stable system.
    There are 32-bit packages for 64-bit systems, but they are compiled for 64bit systems. You'll recvognize them from their '32bit' part in the names.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  4. #4

    Default Re: Unable to install kernel source on open SUSE 11.1 amd 64

    Ehm, this "nodeps and force" is done by YaST/zypper (not kidding).

    Looks really strange but YaST/zypper resolve dependencies before installing, so no worries there.

    //Edit:

    This explains it all: you are mixing x86_64 and i586 packages.
    Oh, well spotted, I missed that one out, yeah, mixing i586 and x86_64 is of course a _very_ bad idea.

  5. #5

    Default Re: Unable to install kernel source on open SUSE 11.1 amd 64

    I have x64 and yast installed 32-bit kernel source by default. This is definitely a bug.

  6. #6
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,729
    Blog Entries
    20

    Default Re: Unable to install kernel source on open SUSE 11.1 amd 64

    In a terminal do

    uname -a

    post here
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  7. #7

    Default Re: Unable to install kernel source on open SUSE 11.1 amd 64

    OK selected x64 version from yast and everything is working like a charm. Even vmware compiles its modules without problems. Thanks guys.

  8. #8
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,729
    Blog Entries
    20

    Default Re: Unable to install kernel source on open SUSE 11.1 amd 64

    You figured it out - well done!
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

Tags for this Thread

Posting Permissions

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