Thread: PgAdmin4 installation Error

PgAdmin4 installation Error

From
Ashkar Dev
Date:
 $ sudo apt-get install pgadmin4 pgadmin4-apache2

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:
 pgadmin4 : Depends: pgadmin4-common (= 4.13-1.pgdg90+1) but it is not going to be installed
 pgadmin4-apache2 : Depends: libapache2-mod-wsgi-py3 but it is not installable or
                             httpd-wsgi
                    Depends: pgadmin4-common (= 4.13-1.pgdg90+1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Re: PgAdmin4 installation Error

From
Christoph Berg
Date:
Re: Ashkar Dev 2019-09-21 <CAHaowgX-K35kt2ufXqbb7EyDbpjV6GetaGzN_zB-0bnwp1J1Xw@mail.gmail.com>
>  $ sudo apt-get install pgadmin4 pgadmin4-apache2
> 
> 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:
>  pgadmin4 : Depends: pgadmin4-common (= 4.13-1.pgdg90+1) but it is not
> going to be installed
>  pgadmin4-apache2 : Depends: libapache2-mod-wsgi-py3 but it is not
> installable or
>                              httpd-wsgi
>                     Depends: pgadmin4-common (= 4.13-1.pgdg90+1) but it is
> not going to be installed
> E: Unable to correct problems, you have held broken packages.

Hi Ashkar,

generally, to debug these things, tell apt to install the packages it
said it couldn't install:

apt install pgadmin4-common
apt install libapache2-mod-wsgi-py3
apt install httpd-wsgi

That will usually print better error messages.

Are you on Debian Stretch?

If that doesn't help, post the full output here.

Christoph