certbot-auto does not install - libssl-dev problem

If none of the more specific forums is the right place to ask

certbot-auto does not install - libssl-dev problem

Postby muekno » 2017-02-23 15:13

I am trying to install certbot -auto and get the following
libssl-dev : Depends: libssl1.0.0 (= 1.0.1t-1+deb8u6) but 1.0.2k-1~bpo8+1 is to be installed
E: Unable to correct problems, you have held broken packages.

I'm running jessie with the latest patches, I can install certbot but with certbot-auto it does not work. I search the Internet quit a time, found no real solution.
Need help
Thanks
Rainer
muekno
 
Posts: 5
Joined: 2017-02-23 15:06

Re: certbot-auto does not install - libssl-dev problem

Postby peter_irich » 2017-02-23 17:09

If jessie repositories are turned on, try as root the next commands:
Code: Select all
apt-get update
apt-get -m dist-upgrade

and then try repeat the attempt.

Peter.
peter_irich
 
Posts: 1156
Joined: 2009-09-10 20:15
Location: Saint-Petersburg, Russian Federation

Re: certbot-auto does not install - libssl-dev problem

Postby muekno » 2017-02-23 17:39

Sorry does not help

:/opt/certbot# apt-get -m dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

dist-upgrade does not install or update anything

Rainer
muekno
 
Posts: 5
Joined: 2017-02-23 15:06

Re: certbot-auto does not install - libssl-dev problem

Postby muekno » 2017-02-23 17:49

Following these instructions http://askubuntu.com/questions/57682/fi ... g-anything found libssl1.0.0 was corrupt.
I reinstalled libssl1.0.0 but still the same error.

Rainer
muekno
 
Posts: 5
Joined: 2017-02-23 15:06

Re: certbot-auto does not install - libssl-dev problem

Postby GarryRicketson » 2017-02-23 18:10

https://wiki.debian.org/DontBreakDebian

Where did you get "certbot-auto" ?
Also if you are mixing ubuntu junk with Debian, it would result in this kind of problem.

It would help to just show us your /etc/apt/sources.list file,
User avatar
GarryRicketson
 
Posts: 3761
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: certbot-auto does not install - libssl-dev problem

Postby muekno » 2017-02-23 18:25

The corruption of libssl came from try the other version of libssl.
I got certbot-aut from here wget https://dl.eff.org/certbot-auto
I have another server Debian Jessie with latest patches too, where all ist working find. Both server are installed following
https://www.howtoforge.com/tutorial/deb ... al-server/ and then
https://www.howtoforge.com/tutorial/per ... onfig-3-1/
Both servers have the same sources.list showing benith
deb http://ftp.de.debian.org/debian/ jessie main
deb-src http://ftp.de.debian.org/debian/ jessie main

deb http://ftp.de.debian.org/debian/ jessie-updates main contrib
deb-src http://ftp.de.debian.org/debian/ jessie-updates main contrib

deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free

deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free

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


I do not think to have mixed versions
Thanks

Rainer
muekno
 
Posts: 5
Joined: 2017-02-23 15:06

Re: certbot-auto does not install - libssl-dev problem

Postby stevepusser » 2017-02-23 20:43

Libssl was not corrupt. The answer is that you updated its runtime library from jessie-backports, and the -dev package must match the version you have installed.

Intentionally, the apt system will not install the libssl-dev backports version by default, which leads to your error message. You have to add a little bit more to the command, which is clearly shown in the instructions at backports.org. The moral is if you're going to use jessie-backports, maybe reading the instructions can come in handy.

Also, aptitude can work around the error by installing specific versions of packages, such as in

Code: Select all
aptitude install libssl-dev=1.0.2k-1~bpo8+1


and learning a little bit about aptitude and how it offers multiple solutions can't hurt either...
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.4, Pale Moon 27.2.1, Liquorix kernel 4.10-2, mpv 0.24, Kodi 17.1, Ksnip 1.3.1, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8055
Joined: 2009-10-06 05:53

Re: certbot-auto does not install - libssl-dev problem solve

Postby muekno » 2017-02-24 06:31

Hello stevepusser Thank you very much, thats the solution. Still do not know why my other system worked without, but thats not importent.
It works now, and I learnt not only to follow turtorials, but also read about the background.

Thanks

Rainer
muekno
 
Posts: 5
Joined: 2017-02-23 15:06


Return to General Questions

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable