Installation Failing on Ububntu Servr 18.04.xx


#1

Hello Everyone ,
I just migrated to ubuntu 18.04 server and got issue of

$ sudo apt-get install python-certbot-apache
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:
python-certbot-apache : Depends: python3-certbot-apache but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Clean install of server is also throwing same error

Blockquote
I tried various procedures, clean server install but still getting same issue ! Is anything getting upgraded on Certbot Severs? because as per my knowledge weeks ago i used same commands to issue SSL on Ubuntu 18.04 server


#2

You might try to run apt-get with debugging options, so you might find out more information about this problem:

sudo apt-get -o Debug::pkgProblemResolver=true install python-certbot-apache


#3

I am having this same problem. I ran the above command and still got the same error


#4

The error won’t go away when you tell a command to give you more debugging information with the above command. It will do exactly the same as before, but tell you more about it. You’ll need to use that extra information to figure out or search for a solution.


#5

New error info:

Reading package lists… Done
Building dependency tree
Reading state information… Done
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) python-certbot-apache:amd64 < none -> 0.25.0-2+ubuntu18.04.1+certbot+1 @un puN Ib >
Broken python-certbot-apache:amd64 Depends on python3-certbot-apache:amd64 < none | 0.25.0-2+ubuntu18.04.1+certbot+1 @un uH >
Considering python3-certbot-apache:amd64 1 as a solution to python-certbot-apache:amd64 9999
Re-Instated python3-josepy:amd64
Reinst Failed early because of python3-mock:amd64
Reinst Failed because of python3-acme:amd64
Reinst Failed because of python3-certbot:amd64
Reinst Failed because of certbot:amd64
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:
python-certbot-apache : Depends: python3-certbot-apache but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


#6

Hey i’m running into this exact same problem. Bumping this thread!


#7

Solved! The universe repository wasn’t in my sources list.

I added the following line to /etc/apt/sources.list:

deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted universe

It installed correctly after that.


#8

thats for trusty, is that ok on 18.04.1 ? my sources only has 3 entries are all are for bionic.


#9

Got Fix for this issue
Follow This Guide –


#10

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