# Problem while installing certbot

**URL:** <https://community.letsencrypt.org/t/problem-while-installing-certbot/16314>\
**Category:** Uncategorized\
**Created:** [May 28, 2016, 1:57am UTC](https://community.letsencrypt.org/t/problem-while-installing-certbot/16314 "2016-05-28T01:57:06Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guido64](https://avatars.discourse-cdn.com/v4/letter/g/ac91a4/32.png) [@Guido64](https://community.letsencrypt.org/u/Guido64)\
**Post date:** [May 28, 2016, 1:57am UTC](https://community.letsencrypt.org/t/problem-while-installing-certbot/16314/1 "2016-05-28T01:57:06Z")

</div>

I went to [https://certbot.eff.org/#debianjessie-apache](https://certbot.eff.org/#debianjessie-apache) and read the install command “sudo apt-get install python-letsencrypt-apache -t jessie-backports”. After i run this command it results in an error:

root@server1:~# apt-get install python-letsencrypt-apache -t jessie-backports  
Pakketlijsten worden ingelezen… Klaar  
E: Een waarde ‘jessie-backports’ voor APT::Default-Release is ongeldig, aangezien een dergelijke uitgave niet voorkomt in de bronnen

This dutch and means:  
Package lists are read … done  
A value ‘Jessie-backports’ for APT::Default-Release is not valid, since such an issue is not present in the sources.

What can I do to successfully install certbot with apt-get on my Debian 8.4 (Jessie) with Apache 2.4.

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [May 28, 2016, 9:29am UTC](https://community.letsencrypt.org/t/problem-while-installing-certbot/16314/2 "2016-05-28T09:29:47Z")

</div>

Try this guide: [https://backports.debian.org/Instructions/](https://backports.debian.org/Instructions/)

---

<div class="post-metadata">

**Author:** ![Guido64](https://avatars.discourse-cdn.com/v4/letter/g/ac91a4/32.png) [@Guido64](https://community.letsencrypt.org/u/Guido64)\
**Post date:** [May 28, 2016, 12:09pm UTC](https://community.letsencrypt.org/t/problem-while-installing-certbot/16314/3 "2016-05-28T12:09:41Z")

</div>

Oh yes ofcourse thank you. I never used backports before.  
Oke wen i create the /etc/apt/sources.list.d/backports.list and run apt-get update i tried the certbot install command again this time again a error:

> _Sommige pakketten konden niet geïnstalleerd worden. Dit kan betekenen_  
> _dat u om een onmogelijke situatie gevraagd heeft, of, indien u_  
> _de distributie 'unstable' gebruikt, dat sommige benodigde pakketten nog gemaakt moeten worden of uit 'Incoming' verwijderd werden._  
> _De volgende informatie kan misschien helpen de situatie op te lossen:_

> _De volgende pakketten hebben niet-voldane vereisten:_  
> \_ python-letsencrypt-apache : Vereisten: letsencrypt (\>= 0.5.0~) maar het zal niet geïnstalleerd worden\_  
> \_ Vereisten: python-letsencrypt maar het zal niet geïnstalleerd worden\_  
> _E: Kan problemen niet verhelpen, u houdt defecte pakketten vast._

This is again in dutch below the google translation:

> _Some packages could not be installed. This can mean_  
> _You have requested an impossible situation or if you_  
> _use the distribution 'unstable', that some required packages have yet to be made or were removed from "Incoming"._  
> _The following information may help to resolve the situation:_

> _The following packages have unpaid requirements:_  
> \_ python-letsencrypt apache: Requirements: letsencrypt (\> = 0.5.0 ~) but it will not be installed\_  
> \_ Requirements: python-letsencrypt but it will not be installed\_  
> _E: Unable to correct problems, you have held broken packages._

---

<div class="post-metadata">

**Author:** ![graffen](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/graffen/32/7494_2.png) [@graffen](https://community.letsencrypt.org/u/graffen)\
**Post date:** [May 28, 2016, 8:00pm UTC](https://community.letsencrypt.org/t/problem-while-installing-certbot/16314/4 "2016-05-28T20:00:30Z")

</div>

I see this error as well. It seems the python-letsencrypt has gone missing from the backports repository.

apt-get install letsencrypt -t jessie-backports  
Reading package lists… Done  
Building dependency tree  
Reading state information… Done  
Some packages could not be installed. This may mean that you have  
requested an impossible situation or if you are using the unstable  
distribution that some required packages have not yet been created  
or been moved out of Incoming.  
The following information may help to resolve the situation:

The following packages have unmet dependencies:  
letsencrypt : Depends: python-letsencrypt (= 0.5.0-1~bpo8+1) but it is not going to be installed  
E: Unable to correct problems, you have held broken packages.

---

<div class="post-metadata">

**Author:** ![nailyk](https://avatars.discourse-cdn.com/v4/letter/n/8edcca/32.png) [@nailyk](https://community.letsencrypt.org/u/nailyk)\
**Post date:** [May 29, 2016, 5:06pm UTC](https://community.letsencrypt.org/t/problem-while-installing-certbot/16314/5 "2016-05-29T17:06:55Z")

</div>

Same problem here but:

> python-letsencrypt:  
> Installed: (none)  
> Candidate: 0.5.0-1~bpo8+1  
> Version table:  
> 0.5.0-1~bpo8+1 0  
> 100 [Index of /debian/](http://ftp.fr.debian.org/debian/) jessie-backports/main amd64 Packages  
> is available, in the right version, i check for all the dependencies and all of theme are present, in the right version...

edit: Strange, i edit my source.list to set an official repo (from [ftp.debian.org](http://ftp.debian.org) to [ftp.fr.debian.org](http://ftp.fr.debian.org)). Then apt-get install letsencrypt -t jessie-backports always give me an error but when i type

> apt-get install -t jessie-backports certbot

everything goes fine (except for the python-letsencrypt-apache):

> 1 mis à jour, 27 nouvellement installés, 0 à enlever et 50 non mis à jour.

(sorry forgot the LC\_ALL=C option :s)

hope it can help you =)

---

<div class="post-metadata">

**Author:** ![hlieberman](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/hlieberman/32/7503_2.png) [@hlieberman](https://community.letsencrypt.org/u/hlieberman)\
**Post date:** [May 29, 2016, 6:30pm UTC](https://community.letsencrypt.org/t/problem-while-installing-certbot/16314/6 "2016-05-29T18:30:26Z")

</div>

Hello everyone!

Sorry about that; the upgrade in backports took a bit longer than expected, so we ended up breaking some installs over the weekend.

You should be able to install everything correctly with:  
`apt-get install -t jessie-backports certbot` or  
`apt-get install -t jessie-backports certbot python-certbot-apache`, depending on whether you need Apache support.

---

<div class="post-metadata">

**Author:** ![Guido64](https://avatars.discourse-cdn.com/v4/letter/g/ac91a4/32.png) [@Guido64](https://community.letsencrypt.org/u/Guido64)\
**Post date:** [May 29, 2016, 7:01pm UTC](https://community.letsencrypt.org/t/problem-while-installing-certbot/16314/7 "2016-05-29T19:01:57Z")

</div>

Thank you sir.

A moment ago I run:  
apt-get update  
apt-get autoremove  
apt-get autoclean  
apt-get install -f  
Then  
apt-get install python-letsencrypt-apache -t jessie-backports

Still the same outcome.

---

<div class="post-metadata">

**Author:** ![pfg](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/pfg/32/1924_2.png) [@pfg](https://community.letsencrypt.org/u/pfg)\
**Post date:** [May 29, 2016, 7:08pm UTC](https://community.letsencrypt.org/t/problem-while-installing-certbot/16314/8 "2016-05-29T19:08:43Z")

</div>

The packages were renamed. You’ll need to replace “letsencrypt” with “certbot” in your `apt-get` command.

---

<div class="post-metadata">

**Author:** ![Guido64](https://avatars.discourse-cdn.com/v4/letter/g/ac91a4/32.png) [@Guido64](https://community.letsencrypt.org/u/Guido64)\
**Post date:** [May 29, 2016, 7:18pm UTC](https://community.letsencrypt.org/t/problem-while-installing-certbot/16314/9 "2016-05-29T19:18:52Z")

</div>

Oh yes duh shame :S

I did copy/paste from [https://certbot.eff.org/#debianjessie-apache](https://certbot.eff.org/#debianjessie-apache)

Of course now it worked 100% with:  
apt-get install -t jessie-backports certbot python-certbot-apache

Thank you!

---

<div class="post-metadata">

**Author:** ![Pacoup](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/pacoup/32/7538_2.png) [@Pacoup](https://community.letsencrypt.org/u/Pacoup)\
**Post date:** [June 1, 2016, 6:06pm UTC](https://community.letsencrypt.org/t/problem-while-installing-certbot/16314/10 "2016-06-01T18:06:32Z")

</div>

This has not been updated in the generator: [https://certbot.eff.org/](https://certbot.eff.org/)

Any idea who maintains this / how to submit patches?

---

<div class="post-metadata">

**Author:** ![ws62003](https://avatars.discourse-cdn.com/v4/letter/w/50afbb/32.png) [@ws62003](https://community.letsencrypt.org/u/ws62003)\
**Post date:** [July 15, 2016, 5:04pm UTC](https://community.letsencrypt.org/t/problem-while-installing-certbot/16314/11 "2016-07-15T17:04:24Z")

</div>

> [@hlieberman](#):
>
> apt-get install -t jessie-backports certbot python-certbot-apache

I still get this error when running the apt-get command above:

The following packages have unmet dependencies: certbot : Depends: python-certbot (= 0.8.0-1~bpo8+2) but it is not going to be installed python-certbot-apache : Depends: python-certbot but it is not going to be installedE: Unable to correct problems, you have held broken packages.

---

<div class="post-metadata">

**Author:** ![sahsanu](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/sahsanu/32/89984_2.png) [@sahsanu](https://community.letsencrypt.org/u/sahsanu)\
**Post date:** [July 15, 2016, 5:09pm UTC](https://community.letsencrypt.org/t/problem-while-installing-certbot/16314/12 "2016-07-15T17:09:36Z")

</div>

Hello @ws62003,

Take a look to [this post](https://community.letsencrypt.org/t/unable-to-install-certbot/17916/7?u=sahsanu), he is fixing it right now.

Cheers,  
sahsanu

---

<div class="post-metadata">

**Author:** ![Dinir](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/dinir/32/14213_2.png) [@Dinir](https://community.letsencrypt.org/u/Dinir)\
**Post date:** [June 14, 2017, 5:40am UTC](https://community.letsencrypt.org/t/problem-while-installing-certbot/16314/13 "2017-06-14T05:40:50Z")

</div>

I’m still getting the same problem described here, even though I enabled the backports.

I’ve done:

- adding this to `/etc/apt/sources.list.d/backports.list`:

- enabling the backports:

but I still get the error.

```
$ sudo apt-get install -t jessie-backports certbot python-certbot-apache
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

```

The order of the arguments don’t change the result, `apt-get install python-certbot-apache -t jessie-backports` and `apt-get install -t jessie-backports python-certbot-apache` results the same.
