I've followed the instructions at https://certbot.eff.org/all-instructions/#debian-8-jessie-nginx but cannot install certbot:
sudo apt-get -t jessie-backports install certbot
Reading package lists... Done E: The value 'jessie-backports' is invalid for APT::Default-Release as such a release is not available in the sources
Hints appreciated
did you follow instructions above that to enable backports? You need to add
to your /etc/apt/sources.list
Had the error message above. Running apt-get update (per the instructions) after adding the jessie-backports repository solved the problem for me
If you are using Digital Ocean, they replace the APT sources with their own mirror. You can add backports support by adding this to your
/etc/apt/sources.list
Add this to your
/etc/apt/source.list
run
apt-get update
after that runsimple change sudo
stretch-backports
tostretch
Add this to your /etc/apt/source.list
deb http://mirrors.digitalocean.com/debian stretch main
I am running this in a docker and jessie-backports no longer exists, and stretch-backports does not contain the files. They have been moved to stretch