Trying to upgrade via PPA

I am trying to use the following:

sudo add-apt-repository ppa:oisf/suricata-stable

The error says that the cosmic release no longer has a release file.

Is this not supported on Ubuntu 18.04?

Bionic(18.04) is supported, Cosmic (18.10) is EoL. Which one is that you are trying to upgrade in?

Here is part of the add repository command output.

and many more great features -

More info: https://launchpad.net/~oisf/+archive/ubuntu/suricata-stable
Press [ENTER] to continue or Ctrl-c to cancel adding it.

Ign:1 http://us.archive.ubuntu.com/ubuntu cosmic InRelease
Ign:2 http://us.archive.ubuntu.com/ubuntu cosmic-updates InRelease
Ign:3 http://us.archive.ubuntu.com/ubuntu cosmic-security InRelease
Err:4 http://us.archive.ubuntu.com/ubuntu cosmic Release
404 Not Found [IP: 91.189.91.38 80]
Err:5 http://us.archive.ubuntu.com/ubuntu cosmic-updates Release
404 Not Found [IP: 91.189.91.38 80]
Err:6 http://us.archive.ubuntu.com/ubuntu cosmic-security Release
404 Not Found [IP: 91.189.91.38 80]
Hit:7 http://ppa.launchpad.net/oisf/suricata-stable/ubuntu cosmic InRelease
Hit:8 https://artifacts.elastic.co/packages/7.x/apt stable InRelease
Reading package lists… Done
E: The repository ‘http://us.archive.ubuntu.com/ubuntu cosmic Release’ no longer has a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository cre ation and user configuration details.
E: The repository ‘http://us.archive.ubuntu.com/ubuntu cosmic-updates Release’ no longer has a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository ‘http://us.archive.ubuntu.com/ubuntu cosmic-security Release’ no longer has a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Any suggestions?

What is the output of
lsb_release -a
on the OS that you are trying to install Suricata? (It looks like Cosmic which is EoL)

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.10
Release: 18.10
Codename: cosmic
root@Demo-Development:/sysadm/scripts#

Yes, I will manually install Suricata until I can get the OS up to date. Any good update path forward for EOL product?