Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

certbot-auto does not install - libssl-dev problem

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
muekno
Posts: 9
Joined: 2017-02-23 15:06

certbot-auto does not install - libssl-dev problem

#1 Post by muekno »

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

peter_irich
Posts: 1403
Joined: 2009-09-10 20:15
Location: Saint-Petersburg, Russian Federation
Been thanked: 11 times

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

#2 Post by peter_irich »

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.

muekno
Posts: 9
Joined: 2017-02-23 15:06

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

#3 Post by muekno »

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: 9
Joined: 2017-02-23 15:06

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

#4 Post by muekno »

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

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

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

#5 Post by GarryRicketson »

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,

muekno
Posts: 9
Joined: 2017-02-23 15:06

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

#6 Post by muekno »

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

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

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

#7 Post by stevepusser »

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...
MX Linux packager and developer

muekno
Posts: 9
Joined: 2017-02-23 15:06

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

#8 Post by muekno »

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

Post Reply