7

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

5 Answers5

7

did you follow instructions above that to enable backports? You need to add

deb http://ftp.debian.org/debian jessie-backports main

to your /etc/apt/sources.list

3

Had the error message above. Running apt-get update (per the instructions) after adding the jessie-backports repository solved the problem for me

2

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

deb http://mirrors.digitalocean.com/debian jessie-backports main
deb-src http://mirrors.digitalocean.com/debian jessie-backports main
1

Add this to your /etc/apt/source.list

deb http://mirrors.digitalocean.com/debian jessie-backports main
deb-src http://mirrors.digitalocean.com/debian jessie-backports main

run apt-get update after that run

sudo apt-get install python-certbot-apache -t stretch

simple change sudo stretch-backports to stretch

-1

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

Lionel
  • 231