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

Sue Spence
  • 191
  • 1
  • 7
  • Using the instructions for OS releases without a package since that is probably the only thing I can do in this situation. – Sue Spence Sep 12 '16 at 13:00
  • 1
    Same issue here. Went off of https://backports.debian.org/Instructions/#index2h2: ``deb http://ftp.debian.org/debian jessie-backports main``. Ran ``aptitude install python-certbot-apache -t jessie-backports`` after adding to /etc/apt/sources.list. Got ``E: The value 'jessie-backports' is invalid for APT::Default-Release as such a release is not available in the sources`` printed twice. – Christos Hayward Sep 12 '16 at 13:26
  • Please run "apt-get update" after changing the sources list and before installing the package. – Lupold Nov 07 '16 at 10:24

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

xilaworp
  • 31
  • 1
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
  • 2
  • 8