I have a new install of Debian 8 ("Jessie") and want to install the firewalld
package, but APT can't find it. This may be related to the fact that I didn't specify a mirror during installation, but as far as I can tell, I've made the appropriate configurations.
firewalld
is located on the mirror here:
http://ftp.us.debian.org/debian/pool/main/f/firewalld/
That mirror is in my /etc/apt/sources.list
file:
deb http://ftp.us.debian.org/debian/ jessie-updates main contrib
deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib
I've updated the available packages:
# apt update
APT still can't find it:
# apt search firewalld
Sorting... Done
Full Text Search... Done
Why can't it find the package?
Best Answer
You need to have the full Jessie repository in your
sources.list
; you should have at least(you can add
contrib
if you want, and the correspondingdeb-src
lines if you want to be able to download source code for the packages too).Check your
sources.list
contains at least those three lines, then runThe
jessie-updates
repository only contains updates to Jessie, it doesn’t contain the packages which were part of the original Jessie release and haven't been updated since. See What is the difference between the "jessie" and "jessie-updates" distributions in /etc/apt/sources.list? for more information.