Kernel 4.4 in Linux Mint 17.3 x64 - installation error

Discussion in 'Linux' started by SOCRATE_MMXII, Jan 12, 2016.

  1. SOCRATE_MMXII

    SOCRATE_MMXII MDL Expert

    Jan 25, 2012
    1,034
    315
    60
    I'm using Linux Mint KDE 17.3 x64 and default it comes with kernel 3.19. I've tried to upgrade to 4.3.3, but it doesn't get along at all with my ATi video card, messed up my installation, thus I had to reinstall.
    Kernel 4.4 LTS, released 2 days ago, should have better support for my ATi, so I wanted to install it using the following commands:
    $ cd /tmp
    $ wget \
    kernel.ubuntu.com/~kernel-ppa/mainline/v4.4-wily/linux-headers-4.4.0-040400_4.4.0-040400.201601101930_all.deb \
    kernel.ubuntu.com/~kernel-ppa/mainline/v4.4-wily/linux-headers-4.4.0-040400-generic_4.4.0-040400.201601101930_amd64.deb \
    kernel.ubuntu.com/~kernel-ppa/mainline/v4.4-wily/linux-image-4.4.0-040400-generic_4.4.0-040400.201601101930_amd64.deb

    Install the Kernel:

    $ sudo dpkg -i linux-headers-4.4*.deb linux-image-4.4*.deb

    Unfortunately, the installation part went...weird. Here's the log:
    mint@mint:tmp > sudo dpkg -i linux-headers-4.4*.deb linux-image-4.4*.deb

    Selecting previously unselected package linux-headers-4.4.0-040400.
    (Reading database ...
    176792 files and directories currently installed.)

    Preparing to unpack linux-headers-4.4.0-040400_4.4.0-040400.201601101930_all.deb
    ...
    Unpacking linux-headers-4.4.0-040400 (4.4.0-040400.201601101930) ...

    Selecting previously unselected package linux-headers-4.4.0-040400-generic.

    Preparing to unpack linux-headers-4.4.0-040400-generic_4.4.0-040400.201601101930_amd64.deb
    ...
    Unpacking linux-headers-4.4.0-040400-generic (4.4.0-040400.201601101930)
    ...
    Selecting previously unselected package linux-image-4.4.0-040400-generic.

    Preparing to unpack linux-image-4.4.0-040400-generic_4.4.0-040400.201601101930_amd64.deb ...
    Done.

    Unpacking linux-image-4.4.0-040400-generic (4.4.0-040400.201601101930) ...
    dpkg: error processing archive linux-image-4.4.0-040400-generic_4.4.0-040400.201601101930_amd64.deb (--install):
    corrupted filesystem tarfile - corrupted package archive
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

    Examining /etc/kernel/postrm.d .
    run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-040400-generic /boot/vmlinuz-4.4.0-040400-generic
    run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-040400-generic /boot/vmlinuz-4.4.0-040400-generic

    The link /vmlinuz is a damaged link
    Removing symbolic link vmlinuz
    you may need to re-run your boot loader[grub]

    The link /initrd.img is a damaged link

    Removing symbolic link initrd.img
    you may need to re-run your boot loader[grub]

    Setting up linux-headers-4.4.0-040400 (4.4.0-040400.201601101930)
    ...
    Setting up linux-headers-4.4.0-040400-generic (4.4.0-040400.201601101930)
    ...
    Examining /etc/kernel/header_postinst.d.
    run-parts: executing /etc/kernel/header_postinst.d/dkms 4.4.0-040400-generic /boot/vmlinuz-4.4.0-040400-generic

    Error! Bad return status for module build on kernel: 4.4.0-040400-generic (x86_64)
    Consult /var/lib/dkms/ndiswrapper/1.59/build/make.log for more information.

    Error! Bad return status for module build on kernel: 4.4.0-040400-generic (x86_64)
    Consult /var/lib/dkms/virtualbox-guest/5.0.4/build/make.log for more information.

    Errors were encountered while processing:
    linux-image-4.4.0-040400-generic_4.4.0-040400.201601101930_amd64.deb

    mint@mint:/tmp > sudo update-grub
    /usr/sbin/grub-probe:
    error: failed to get canonical path of `/cow'.

    mint@mint:/tmp > sudo apt-get remove linux-headers-4.4* linux-image-4.4*
    Reading package lists... Done

    Building dependency tree
    Reading state information... Done

    E: Unable to locate package linux-headers-4.4.0-040400_4.4.0-040400.201601101930_all.deb

    E: Couldn't find any package by regex 'linux-headers-4.4.0-040400_4.4.0-040400.201601101930_all.deb'

    E: Unable to locate package linux-headers-4.4.0-040400-generic_4.4.0-040400.201601101930_amd64.deb

    E: Couldn't find any package by regex 'linux-headers-4.4.0-040400-generic_4.4.0-040400.201601101930_amd64.deb'

    E: Unable to locate package linux-image-4.4.0-040400-generic_4.4.0-040400.201601101930_amd64.deb

    E: Couldn't find any package by regex 'linux-image-4.4.0-040400-generic_4.4.0-040400.201601101930_amd64.deb'

    I've also downloaded the 3 *.deb files individually from Ubuntu Wily repository, copied them in /tmp, but the errors were the same. Anyone had any luck upgrading to 4.4 without problems?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Mutagen

    Mutagen MDL Addicted

    Feb 18, 2013
    579
    122
    30
    I have Linux Mint Cinnamon 17.3 x64, but I'm not clear if it's KDE or xfce. My video card is nvidia in a Dell M4700 laptop. If I tried it, would the results (positive or negative) be of value to you?

    It's all backed up with Acronis, so no problem if it blows up. Even if it did blow up, I can do a clean install in way less time than any Win OS.
     
  3. Mutagen

    Mutagen MDL Addicted

    Feb 18, 2013
    579
    122
    30
    Did it. I guess it worked. When I run 'uname -r' in the terminal, it returns with:

    "4.4.0-040400-generic"

    Hope this helps.
     
  4. wmh

    wmh MDL Junior Member

    Jun 30, 2015
    99
    16
    0
    Mine is at version 3.16.0-38-generic. If I upgrade it will it break the system (not backed up)? Cinnamon x64 17.3 version.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Mutagen

    Mutagen MDL Addicted

    Feb 18, 2013
    579
    122
    30
    Right now the score is tied at 1. The OP's broke, mine didn't. We need a tie breaker:)

    It's your decision to take the risk. I never did ask what is so great about the latest kernel, and I don't notice anything obvious.

    BTW - I had a little trouble with the script file. Could well be my fault, but I couldn't get the single 'wget' command to grab all three packages at once. I did 'wget' three times, once for each package.
     
  6. Superfly

    Superfly MDL Expert

    Jan 12, 2010
    1,141
    543
    60
    #6 Superfly, Jan 13, 2016
    Last edited: Jan 13, 2016
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. wmh

    wmh MDL Junior Member

    Jun 30, 2015
    99
    16
    0
    #7 wmh, Jan 15, 2016
    Last edited: Jan 15, 2016
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Superfly

    Superfly MDL Expert

    Jan 12, 2010
    1,141
    543
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. SOCRATE_MMXII

    SOCRATE_MMXII MDL Expert

    Jan 25, 2012
    1,034
    315
    60
    It seems that kernel 4.4 doesn't play well with my ATi video card. I decided to not bother. I'm pretty sure Linux Mint 18 Sarah will have it. 4 months of waiting... :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. wmh

    wmh MDL Junior Member

    Jun 30, 2015
    99
    16
    0
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Mutagen

    Mutagen MDL Addicted

    Feb 18, 2013
    579
    122
    30
    #11 Mutagen, Jan 15, 2016
    Last edited: Jan 15, 2016
    Wonderful. Didn't we just spend 4 months waiting out the jump from 17.2 to 17.3?

    (I know, it's not exactly the same thing. But it makes us look like like the M$ Windows crowd: It just doesn't matter what is available today, got to have the 'next' build/release, knowing full well they "can't get no - satisfaction" from that either).
     
  12. SOCRATE_MMXII

    SOCRATE_MMXII MDL Expert

    Jan 25, 2012
    1,034
    315
    60
    #12 SOCRATE_MMXII, Jan 15, 2016
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Type in terminal opened in that folder:
    Code:
    sudo dpkg -i *.deb
    then
    Code:
    sudo update grub
    then reboot
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Superfly

    Superfly MDL Expert

    Jan 12, 2010
    1,141
    543
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. SOCRATE_MMXII

    SOCRATE_MMXII MDL Expert

    Jan 25, 2012
    1,034
    315
    60
    Well...I'm not into "I must have the latest and the greatest". I was interested in 4.4 because of its improvements. 3.19 does its work pretty well. I'm not a gamer anymore, but just for the sake of it I wanted to see if 4.4 is better than 3.19.
    I also heard that clem (linux mint main developer) will add Plasma 5 (Windows 8 "flat look") to Linux Mint 18 Sarah. If that's going to be the case, then I'll stay on 17.3...forever.
    Or somebody will keep updating KDE 4.x by forking it, as they did with KDE 3.x which has been forked to TDE (Trinity Desktop Environment). At first glance, I was pissed at KDE 4.x the way it worked, but lucky me, I wasn't coming from KDE 3.x, so it wasn't a huge learning curve.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. windsman

    windsman MDL Expert

    Jan 11, 2010
    1,341
    1,007
    60
    #15 windsman, Feb 8, 2016
    Last edited by a moderator: Apr 20, 2017
    Kernel 4.4.1 successfully installed on Mint without problem, all run fine :

    Download :

    Code:
    $ wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.1-wily/linux-headers-4.4.1-040401_4.4.1-040401.201601311534_all.deb
    $ wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.1-wily/linux-headers-4.4.1-040401-generic_4.4.1-040401.201601311534_amd64.deb
    $ wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.1-wily/linux-image-4.4.1-040401-generic_4.4.1-040401.201601311534_amd64.deb
    
    Install

    Code:
    $ sudo dpkg -i linux-headers-4.4.1*.deb linux-image-4.4.1*.deb
    Reboot

    Code:
    sudo reboot
    Uninstall in case of problems

    Code:
    sudo apt-get remove 'linux-headers-4.4.1*' 'linux-image-4.4.1*'
    windsman.
     

    Attached Files:

    • lk.png
      lk.png
      File size:
      9.8 KB
      Views:
      4
  16. ausernamenoonehas

    ausernamenoonehas MDL Member

    Aug 2, 2015
    239
    39
    10
    Just to throw it in, I've been reading Linux Mint 18 Sarah will have systemd and that quite a few folk ain't too happy about it.

    One poster going as far as labeling it flat out malware! and many saying Linux Mint 17 will be the last version they'll be using.

    I'm a noob to Linux, so what do I know? But there appears to be quite a few folk who seem to know their stuff saying really bad things about systemd ...o_O
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. SOCRATE_MMXII

    SOCRATE_MMXII MDL Expert

    Jan 25, 2012
    1,034
    315
    60
    #17 SOCRATE_MMXII, Feb 9, 2016
    Last edited: Feb 9, 2016
    (OP)
    @ausernamenoonehas: 17.3 Rosa is based on 14.04 LTS, which is supported until 2019.
    I'm fine with that. Windows 7 SP1 extended support will last until 2020, also. After that, I'll switch to another linux distro that will comply to my own standard, unless Linux Mint developers will keep this distro systemd-free and geoclue-free.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. Mutoid

    Mutoid MDL Member

    Sep 23, 2015
    182
    24
    10
    #18 Mutoid, Feb 10, 2016
    Last edited: Feb 10, 2016
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. ausernamenoonehas

    ausernamenoonehas MDL Member

    Aug 2, 2015
    239
    39
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. Mutoid

    Mutoid MDL Member

    Sep 23, 2015
    182
    24
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...