• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

How to remove not fully installed package?

Scheduled Pinned Locked Moved Help and Support
packageinstall
2 Posts 2 Posters 373 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.
  • F
    Fenderus
    last edited by 21 May 2024, 06:30

    This has been plaguing me for weeks. I couldn't fully install apps from Pi-apps when this error shows up:

    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Do you want to continue? [Y/n] Y
    Setting up mk-arcade-joystick-rpi-dkms (0.1.4) ...
    Loading new mk_arcade_joystick_rpi-0.1.4 DKMS files...
    It is likely that 5.10.103-v7+ belongs to a chroot's host
    Building for 5.10.103+, 5.10.103-v7+, 5.10.103-v7l+, 5.10.103-v8+ and 5.10.60-v7+
    Building for architecture armv7l
    Building initial module for 5.10.103+
    Error! Bad return status for module build on kernel: 5.10.103+ (armv7l)
    Consult /var/lib/dkms/mk_arcade_joystick_rpi/0.1.4/build/make.log for more information.
    dpkg: error processing package mk-arcade-joystick-rpi-dkms (--configure):
     installed mk-arcade-joystick-rpi-dkms package post-installation script subprocess returned error exit status 10
    Errors were encountered while processing:
     mk-arcade-joystick-rpi-dkms
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    
    
    1 Reply Last reply Reply Quote 0
    • M
      mitu Global Moderator
      last edited by 21 May 2024, 07:07

      Please add some info about your setup (like detailed in https://retropie.org.uk/forum/topic/3/read-this-first) when opening a support topic.

      You can uninstall the .deb package manually, but to skip the post-install/post-remove scripts, look for the /var/lib/dpkg/info/<package-name>.postrm or /var/lib/dpkg/info/<package-name>.postinst files and remove them before manually removing the .deb package.

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        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.

        This community forum collects and processes your personal information.
        consent.not_received