recalbox / mk_arcade_joystick_rpi

Raspberry PI kernel module for arcade joystick on GPIO and MCP23017
GNU General Public License v2.0
200 stars 120 forks source link

sudo sh ./install.sh fails on RetroPie (4.4.21-v7+) #45

Open hobsie opened 7 years ago

hobsie commented 7 years ago

Issue I'm having seems near identical to #41 although install.sh does find the kernel headers to download and then fails shortly after with the following:

Installing current kernel headers (Reading database ... 84556 files and directories currently installed.) Preparing to unpack linux-headers-4.4.21-v7+_4.4.21-v7+-2_armhf.deb ... Unpacking linux-headers-4.4.21-v7+ (4.4.21-v7+-2) ... dpkg: error processing archive linux-headers-4.4.21-v7+_4.4.21-v7+-2_armhf.deb (--install): trying to overwrite '/usr/src/linux-headers-4.4.21-v7+/samples/seccomp/Makefile', which is also in package raspberrypi-kernel-headers 1.20160921-1 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing: linux-headers-4.4.21-v7+_4.4.21-v7+-2_armhf.deb ERROR : Unable to install kernel headers

Not quite sure how to go about fixing the issue.

This is happening after following the installation script instructions here with a fresh install of RetroPi 4.0.2 on a Pi2

Any help would be great

-Hobsie

kyleberries commented 7 years ago

Same issue no answers. Raspbian on a Pi2 trying to compile a driver for the Netgear A6100 wireless adapter

kalinjul commented 7 years ago

open install.sh in any text editor. Replace lines 18 and 21 with echo "skip" || (Previosly, those lines downloaded and installed the kernel headers, but obviously, they are already there as the error message states).