-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot install python-certbot-nginx on Ubuntu 18.04 because of ‘unmet dependencies’ #6362
Comments
@schoen I now believe this is due to the universe repos ( In that case this is not a bug, but certainly a hint in the instructions would be very welcome. |
I have the same problem, How solve it ? |
run |
The same behaviour is present in debian stretch, I get the following error : apt install python3-certbot-nginx
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:
python3-certbot-nginx : Depends: certbot (>= 0.25.0~) but 0.10.2-1 is to be installed
Depends: python3-acme (>= 0.26.0~) but 0.10.2-1 is to be installed
Depends: python3-certbot but it is not going to be installed
E: Unable to correct problems, you have held broken packages. Should I open a new issue for this ? For Debian Gnu/Linux, the recommendation is to use the backports, you can do this with a sudo account : echo "deb http://ftp.debian.org/debian stretch-backports main">>/etc/apt/sources.list
apt-get update && apt-get install certbot python3-certbot-nginx -t stretch-backports
ertbot --nginx -d domain.com |
@h3ct0rjs, you need to include For Ubuntu users, this issue should be resolved with certbot/website#382. |
i'm having a similar issue after recently doing
debian has no 'universe', trying to add it results in:
any advice would be appreciated, thanks! |
Jessie users should not forget to change few lines :) For jessie add this line to source list Then install depends on your Debian version: it would seem obvious but just in case ;) |
Hi, same problem here with a fresh install of ubuntu 18.04 ... would like to know if someone found a solution for this ? but I receive error : |
Hi again, |
@angelflo, I strongly recommend you post to https://community.letsencrypt.org where there is a large group of people familiar with the project who would be happy to try and help you. |
sudo apt-get update |
I do not recommend installing packages with |
I agree, but if there is no other option, then this can be used if there is a serious need for it. I used this option on my server and everything works successfully. |
For anyone else running into this problem and adding Change:
To:
Then run |
In my case, the problem was that AWS's Ubuntu mirror apparently doesn't include python3-mock etc. (WTF?) In /etc/apt/sources.list:
|
Guys I have a leading edge solution for this. I installed NGINX from source custom build and it is bleeding edge. I tried all the solutions mentioned None of these work on a brand new install with @angristan nginx autointall source build After I tried everything I could find this worked https://certbot.eff.org/lets-encrypt/ubuntuother-nginx |
Using the steps on this guide worked flawlessly when every other guide did not, thank you so much. |
On a completely fresh, up-to-date Ubuntu 18.04.1 LTS (Server) installation, Certbot cannot be installed from the Certbot PPA. The installation fails with ‘unmet dependencies’.
I am following the instructions at https://certbot.eff.org/lets-encrypt/ubuntuartful-nginx.
Command-line conversation after having done
sudo add-apt-repository ppa:certbot/certbot
and updated the APT package cache follows.I expect this package install to work, or if I am missing some prerequisites perhaps the Certbot instructions should mention them. Thank you!
The text was updated successfully, but these errors were encountered: