Thread: [GENERAL] Failed dependencies for Pgadmin4 Web in Centos 7

[GENERAL] Failed dependencies for Pgadmin4 Web in Centos 7

From
Clodoaldo Neto
Date:
Trying to install Pgadmin4 Web in Centos7:

# yum list installed pgadmin4\*
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: mirror.linuxfix.com
 * epel: mirror.sjc02.svwh.net
 * extras: centos.mirror.ndchost.com
 * updates: centos.mirror.ndchost.com
34 packages excluded due to repository priority protections
Installed Packages
pgadmin4-python-beautifulsoup4.noarch                  4.5.1-2.rhel7                  @pgdg96
pgadmin4-python-fixtures.noarch                        3.0.0-4.rhel7                  @pgdg96
pgadmin4-python-flask-principal.noarch                 0.4.0-13.rhel7                 @pgdg96
pgadmin4-python-itsdangerous.noarch                    0.24-9.rhel7                   @pgdg96

# yum install pgadmin4-v1-web 
...
--> Finished Dependency Resolution
Error: Package: pgadmin4-v1-web-1.4-1.rhel7.noarch (pgdg96)
           Requires: python-beautifulsoup4 >= 4.4.1
           Available: python-beautifulsoup4-4.3.2-1.el7.noarch (epel)
               python-beautifulsoup4 = 4.3.2-1.el7
Error: Package: pgadmin4-v1-web-1.4-1.rhel7.noarch (pgdg96)
           Requires: python-flask-principal >= 0.4.0
Error: Package: pgadmin4-v1-web-1.4-1.rhel7.noarch (pgdg96)
           Requires: python-dateutil >= 2.5.0
           Available: python-dateutil-1.5-7.el7.noarch (base)
               python-dateutil = 1.5-7.el7
Error: Package: pgadmin4-v1-web-1.4-1.rhel7.noarch (pgdg96)
           Requires: python-fixtures >= 2.0.0
           Available: python-fixtures-0.3.14-3.el7.noarch (epel)
               python-fixtures = 0.3.14-3.el7
Error: Package: pgadmin4-v1-web-1.4-1.rhel7.noarch (pgdg96)
           Requires: python-mimeparse >= 1.5.1
           Available: python-mimeparse-0.1.4-2.el7.noarch (epel)
               python-mimeparse = 0.1.4-2.el7
Error: Package: pgadmin4-v1-web-1.4-1.rhel7.noarch (pgdg96)
           Requires: python-itsdangerous >= 0.24
           Installing: python-itsdangerous-0.23-2.el7.noarch (extras)
               python-itsdangerous = 0.23-2.el7
Error: Package: pgadmin4-v1-web-1.4-1.rhel7.noarch (pgdg96)
           Requires: python-flask-security >= 1.7.5
Error: Package: pgadmin4-v1-web-1.4-1.rhel7.noarch (pgdg96)
           Requires: python-itsdangerous >= 0.24
           Available: python-itsdangerous-0.23-2.el7.noarch (extras)
               python-itsdangerous = 0.23-2.el7
Error: Package: pgadmin4-v1-web-1.4-1.rhel7.noarch (pgdg96)
           Requires: python-flask-wtf >= 0.12
           Available: python-flask-wtf-0.8-3.el7.noarch (epel)
               python-flask-wtf = 0.8-3.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Regards, Clodoaldo

Re: [GENERAL] Failed dependencies for Pgadmin4 Web in Centos 7

From
Adrian Klaver
Date:
On 04/23/2017 12:07 PM, Clodoaldo Neto wrote:
> Trying to install Pgadmin4 Web in Centos7:
>
> # yum list installed pgadmin4\*
> Loaded plugins: fastestmirror, priorities
> Loading mirror speeds from cached hostfile
>  * base: mirror.linuxfix.com <http://mirror.linuxfix.com>
>  * epel: mirror.sjc02.svwh.net <http://mirror.sjc02.svwh.net>
>  * extras: centos.mirror.ndchost.com <http://centos.mirror.ndchost.com>
>  * updates: centos.mirror.ndchost.com <http://centos.mirror.ndchost.com>
> 34 packages excluded due to repository priority protections

The above is not helpful. Some searching found this:


https://serverfault.com/questions/312472/what-does-that-mean-packages-excluded-due-to-repository-priority-protections#402429

"In case you want to know which packages are excluded due to priority
protections you can use

yum list updates -d3

"
> Installed Packages
> pgadmin4-python-beautifulsoup4.noarch
> 4.5.1-2.rhel7                  @pgdg96
> pgadmin4-python-fixtures.noarch
> 3.0.0-4.rhel7                  @pgdg96
> pgadmin4-python-flask-principal.noarch
> 0.4.0-13.rhel7                 @pgdg96
> pgadmin4-python-itsdangerous.noarch
> 0.24-9.rhel7                   @pgdg96
>
> # yum install pgadmin4-v1-web

Do you have the PGDG repos installed on your machine?:

https://www.postgresql.org/download/linux/redhat/

Or did you install the pgadmin4* packages above directly?

> ...
> --> Finished Dependency Resolution
> Error: Package: pgadmin4-v1-web-1.4-1.rhel7.noarch (pgdg96)
>            Requires: python-beautifulsoup4 >= 4.4.1
>            Available: python-beautifulsoup4-4.3.2-1.el7.noarch (epel)
>                python-beautifulsoup4 = 4.3.2-1.el7
> Error: Package: pgadmin4-v1-web-1.4-1.rhel7.noarch (pgdg96)
>            Requires: python-flask-principal >= 0.4.0
> Error: Package: pgadmin4-v1-web-1.4-1.rhel7.noarch (pgdg96)
>            Requires: python-dateutil >= 2.5.0
>            Available: python-dateutil-1.5-7.el7.noarch (base)
>                python-dateutil = 1.5-7.el7
> Error: Package: pgadmin4-v1-web-1.4-1.rhel7.noarch (pgdg96)
>            Requires: python-fixtures >= 2.0.0
>            Available: python-fixtures-0.3.14-3.el7.noarch (epel)
>                python-fixtures = 0.3.14-3.el7
> Error: Package: pgadmin4-v1-web-1.4-1.rhel7.noarch (pgdg96)
>            Requires: python-mimeparse >= 1.5.1
>            Available: python-mimeparse-0.1.4-2.el7.noarch (epel)
>                python-mimeparse = 0.1.4-2.el7
> Error: Package: pgadmin4-v1-web-1.4-1.rhel7.noarch (pgdg96)
>            Requires: python-itsdangerous >= 0.24
>            Installing: python-itsdangerous-0.23-2.el7.noarch (extras)
>                python-itsdangerous = 0.23-2.el7
> Error: Package: pgadmin4-v1-web-1.4-1.rhel7.noarch (pgdg96)
>            Requires: python-flask-security >= 1.7.5
> Error: Package: pgadmin4-v1-web-1.4-1.rhel7.noarch (pgdg96)
>            Requires: python-itsdangerous >= 0.24
>            Available: python-itsdangerous-0.23-2.el7.noarch (extras)
>                python-itsdangerous = 0.23-2.el7
> Error: Package: pgadmin4-v1-web-1.4-1.rhel7.noarch (pgdg96)
>            Requires: python-flask-wtf >= 0.12
>            Available: python-flask-wtf-0.8-3.el7.noarch (epel)
>                python-flask-wtf = 0.8-3.el7
>  You could try using --skip-broken to work around the problem
>  You could try running: rpm -Va --nofiles --nodigest
>
> Regards, Clodoaldo


--
Adrian Klaver
adrian.klaver@aklaver.com


Re: [GENERAL] Failed dependencies for Pgadmin4 Web in Centos 7

From
Adrian Klaver
Date:
On 04/24/2017 05:06 AM, Clodoaldo Neto wrote:
Please reply to list also
Ccing list

> On Sun, Apr 23, 2017 at 4:58 PM, Adrian Klaver
> <adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>> wrote:

>
> I disabled the priorities plugin and got no excluded packages but still
> the same failed dependencies.
>
>
>         Installed Packages
>         pgadmin4-python-beautifulsoup4.noarch
>         4.5.1-2.rhel7                  @pgdg96
>         pgadmin4-python-fixtures.noarch
>         3.0.0-4.rhel7                  @pgdg96
>         pgadmin4-python-flask-principal.noarch
>         0.4.0-13.rhel7                 @pgdg96
>         pgadmin4-python-itsdangerous.noarch
>         0.24-9.rhel7                   @pgdg96
>
>         # yum install pgadmin4-v1-web
>
>
>     Do you have the PGDG repos installed on your machine?:
>
>     https://www.postgresql.org/download/linux/redhat/
>     <https://www.postgresql.org/download/linux/redhat/>
>
>     Or did you install the pgadmin4* packages above directly?
>
>
> I have the pgdg-96 repo installed.
>
> The first problem is that the four packages above have the "pgadmin4"
> string prefixed to their names whereas the spec file aks for the name
> without the prefix like in "pgadmin4-python-fixtures" vs "python-fixtures".

To be clear I am not a Yum/RPM expert.

Where is the spec file coming from?

>
> The second problem is that the other packages do not exist in pgdg-96 in
> either form.

Looks to me they do:

https://yum.postgresql.org/9.6/redhat/rhel-7-x86_64/

>
> IMHO prefixing the package names with "pgadmin4" just adds confusion as
> there will be different packages installing the same file names in the
> same places. The different repo sources can be managed with priorities
> if necessary.
>
> Clodoaldo
>



--
Adrian Klaver
adrian.klaver@aklaver.com


Re: [GENERAL] Failed dependencies for Pgadmin4 Web in Centos 7

From
Adrian Klaver
Date:
On 04/24/2017 05:20 AM, Clodoaldo Neto wrote:

Ccing list.


>
> BTW aren't the Python packages better left in the epel repo if possible?
> I think the Python people will not care since they rely mostly in Pip.

Agreed, when I tried out pgAdmin4, I found the easiest way was to set up
a virtualenv and use the Wheel:

https://www.pgadmin.org/download/pip4.php

>
> Clodoaldo
>
>


--
Adrian Klaver
adrian.klaver@aklaver.com


Re: [GENERAL] Failed dependencies for Pgadmin4 Web in Centos 7

From
Clodoaldo Neto
Date:

On Mon, Apr 24, 2017 at 11:15 AM, Adrian Klaver <adrian.klaver@aklaver.com> wrote:
On 04/24/2017 05:06 AM, Clodoaldo Neto wrote:
Please reply to list also
Ccing list

On Sun, Apr 23, 2017 at 4:58 PM, Adrian Klaver
<adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>> wrote:


I disabled the priorities plugin and got no excluded packages but still
the same failed dependencies.


        Installed Packages
        pgadmin4-python-beautifulsoup4.noarch
        4.5.1-2.rhel7                  @pgdg96
        pgadmin4-python-fixtures.noarch
        3.0.0-4.rhel7                  @pgdg96
        pgadmin4-python-flask-principal.noarch
        0.4.0-13.rhel7                 @pgdg96
        pgadmin4-python-itsdangerous.noarch
        0.24-9.rhel7                   @pgdg96

        # yum install pgadmin4-v1-web


    Do you have the PGDG repos installed on your machine?:

    https://www.postgresql.org/download/linux/redhat/
    <https://www.postgresql.org/download/linux/redhat/>

    Or did you install the pgadmin4* packages above directly?


I have the pgdg-96 repo installed.

The first problem is that the four packages above have the "pgadmin4"
string prefixed to their names whereas the spec file aks for the name
without the prefix like in "pgadmin4-python-fixtures" vs "python-fixtures".

To be clear I am not a Yum/RPM expert.

Where is the spec file coming from?


 

The second problem is that the other packages do not exist in pgdg-96 in
either form.

Looks to me they do:

https://yum.postgresql.org/9.6/redhat/rhel-7-x86_64/


Missing packages: python-dateutil, python-mimeparse, python-flask-security, python-flask-wtf
 

Clodoaldo



IMHO prefixing the package names with "pgadmin4" just adds confusion as
there will be different packages installing the same file names in the
same places. The different repo sources can be managed with priorities
if necessary.

Clodoaldo




--
Adrian Klaver
adrian.klaver@aklaver.com

Re: [GENERAL] Failed dependencies for Pgadmin4 Web in Centos 7

From
Adrian Klaver
Date:
On 04/24/2017 07:56 AM, Clodoaldo Neto wrote:
>
> On Mon, Apr 24, 2017 at 11:15 AM, Adrian Klaver
> <adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>> wrote:
>

>

>     To be clear I am not a Yum/RPM expert.
>
>     Where is the spec file coming from?
>
>
> From the pgadmin4-v1-web package:
> https://yum.postgresql.org/srpms/9.6/redhat/rhel-7-x86_64/pgadmin4-v1-1.4-1.rhel7.src.rpm

I see there is a proposed fix:
"#FIXME: add pgadmin4- prefix to related dependencies"

>
>
>
>         The second problem is that the other packages do not exist in
>         pgdg-96 in
>         either form.
>
>
>     Looks to me they do:
>
>     https://yum.postgresql.org/9.6/redhat/rhel-7-x86_64/
>     <https://yum.postgresql.org/9.6/redhat/rhel-7-x86_64/>
>
>
> Missing packages: python-dateutil, python-mimeparse,
> python-flask-security, python-flask-wtf

Yeah, that would be a problem. My suggestion is to contact Devrim
directly, his email is at bottom of the spec file.

>
>
> Clodoaldo
>

>


--
Adrian Klaver
adrian.klaver@aklaver.com