Bug #1774
closedFresh installation from Debian repo fails to start with "Illegal instruction"
Description
I'm using a Raspberry Pi B running Raspbian Jessie Lite. I added the 'backports' repository and installed from there, as follows:
echo "deb http://http.debian.net/debian jessie-backports main" > /etc/apt/sources.list.d/backports.list sudo apt-get update sudo apt-get install -t jessie-backports suricata
That's it. Everything seemed to install fine, with no errors. However, when I try to run Suricata for the very first time, it fails with "Illegal instruction". This includes just trying to get the build info:
pi@raspberrypi:~ $ suricata --build-info Illegal instruction
Updated by Andreas Herz about 9 years ago
Can you try to build suricata instead of using the backport?
Updated by Victor Julien about 9 years ago
This should probably be reported to the Debian bug tracking system instead. It's likely an issue with compiler flags that are wrong (e.g. march=native)
Updated by Victor Julien almost 9 years ago
It looks like backports doesn't work for this armv6 based system: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827596
" - don't use stuff from backports
- compile the packages from jessie-backports for oneself on
one's system, so they are compiled with the right build
flags for one's machine
- use the official Debian armel port instead of Raspbian
The armel port is the port of Debian for ARM CPUs without
hardware floating point support, and that has lower CPU
requirements, so it will work on the RPi - but probably
really, really slowly"