Hello!suricata does not install on ubuntu 20.04
1|581x167
Hi, @stetnt4 !
Welcome to our forum!
Could you please paste a formatted command and error message? Perhaps the screenshot is missing some more stuff towards the end?
Q: Did you do a sudo apt update
to fetch the latest package info before trying to install the library?
2nd screenshot not attached
Are you following the installation instructions here 3. Installation — Suricata 7.0.1 documentation ?
I use this instruction
sudo add-apt-repository ppa:oisf/suricata-stable
Cannot add PPA: ‘ppa:~oisf/ubuntu/suricata-stable’.
ERROR: ‘~oisf’ user or team does not exist.
Hi there!
In case you’re still having this issue: from your screenshots, I’ve noticed that sometimes Suricata package doesn’t get installed because of the liblzma-dev
dependency. Have you managed to solve that bit?
I followed these steps on Ubuntu 20.04 and worked ok:
apt-get update
apt-get install software-properties-common
add-apt-repository ppa:oisf/suricata-stable
apt-get update
apt-get install suricata
suricata -V
suricata -V
This is Suricata version 7.0.1 RELEASE
Same…
But I didn’t face any issues with liblzma-dev, so I’m guessing this part has to be sorted out, first…
problem still exists
Can you try to solve the liblzma-dev
dependency issue, then? I see that Suricata can’t be installed due to that dependency issue.
Can’t install liblzma-dev
Hi @stetnt4 !
Please do the following:
- remove any instances/versions of liblzma packages that you might have
- remove oisf suricata ppa from your sources
- update apt sources again
- make sure you do not have liblzma or ppa source
- redo all the steps mentioned in the installation guide linked by pevma
Q: Are you an Outreachy applicant?
the issue is resolved
Thank you for letting us know, @stetnt4 ! Could you please write what you had to do fix the issue and mark that comment as the solution?
I downgraded the version