RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    cannot update status dkpg error(Pi5)

    Scheduled Pinned Locked Moved Help and Support
    retropiepi5updateraspberry pi 5software update
    3 Posts 2 Posters 254 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      retro777
      last edited by

      Hi
      I use raspberry pi5 and retropie
      someday, i cant update on my pcb.

      show message is ...
      E: Sub-process /usr/bin/dpkg returned an error code (1)

      anyone any ideas?
      i try sudo apt-get install -f

      sudo apt-get install -f
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      The following packages were automatically installed and are no longer required:
        libatomic1:armhf libbz2-1.0:armhf libcom-err2:armhf libdb5.3:armhf libexpat1:armhf libffi8:armhf libgpm2:armhf
        libgssapi-krb5-2:armhf libk5crypto3:armhf libkeyutils1:armhf libkrb5-3:armhf libkrb5support0:armhf liblzma5:armhf
        libncursesw6:armhf libnsl2:armhf libpython3-stdlib:armhf libpython3.11-minimal:armhf libpython3.11-stdlib:armhf libreadline8:armhf
        libsqlite3-0:armhf libssl3:armhf libtinfo6:armhf libtirpc3:armhf libuuid1:armhf zlib1g:armhf
      Use 'sudo apt autoremove' to remove them.
      0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
      1 not fully installed or removed.
      After this operation, 0 B of additional disk space will be used.
      Setting up linux-headers-6.6.20+rpt-rpi-2712 (1:6.6.20-1+rpt1) ...
      /etc/kernel/header_postinst.d/dkms:
      dkms: running auto installation service for kernel 6.6.20+rpt-rpi-2712.
      Sign command: /lib/modules/6.6.20+rpt-rpi-2712/build/scripts/sign-file
      Signing key: /var/lib/dkms/mok.key
      Public certificate (MOK): /var/lib/dkms/mok.pub
      
      Building module:
      Cleaning build area...(bad exit status: 2)
      make -j4 KERNELRELEASE=6.6.20+rpt-rpi-2712 -C /lib/modules/6.6.20+rpt-rpi-2712/build M=/var/lib/dkms/hid-xpadneo/v0.9.6/build/src VERSION=v0.9.6 modules...(bad exit status: 2)
      Error! Bad return status for module build on kernel: 6.6.20+rpt-rpi-2712 (aarch64)
      Consult /var/lib/dkms/hid-xpadneo/v0.9.5/build/make.log for more information.
      Error! One or more modules failed to install during autoinstall.
      Refer to previous errors for more information.
      dkms: autoinstall for kernel: 6.6.20+rpt-rpi-2712 failed!
      run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
      Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-6.6.20+rpt-rpi-2712.postinst line 11.
      dpkg: error processing package linux-headers-6.6.20+rpt-rpi-2712 (--configure):
       installed linux-headers-6.6.20+rpt-rpi-2712 package post-installation script subprocess returned error exit status 1
      Errors were encountered while processing:
       linux-headers-6.6.20+rpt-rpi-2712
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      
      #RPi5
      
      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        Uninstall xpadneo completely and then upgrade. It's a dkms error that shouldn't be fatal.

        R 1 Reply Last reply Reply Quote 0
        • R
          retro777 @mitu
          last edited by

          @mitu Oh,cool
          problem complete
          this xpadneo troubles?

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.