Certbot installation fails with "Could not install OS dependencies"

Please fill out the fields below so we can help you better.

My domain is:
clients.adeweb.co.uk
I ran this command:
./certbot-auto --nginx
It produced this output:

Transaction Check Error:
file /usr/lib64/libkadm5clnt_mit.so.8.0 from install of libkadm5-1.10.3-65.el6.x86_64 conflicts with file from package krb5-libs-1.10.3-57.el6.x86_64
file /usr/lib64/libkadm5srv_mit.so.8.0 from install of libkadm5-1.10.3-65.el6.x86_64 conflicts with file from package krb5-libs-1.10.3-57.el6.x86_64

Error Summary

Could not install OS dependencies. Aborting bootstrap!
My web server is (include version):
nginx/1.10.2
The operating system my web server runs on is (include version):
CentOS release 6.9 (Final)
My hosting provider, if applicable, is:
Rackspace cloud UK
I can login to a root shell on my machine (yes or no, or I don’t know):
yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):no

Can anyone advise me about this dependency problem?

@SwartzCr, could you look into this?

Hi @_ade,
Sorry to hear about this issue. Had you been able to install certbot-auto before, or is this your first time trying to use it?
From what I can tell we don’t require libkadm5 anywhere, but maybe it’s a dependency of something else we require? Either way it seems like we’re trying to install version 1.10.3-65 and you have version 1.10.3-57. I bet if you uninstalled it (or upgraded it to version 65) then certbot could get the newer version and would be happy.
Of course you should check to see if anything else that you regularly use relies on that specific version before doing this, but newer versions should generally be safe.
Give that a try and let me know if that helps!

Hi @SwartzCr

Thanks for the advice. This is the first time I’ve tried to use Certbot - complete newbie!

I will back the box up and try uninstalling libkadm5. The box has been running for about 6 years so has some baggage.

I’ll let you know how I get on.

Many thanks

Okay - though you might just try upgrading it first and see if it fixes your problem.
Let me know how it goes!

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