Broken packages

Dear All,
I have this error message when i have tried to install pgadmin4 on ubuntu 18:
The following packages have unmet dependencies:
pgadmin4-apache2: Depend: apache2 but it is not going to be installed or httpd-wsgi
E: Unable to correct problems, you have held broken packages.

hi, did you installed from a .deb ?

Please try this 2 commands :

sudo apt-get update --fix-missing
sudo apt-get install -f

and let us know the result. Good luck :slight_smile:

Hi olek,
thank you for your replay, I have tried the 2 commands:
sudo apt-get update –fix-missing
sudo apt-get install -f
But still got the same issue

How did you installed this package ? .deb or via repos ?

Can you show me those commands output to see what its complaining about ?

@olek
this is the output of the 2 commands:
root@vps812041:~# sudo apt-get update –fix-missing
E: The update command takes no arguments
root@vps812041:~# sudo apt-get update –fix-missing
E: The update command takes no arguments
root@vps812041:~# sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
grub-pc-bin
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
root@vps812041:~#

Hi @mm82299,

you should have --fix-missing in your command, 2 short dashes, not one long.

1 Like

Exactly, i done a bad copy paste.