Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hobsie opened this issue Oct 2, 2016 · 2 comments
Open

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

hobsie opened this issue Oct 2, 2016 · 2 comments

Comments

@hobsie
Copy link

hobsie commented Oct 2, 2016

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
Copy link

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

@kalinjul
Copy link

kalinjul commented Jan 1, 2017

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants