Installing Suricata on Parrot OS 6.0

Please include the following information with your help request:
I am new to the platform. I am trying to install the current stable version of Suricata on the Parrot 6.0 OS. Parrot 6 is a Debian based version of Linux.
┌─[pfrahm@parrot]─[~]
└──╼ $sudo apt install suricata
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package suricata

Anything you can do to steer me in the correct direction is much appreciated.

Thanks,

Peter Frahm

You might need to run sudo apt update before, That worked for me:

┌─[✗]─[vagrant@parrot]─[~]
└──╼ $sudo apt update
Get:1 https://deb.parrot.sh/parrot lts InRelease [14.6 kB]
Get:2 https://deb.parrot.sh/parrot parrot InRelease [14.6 kB]
Get:3 https://deb.parrot.sh/direct/parrot parrot-security InRelease [14.3 kB]
Get:4 https://deb.parrot.sh/parrot parrot-backports InRelease [14.5 kB]
Get:5 https://deb.parrot.sh/parrot lts/contrib Sources [64.8 kB]
Get:6 https://deb.parrot.sh/parrot lts/main Sources [12.7 MB]
Get:7 https://deb.parrot.sh/parrot lts/main amd64 Packages [15.5 MB]
Get:8 https://deb.parrot.sh/parrot lts/contrib amd64 Packages [102 kB]
Get:9 https://deb.parrot.sh/parrot parrot/main amd64 Packages [15.5 MB]
Get:10 https://deb.parrot.sh/parrot parrot/contrib amd64 Packages [102 kB]                                                                              
Fetched 44.1 MB in 8s (5,626 kB/s)                                                                                                                      
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
23 packages can be upgraded. Run 'apt list --upgradable' to see them.
┌─[vagrant@parrot]─[~]
└──╼ $sudo apt install suricata
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libhtp2 libhyperscan5 libnetfilter-log1 oinkmaster snort-rules-default suricata-update
Suggested packages:
  snort | snort-pgsql | snort-mysql libtcmalloc-minimal4
The following NEW packages will be installed:
  libhtp2 libhyperscan5 libnetfilter-log1 oinkmaster snort-rules-default suricata suricata-update
0 upgraded, 7 newly installed, 0 to remove and 23 not upgraded.
Need to get 5,046 kB of archives.
After this operation, 25.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 https://deb.parrot.sh/parrot lts/main amd64 libhyperscan5 amd64 5.4.0-2 [2,489 kB]
Get:2 https://deb.parrot.sh/parrot lts/main amd64 libhtp2 amd64 1:0.5.36-1 [69.9 kB]
Get:3 https://deb.parrot.sh/parrot lts/main amd64 libnetfilter-log1 amd64 1.0.1-3 [11.5 kB]
Get:4 https://deb.parrot.sh/parrot lts/main amd64 suricata amd64 1:6.0.1-3 [1,962 kB]
Get:5 https://deb.parrot.sh/parrot lts/main amd64 oinkmaster all 2.0-4.1 [80.6 kB]
Get:6 https://deb.parrot.sh/direct/parrot parrot-security/main amd64 snort-rules-default all 2.9.20-0+deb11u1 [374 kB]
Get:7 https://deb.parrot.sh/parrot lts/main amd64 suricata-update amd64 1.2.1-1 [58.4 kB]
Fetched 5,046 kB in 1s (3,775 kB/s)   
Preconfiguring packages ...
Selecting previously unselected package libhyperscan5.
(Reading database ... 455718 files and directories currently installed.)
Preparing to unpack .../0-libhyperscan5_5.4.0-2_amd64.deb ...
Unpacking libhyperscan5 (5.4.0-2) ...
Selecting previously unselected package libhtp2.
Preparing to unpack .../1-libhtp2_1%3a0.5.36-1_amd64.deb ...
Unpacking libhtp2 (1:0.5.36-1) ...
Selecting previously unselected package libnetfilter-log1:amd64.
Preparing to unpack .../2-libnetfilter-log1_1.0.1-3_amd64.deb ...
Unpacking libnetfilter-log1:amd64 (1.0.1-3) ...
Selecting previously unselected package suricata.
Preparing to unpack .../3-suricata_1%3a6.0.1-3_amd64.deb ...
Unpacking suricata (1:6.0.1-3) ...
Selecting previously unselected package oinkmaster.
Preparing to unpack .../4-oinkmaster_2.0-4.1_all.deb ...
Unpacking oinkmaster (2.0-4.1) ...
Selecting previously unselected package snort-rules-default.
Preparing to unpack .../5-snort-rules-default_2.9.20-0+deb11u1_all.deb ...
Unpacking snort-rules-default (2.9.20-0+deb11u1) ...
Selecting previously unselected package suricata-update.
Preparing to unpack .../6-suricata-update_1.2.1-1_amd64.deb ...
Unpacking suricata-update (1.2.1-1) ...
Setting up libnetfilter-log1:amd64 (1.0.1-3) ...
Setting up oinkmaster (2.0-4.1) ...
Setting up libhtp2 (1:0.5.36-1) ...
Setting up libhyperscan5 (5.4.0-2) ...
Setting up suricata-update (1.2.1-1) ...
Setting up suricata (1:6.0.1-3) ...
Use of uninitialized value $service in hash element at /usr/sbin/update-rc.d line 26, <DATA> line 44.
update-rc.d: We have no instructions for the suricata init script.
update-rc.d: It looks like a network service! YOU SHALL NOT PASS!
Created symlink /etc/systemd/system/multi-user.target.wants/suricata.service → /lib/systemd/system/suricata.service.
Setting up snort-rules-default (2.9.20-0+deb11u1) ...
Processing triggers for man-db (2.10.1-1~bpo11+1) ...
Processing triggers for libc-bin (2.31-13+deb11u7) ...
Scanning application launchers
Removing duplicate launchers or broken launchers
Launchers are updated
┌─[vagrant@parrot]─[~]
└──╼ $

Here is what happens:

┌─[pfrahm@parrot]─[~]

└──╼ $sudo apt update

[sudo] password for pfrahm:

Ign:1 Index of /parrot/ lory InRelease

Ign:2 Index of /direct/parrot/ lory-security InRelease

Ign:3 Index of /parrot/ lory-backports InRelease

Ign:1 Index of /parrot/ lory InRelease

Ign:2 Index of /direct/parrot/ lory-security InRelease

Ign:3 Index of /parrot/ lory-backports InRelease

Ign:1 Index of /parrot/ lory InRelease

Ign:2 Index of /direct/parrot/ lory-security InRelease

Ign:3 Index of /parrot/ lory-backports InRelease

Err:1 Index of /parrot/ lory InRelease

Could not handshake: Error in the pull function. [IP: 104.237.149.90 443]

Err:2 Index of /direct/parrot/ lory-security InRelease

Could not handshake: Error in the pull function. [IP: 104.237.149.90 443]

Err:3 Index of /parrot/ lory-backports InRelease

Could not handshake: Error in the pull function. [IP: 104.237.149.90 443]

Reading package lists… Done

Building dependency tree… Done

Reading state information… Done

All packages are up to date.

W: Failed to fetch https://deb.parrot.sh/parrot/dists/lory/InRelease Could not handshake: Error in the pull function. [IP: 104.237.149.90 443]

W: Failed to fetch https://deb.parrot.sh/direct/parrot/dists/lory-security/InRelease Could not handshake: Error in the pull function. [IP: 104.237.149.90 443]

W: Failed to fetch https://deb.parrot.sh/parrot/dists/lory-backports/InRelease Could not handshake: Error in the pull function. [IP: 104.237.149.90 443]

W: Some index files failed to download. They have been ignored, or old ones used instead.

W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:19

W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:19

W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:19

W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:19

W: Target Packages (contrib/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:19

W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:19

W: Target Translations (contrib/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:19

W: Target Translations (contrib/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:19

W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:19

W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:19

W: Target Translations (non-free/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:19

W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:19

┌─[pfrahm@parrot]─[~]

Clearly I am doing something wrong… going to see what I can find out on the Parrot Forum.

Thanks,

Peter Frahm