2

I have a problem downloading packages with ubuntu server 18.04. I have had it working before. However, I have reinstalled the operating system and can no longer remember how I fixed it last time. I believe that last time I enabled/downloaded repositories. Can anyone help me?

sudo apt install shorewall
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package shorewall is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'shorewall' has no installation candidate
Fred
  • 41

1 Answers1

0

Try looking if the package shorewall is listed under a different name by executing:

sudo apt-cache search shorewall

You may also want to search for the repository for shorewall from Google and add it to your /etc/apt/sources.list file

You can try: https://packages.ubuntu.com/trusty/all/shorewall/download and download the Shorewall .deb package for all architectures there, and install with dpkg

You should also look at http://www.shorewall.org/download.htm as they list the different requirements as well