Announcement

Collapse
No announcement yet.

linux-headers package question

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    linux-headers package question

    Hi folks,

    It will inevitably turn out to be silly newbie question, but here goes. I'm trying to install VMPlayer, and in order to do so it requires me to have linux-headers package coresponding to kernel version. The latter being 3.2.0-17-generic-pae, apt-cache search linux-headers yields the following:


    ania@Ptysiaki:~$ apt-cache search linux-headers
    linux-headers-3.2.0-18 - Header files related to Linux kernel version 3.2.0
    linux-headers-3.2.0-18-generic - Linux kernel headers for version 3.2.0 on 64 bit x86 SMP
    linux-headers-3.2.0-18-virtual - Linux kernel headers for version 3.2.0 on 64 bit x86 Virtual Guests
    linux-headers-generic - Generic Linux kernel headers
    linux-headers-lbm-3.2.0-18-generic - Header files related to linux-backports-modules version 3.2.0
    linux-headers-server - Linux kernel headers on Server Equipment.
    linux-headers-virtual - Linux kernel headers for virtual machines
    linux-libc-dev - Linux Kernel Headers for development
    linux-source-3.2.0 - Linux kernel source for version 3.2.0 with Ubuntu patches
    linux-headers-3.2.0-18-generic-pae - Linux kernel headers for version 3.2.0 on 64 bit x86 SMP
    linux-headers-generic-pae - Generic Linux kernel headers
    linux-headers-lbm-3.2.0-18-generic-pae - Header files related to linux-backports-modules version 3.2.0
    linux-headers-3.2.0-16-lowlatency - Linux kernel headers for version 3.2.0 on x86/x86_64
    linux-headers-3.2.0-18-lowlatency - Linux kernel headers for version 3.2.0 on x86/x86_64
    linux-headers-lowlatency - lowlatency Linux kernel headers
    linux-libc-dev-armel-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-armhf-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-headers-3.2.0-16-lowlatency-pae - Linux kernel headers for version 3.2.0 on x86
    linux-headers-3.2.0-18-lowlatency-pae - Linux kernel headers for version 3.2.0 on x86
    linux-headers-lowlatency-pae - lowlatency Linux kernel headers

    Not a single package has -17 at the end, and so VMPlayer is not happy with either of them. Any workaround for this maybe? Is it a beta issue, or is it here to stay?

    Ahead of the questions of type "what the heck do you need VMPlayer for?", I'm deeply ashamed to admit it's to install itunes I can't seem to connect my iphone to kubuntu, even as a simple external drive, so I figured I'll roll out a cannon to shoot pigeons and install a VMWare with WinXP and perhaps it will be useful for something else than just itunes.

    #2
    I could be wrong here but apt-cache only looks at what cached on your system. You'd have to add the file (download) to your cache.

    Try;

    sudo apt-get install linux-headers-3.2.0-17-generic-pae

    According to Ubuntu, it's in the main repo and the current version is 3.2.0-17.27

    Please Read Me

    Comment


      #3
      Originally posted by Krzysieq View Post
      Ahead of the questions of type "what the heck do you need VMPlayer for?", I'm deeply ashamed to admit it's to install itunes I can't seem to connect my iphone to kubuntu, even as a simple external drive, so I figured I'll roll out a cannon to shoot pigeons and install a VMWare with WinXP and perhaps it will be useful for something else than just itunes.
      Oh, and in regards to this comment - with very few exceptions you likely won't get too many comments in this direction. This forum doesn't have a lot of that.

      Now, why the heck you would buy an iPhone is a totally different matter...

      Please Read Me

      Comment


        #4
        You also need the build-essential package to support VMware Player when it builds its kernel modules. So, do this:

        Code:
        sudo apt-get update && sudo apt-get install build-essential linux-headers-`uname -r`
        Just paste that into your terminal window and you should be good to go.

        Comment


          #5
          I thought it was sufficient to install linux-headers-generic and via dependencies that would pull in the current headers for your build (and keep them updated).
          I'd rather be locked out than locked in.

          Comment


            #6
            Originally posted by oshunluvr View Post
            Now, why the heck you would buy an iPhone is a totally different matter...
            I ask myself this very question eversince I've got it Nice as it is with respect to it's look&feel, software-wise it's quite rubbish. That said, I'm keeping it for now, and I'd like to be able to get the pictures I make out of it. But this is beyond the scope of this thread, or - as You said - beyond the scope of this forum.

            Originally posted by dibl View Post
            You also need the build-essential package to support VMware Player when it builds its kernel modules. So, do this:

            Code:
            sudo apt-get update && sudo apt-get install build-essential linux-headers-`uname -r`
            Just paste that into your terminal window and you should be good to go.
            Code:
            ania@Ptysiaki:~$ sudo apt-get install build-essential linux-headers-`uname -r`
            [sudo] password for ania:
            Reading package lists... Done
            Building dependency tree       
            Reading state information... Done
            E: Unable to locate package linux-headers-3.2.0-17-generic-pae
            E: Couldn't find any package by regex 'linux-headers-3.2.0-17-generic-pae'
            Could it be that the repository doesn't contain that package? I've done apt-get update a couple of hours ago, so I figured there's little sense redoing it right now.

            Comment


              #7
              Is the .18 kernel available to you? I searched the 32bit main repo and .17 was there but now it shows as being deleted. The .18 or .16 kernels are still available so you'll have to change to one of those.

              Out of curiosity, have you tried

              http://everydaylht.com/howtos/deskto...ouch-on-linux/

              Please Read Me

              Comment


                #8
                I switched to .18, now I have these packages:
                Code:
                ii  libselinux1                            2.1.0-4.1ubuntu1                         SELinux runtime shared libraries
                ii  libv4l-0                               0.8.6-1ubuntu1                           Collection of video4linux support libraries
                ii  libv4lconvert0                         0.8.6-1ubuntu1                           Video4linux frame format conversion library
                ii  linux-firmware                         1.71                                     Firmware for Linux kernel drivers
                ii  linux-headers-3.2.0-18                 3.2.0-18.28                              Header files related to Linux kernel version 3.2.0
                ii  linux-headers-3.2.0-18-generic-pae     3.2.0-18.28                              Linux kernel headers for version 3.2.0 on 64 bit x86 SMP
                ii  linux-image-3.2.0-18-generic-pae       3.2.0-18.28                              Linux kernel image for version 3.2.0 on 64 bit x86 SMP
                ii  linux-libc-dev                         3.2.0-18.28                              Linux Kernel Headers for development
                ii  linux-sound-base                       1.0.25+dfsg-0ubuntu1                     base package for ALSA and OSS sound systems
                ii  pptp-linux                             1.7.2-6                                  Point-to-Point Tunneling Protocol (PPTP) Client
                ii  syslinux                               2:4.05+dfsg-2                            collection of boot loaders
                ii  syslinux-common                        2:4.05+dfsg-2                            collection of boot loaders (common files)
                ii  util-linux                             2.20.1-1ubuntu2                          Miscellaneous system utilities
                However, the VMPlayer still won't start. It fails to compile some stuff related to networking. I suppose it'll have to wait until the release, in the meantime I might give Your other idea a shot. But I read that it's a gnome thingy, isn't it?

                Comment


                  #9
                  Originally posted by Krzysieq View Post
                  However, the VMPlayer still won't start. It fails to compile some stuff related to networking. I suppose it'll have to wait until the release, in the meantime I might give Your other idea a shot. But I read that it's a gnome thingy, isn't it?
                  There are some known work-arounds, but which one to use depends on which module isn't compiling. Would you let us know which one is failing? Is it, possibly, vmnet?

                  Comment


                    #10
                    I would guess so, but can't be sure. Here's the screenshot:



                    Uploaded with ImageShack.us

                    In the logs there's nothing of interest however

                    Comment


                      #11
                      perhaps maybe you can do what you need using virtualbox instead of VMware?
                      Mark Your Solved Issues [SOLVED]
                      (top of thread: thread tools)

                      Comment


                        #12
                        There's a known bug with VMware Workstation and Player with Linux kernels 3.2 and 3.3. Here's a patch that will fix the problem.

                        Comment


                          #13
                          Just to expand on this. I got the patch from here:
                          http://weltall.heliohost.org/wordpre...l-3-2-and-3-3/

                          Downloaded the first attachment after "attached files" and extacted the tar into ~/downloads (~being /home).

                          The patch didn't work at first so I had to do it manually (see post 6 on link above)

                          Then I opened /usr/lib/vmware/modules/source in kdesudo dolphin and extracted vmnet.tar. This will give a folder: vmnet-only. Open this, open the terminal in dolphin (view->sidebar? (mine is in german) ) then copy the two files you extracted in ~/Downloads/vmware802fixlinux320/ and copy them over to the /usr/lib/vmware/modules/source/vmnet-only/ now run the patch:
                          Code:
                          patch -p1 < vmware3.2.0.patch
                          You should get an output like this:
                          patching file vmnet-only/filter.c
                          patching file vmnet-only/netif.c
                          patching file vmnet-only/userif.c
                          Now retar /vment-only.
                          If you do this in dolphin you will get a folder called vmnet-only.tar.gz.
                          Rename this to vmnet.tar and you are set.

                          Now start vmware and let it compile.
                          This worked fine on kernel 3.2.0.17 On Kubuntu 11.10 KDE 4.8.1

                          Hope this is helpful
                          Last edited by Fintan; Mar 12, 2012, 02:21 AM.
                          HP Pavilion dv6 core i7 (Main)
                          4 GB Ram
                          Kubuntu 18.10

                          Comment

                          Working...
                          X