Trouble installing scons (needed for 281x adafruit neopixel library) (SOLVED)
-
@linkreincarnate What distro are you using ? Debian Jessie's
scons
has only a dependency on thepython
library and not ontcl
or others.
I don't thisscons
is the culprit here, do you have any custom held packages configured ? -
I'm not sure what you are asking. I am running off of the official image. I installed some stuff for google voice asistant and a python script for running a stepper if that helps. I'm kind anew to linux to be honest. I haven't been in any configuration files.
-
@linkreincarnate which official image - the Raspbian image or the one provided by the RetroPie project ?
-
@linkreincarnate The official retropie image I should say.
-
@linkreincarnate Do an
apt-get update
and then again tryapt-get -f install
- do you still get the dependency errors ? -
@mitupi Yeah this is what it looks like...
@Iron-ManMk1Fightstick:~ $ apt-get -f install
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
pi@Iron-ManMk1Fightstick:~ $ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
expect : Depends: tcl8.5 (>= 8.5.0) but it is not installed
libjpeg62-turbo-dev : Depends: libjpeg62-turbo (= 1:1.3.1-12) but 1:1.4.1-2 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
pi@Iron-ManMk1Fightstick:~ $ -
@linkreincarnate You seem have some mixed repos in your sources list. What's the content of your
/etc/apt/sources.list
file ?
You could try runningaptitude install
instead ofapt-get
, it might be able to resolve your depencency errors. -
deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi
that is what is in my sources.list
This is what I get when I use apptitude install scons
pi@Iron-ManMk1Fightstick:/etc/apt $ sudo aptitude install scons
The following NEW packages will be installed:
scons
0 packages upgraded, 1 newly installed, 0 to remove and 16 not upgraded.
Need to get 518 kB of archives. After unpacking 2,207 kB will be used.
The following packages have unmet dependencies:
expect : Depends: tcl8.5 (>= 8.5.0) but it is not going to be installed.
libjpeg62-turbo-dev : Depends: libjpeg62-turbo (= 1:1.3.1-12) but 1:1.4.1-2 is installed.
The following actions will resolve these dependencies:Remove the following packages:
-
expect
-
libdirectfb-dev
-
libjpeg-dev
-
libjpeg62-turbo-dev
-
libsdl1.2-dev
Accept this solution? [Y/n/q/?]
-
-
@linkreincarnate It's strange how you have these dependencies, with the same repositories in the
sources.list
file I can install bothexpect
andscons
.
Remove the offending packages - viaaptitude
- and try again to installscons
. -
ok I got it on there. I sure hope that stuff i removed wasn't important... ¯_(ツ)_/¯
thanks for your help!
-
@linkreincarnate said in Trouble installing scons (needed for 281x adafruit neopixel library):
ok I got it on there. I sure hope that stuff i removed wasn't important... ¯_(ツ)_/¯
Any
-dev
package is usefull when compiling something new, not for the normal system usage.
You might need some of them if you're installing from source any new packages, but the RetroPie setup scripts already do the installation for you. -
good to know. Once again thanks a bunch.
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.