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

Errors during install #35

Closed
TotallyNotAHaxxer opened this issue Aug 2, 2022 · 0 comments
Closed

Errors during install #35

TotallyNotAHaxxer opened this issue Aug 2, 2022 · 0 comments

Comments

@TotallyNotAHaxxer
Copy link

TotallyNotAHaxxer commented Aug 2, 2022

UPDATE

Issue solved, needed to just install it via backports :/

For the past day now i have been trying to isntall the simulator on the following operating systems kali, archman, parrot os however during make i get this error

gcc -I/usr/include/SDL2   -c -o icsim.o icsim.c
icsim.c:19:10: fatal error: SDL2/SDL.h: No such file or directory
   19 | #include <SDL2/SDL.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: icsim.o] Error 1

simple error right? not really, i tried multiple things running the full command to install needed libs

sudo apt-get install libsdl2-dev libsdl2-image-dev can-utils

however i get

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
can-utils is already the newest version (2020.11.0-1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libudev-dev : Depends: libudev1 (= 247.3-7) but 250.4-1~bpo11+1 is to be installed
E: Unable to correct problems, you have held broken packages.

i have done multiple commands such as updating my OS, upgrading my OS, upgrading the distro, upgrading the packages, fixing broken, fixing missing packages, as well as cleaning but i can not seem to make this work again, i really do not know why despite hours and memory abuse trying to search google for what even is happening XD

If you can not help me out thats fine but general advice would be suggested on where to go from here

Update

Just now found another solution that still has not worked

apt-get download libudev0 libudev0:amd64

results in

W: Download is performed unsandboxed as root as file '/home/xea43p3x/Can-Reverse-Enginerring/ICSim/libudev0_200-1_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

ran it again and it some how just did nothing when i try the following command

sudo apt install cmake libevdev-dev libudev-dev libconfig++-dev git

i still get

The following packages have unmet dependencies:
 libudev-dev : Depends: libudev1 (= 247.3-7) but 250.4-1~bpo11+1 is to be installed
E: Unable to correct problems, you have held broken packages.

when i cache it

sudo apt-cache madison libudev-dev
libudev-dev | 250.4-1~bpo11+1 | https://deb.parrot.sh/parrot parrot-backports/main amd64 Packages
libudev-dev |    247.3-7 | https://deb.parrot.sh/parrot lts/main amd64 Packages
libudev-dev |    247.3-7 | https://deb.parrot.sh/parrot parrot/main amd64 Packages
   systemd |    247.3-7 | https://deb.parrot.sh/parrot lts/main Sources

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

1 participant