Unable to install certbot under Debian 9


I’m running Debian 9. I want to install certbot. I used:

sudo apt-get install certbot -t stretch-backports

…as prescribed. But I got the following error:

E: The value ‘stretch-backports’ is invalid for APT::Default-Release as such a release is not available in the sources

What did I do wrong???


Have you enabled stretch-backports in /etc/apt/sources.list or /etc/apt/sources.list.d/ and run apt-get update?



Thanks. They might’ve mentioned this in the instructions. For a noob like myself, the documentation is inadequate.


The paragraph immediately above the command you ran says:

First you’ll have to follow the instructions here to enable the Stretch backports repo, if you have not already done so. Then run:

(assuming you were looking at https://certbot.eff.org/lets-encrypt/debianstretch-apache)


Phrases/words like “here” as a hyperlink are “frowned upon” as far as I can remember back from my more active HTML development period. For example, see: https://www.w3.org/QA/Tips/noClickHere

So perhaps the documentation could be clarified specifically for the backports repo link.


using RASPBIAN STRETCH WITH DESKTOP Image with desktop based on Debian Stretch Version: November 2018 Release date: 2018-11-13 Kernel version: 4.14
is it OK to use Apache on Debian 9 (stretch)?


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.