jeffgar2000
(Jeff Garland)
1
We use Suricata for various things at work and I need to install it on some VMs to check some things.
Using:
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:oisf/suricata-stable
sudo apt-get update
sudo apt-get install suricata
When I try to install on Ubuntu VMs it fails to add the repository:
sudo add-apt-repository ppa:oisf/suricata-stable
Cannot add PPA: ‘ppa:~oisf/ubuntu/suricata-stable’.
ERROR: ‘~oisf’ user or team does not exist.
I’ve been messing with this off and on for three days. What do I need to do to get this in stalled on a Ubuntu VM?
Thanks
Jeff
ish
(Jason Ish)
2
If not using an LTS, try an LTS. This should work on 22.04 and 24.04.
jeffgar2000
(Jeff Garland)
3
I’m on 20.04 and I need to use that version.
ish
(Jason Ish)
4
Just tested on an update to date 20.04.6 LTS
release and it works. Following our instructions here: 3. Installation — Suricata 8.0.0-dev documentation
jeffgar2000
(Jeff Garland)
5
I downloaded a fresh 20.04.06 LTS and it fails with Virtualbox 7.0.20 and on VMware 17.5.2 build-23775571.
Are you allowing it to upgrade the OS right after installing the VM?
ish
(Jason Ish)
6
Should work either way. I’m not using VirutalBox or VMware, but that shouldn’t really matter.
However, this error:
Cannot add PPA: ‘ppa:~oisf/ubuntu/suricata-stable’.
ERROR: ‘~oisf’ user or team does not exist.
is what I get when I can’t reach the repo servers. Is there a proxy or something possibly blocking your connections?
jeffgar2000
(Jeff Garland)
7
That’s the whole issue.
I can install direct on Ubuntu on a machine but it will not install in a Ubuntu VM.
I need to test some things in a VM.