Announcement

Collapse
No announcement yet.

Failure when attempting to update kernel from 7.0.0-22-generic (64-bit) to 7.0.0-27-generic

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] Failure when attempting to update kernel from 7.0.0-22-generic (64-bit) to 7.0.0-27-generic

    I'm getting an error when trying to update the kernel:

    Code:
    Setting up linux-image-7.0.0-27-generic (7.0.0-27.27)…
    Setting up linux-headers-7.0.0-27-generic (7.0.0-27.27)…
    /etc/kernel/header_postinst.d/dkms:
    Sign command: /usr/bin/kmodsign
    Signing key: /var/lib/shim-signed/mok/MOK.priv
    Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
    
    Autoinstall of module hid-xpadneo/v0.9-222-gcd25680 for kernel 7.0.0-27-generic (x86_64)
    Building module(s)...(bad exit status: 2)
    Failed command:
    make -j12 KERNELRELEASE=7.0.0-27-generic -C '/lib/modules/7.0.0-27-generic/build' M='/var/lib/dkms/hid-xpadneo/v0.9-222-gcd25680/build/src' VERSION='v0.9-222-gcd25680' modules
    ERROR (dkms apport): binary package for hid-xpadneo: v0.9-222-gcd25680 not found
    
    Error! Bad return status for module build on kernel: 7.0.0-27-generic (x86_64)
    Consult /var/lib/dkms/hid-xpadneo/v0.9-222-gcd25680/build/make.log for more information.
    
    Autoinstall on 7.0.0-27-generic succeeded for module(s) openrazer-driver.
    Autoinstall on 7.0.0-27-generic failed for module(s) hid-xpadneo(10).
    
    Error! One or more modules failed to install during autoinstall.
    Refer to previous errors for more information.
    run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 1
    dpkg: error processing package linux-headers-7.0.0-27-generic (--configure):
     old linux-headers-7.0.0-27-generic package postinst maintainer script subprocess failed with exit status 1
    dpkg: dependency problems prevent configuration of linux-headers-generic:
     linux-headers-generic depends on linux-headers-7.0.0-27-generic; however:
      Package linux-headers-7.0.0-27-generic is not configured yet.
    
    dpkg: error processing package linux-headers-generic (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of linux-generic:
     linux-generic depends on linux-headers-generic (= 7.0.0-27.27); however:
      Package linux-headers-generic is not configured yet.
    
    dpkg: error processing package linux-generic (--configure):
     dependency problems - leaving unconfigured
    No apport report written because the error message indicates its a followup error from a previous failure.
           No apport report written because the error message indicates its a followup error from a previous failure.
                  Processing triggers for linux-image-7.0.0-27-generic (7.0.0-27.27)…
    /etc/kernel/postinst.d/dkms:
    Sign command: /usr/bin/kmodsign
    Signing key: /var/lib/shim-signed/mok/MOK.priv
    Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
    
    Autoinstall of module hid-xpadneo/v0.9-222-gcd25680 for kernel 7.0.0-27-generic (x86_64)
    Building module(s)...(bad exit status: 2)
    Failed command:
    make -j12 KERNELRELEASE=7.0.0-27-generic -C '/lib/modules/7.0.0-27-generic/build' M='/var/lib/dkms/hid-xpadneo/v0.9-222-gcd25680/build/src' VERSION='v0.9-222-gcd25680' modules
    ERROR (dkms apport): binary package for hid-xpadneo: v0.9-222-gcd25680 not found
    
    Error! Bad return status for module build on kernel: 7.0.0-27-generic (x86_64)
    Consult /var/lib/dkms/hid-xpadneo/v0.9-222-gcd25680/build/make.log for more information.
    
    Autoinstall on 7.0.0-27-generic succeeded for module(s) openrazer-driver.
    Autoinstall on 7.0.0-27-generic failed for module(s) hid-xpadneo(10).
    
    Error! One or more modules failed to install during autoinstall.
    Refer to previous errors for more information.
    run-parts: /etc/kernel/postinst.d/dkms exited with return code 1
    dpkg: error processing package linux-image-7.0.0-27-generic (--configure):
     old linux-image-7.0.0-27-generic package postinst maintainer script subprocess failed with exit status 1
    No apport report written because MaxReports is reached already
                                                                  Errors were encountered while processing:
     linux-headers-7.0.0-27-generic
     linux-headers-generic
     linux-generic
     linux-image-7.0.0-27-generic
    Error: Sub-process /usr/bin/dpkg returned an error code (1)
    
    ​
    It looks like there's a problem with the `xpadneo` driver for my Xbox controller...does anyone know if this driver is still useful (I installed it years ago and it's remained through various upgrades)? I have a suspicion that I definitely don't need it when running games through Steam, but it may still be necessary for other games?
    Last edited by jrwatts; Yesterday, 03:16 PM.

    #2
    xpadneo is blocking the update
    rather that just deleting it you can test if everything still works by just removing it from DKMS 1st with
    Code:
    sudo dkms remove hid-xpadneo/v0.9-222-gcd25680 --all
    Then finish the kernel installation:
    Code:
    sudo dpkg --configure -a
    Code:
    sudo apt --fix-broken install​
    then reboot , and test steam and a few games . If everything works you can permanently remove the package

















    ʟɨռʊӼ ʄօʀ ʟɨʄɛ

    Comment


      #3
      I managed to solve the problem by returning to the xpadneo github and downloading and installing the latest version (I had forgotten it wasn't a .deb package and therefore wasn't being automatically updated). Updating to version 0.10.4 seems to have solved the issue. Thanks for the help, anyway!
      Last edited by jrwatts; Today, 05:29 AM.

      Comment


        #4
        good job
        ʟɨռʊӼ ʄօʀ ʟɨʄɛ

        Comment

        Users Viewing This Topic

        Collapse

        There are 0 users viewing this topic.

        Working...
        X