Re: postgresql-plperl-9.4 : Depends: libperl5.18 (>= 5.18.2) but it is not installable

Started by Muhammad Hanif Abdul Hamidabout 9 years ago3 messagesgeneral
Jump to latest
#1Muhammad Hanif Abdul Hamid
hanif.hamid@mimos.my

Dear Admin,

I would like to install “postgresql-plperl-9.4” package, however it failed due to the “libperl5.18” dependency is lower than “libperl5.22” installed as below:-

root@db:/home/prod# apt-get install postgresql-plperl-9.4

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:

postgresql-plperl-9.4 : Depends: libperl5.18 (>= 5.18.2) but it is not installable

E: Unable to correct problems, you have held broken packages.

root@db:/home/oneadmin# dpkg -l|grep libperl

ii libperl5.22:amd64 5.22.1-9 amd64 shared Perl library

root@db:/home/prod#

Please advise.

Thank you.

________________________________
DISCLAIMER:

This e-mail (including any attachments) is for the addressee(s) only and may be confidential, especially as regards personal data. If you are not the intended recipient, please note that any dealing, review, distribution, printing, copying or use of this e-mail is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete the original message (including any attachments).

MIMOS Berhad is a research and development institution under the purview of the Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions and other information in this e-mail that do not relate to the official business of MIMOS Berhad and/or its subsidiaries shall be understood as neither given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS Berhad nor its subsidiaries accepts responsibility for the same. All liability arising from or in connection with computer viruses and/or corrupted e-mails is excluded to the fullest extent permitted by law.

#2Adrian Klaver
adrian.klaver@aklaver.com
In reply to: Muhammad Hanif Abdul Hamid (#1)

On 04/11/2017 07:23 PM, Muhammad Hanif Abdul Hamid wrote:

Dear Admin,

I would like to install “postgresql-plperl-9.4” package, however it
failed due to the “libperl5.18” dependency is lower than “libperl5.22”
installed as below:-

Obviously some Debian derived distribution, but what one and version number?

Which repos are you using the system or the PGDG ones?

On my Ubuntu 16.04.2 LTS machine using the PGDG repos I get:

aklaver@arkansas:~$ apt-cache show postgresql-plperl-9.4
Package: postgresql-plperl-9.4
Source: postgresql-9.4
Version: 9.4.11-1.pgdg16.04+1
Architecture: amd64
Maintainer: Debian PostgreSQL Maintainers
<pkg-postgresql-public@lists.alioth.debian.org>
Installed-Size: 233
Depends: libc6 (>= 2.4), libperl5.22 (>= 5.22.1), postgresql-9.4 (=
9.4.11-1.pgdg16.04+1), perl
Provides: postgresql-plperl
Filename:
pool/main/p/postgresql-9.4/postgresql-plperl-9.4_9.4.11-1.pgdg16.04+1_amd64.deb

which matches up with the installed Perl lib:

aklaver@arkansas:~$ dpkg -l| grep libperl

ii libperl5.22:amd64 5.22.1-9 amd64 shared Perl library

root@db:/home/prod# apt-get install postgresql-plperl-9.4

The following packages have unmet dependencies:

postgresql-plperl-9.4 : Depends: libperl5.18 (>= 5.18.2) but it is not
installable

E: Unable to correct problems, you have held broken packages.

root@db:/home/oneadmin# dpkg -l|grep libperl

ii libperl5.22:amd64 5.22.1-9
amd64 shared Perl library

root@db:/home/prod#

Please advise.

Thank you.

------------------------------------------------------------------------
*DISCLAIMER:*

This e-mail (including any attachments) is for the addressee(s) only and
may be confidential, especially as regards personal data. If you are not
the intended recipient, please note that any dealing, review,
distribution, printing, copying or use of this e-mail is strictly
prohibited. If you have received this email in error, please notify the
sender immediately and delete the original message (including any
attachments).

MIMOS Berhad is a research and development institution under the purview
of the Malaysian Ministry of Science, Technology and Innovation.
Opinions, conclusions and other information in this e-mail that do not
relate to the official business of MIMOS Berhad and/or its subsidiaries
shall be understood as neither given nor endorsed by MIMOS Berhad and/or
its subsidiaries and neither MIMOS Berhad nor its subsidiaries accepts
responsibility for the same. All liability arising from or in connection
with computer viruses and/or corrupted e-mails is excluded to the
fullest extent permitted by law.

--
Adrian Klaver
adrian.klaver@aklaver.com

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#3Muhammad Hanif Abdul Hamid
hanif.hamid@mimos.my
In reply to: Adrian Klaver (#2)

Dear Adrian,

Solved, it is due to pgdg.list.

Typo, it should be xenial-pgdg instead of trusty-pgdg for the repository.

Thank you.

-----Original Message-----
From: Adrian Klaver [mailto:adrian.klaver@aklaver.com]
Sent: Rabu, 12 April 2017 12:16 ptg
To: Muhammad Hanif Abdul Hamid <hanif.hamid@mimos.my>; pgsql-general <pgsql-general@postgresql.org>
Subject: Re: [GENERAL] postgresql-plperl-9.4 : Depends: libperl5.18 (>= 5.18.2) but it is not installable

On 04/11/2017 07:23 PM, Muhammad Hanif Abdul Hamid wrote:

Dear Admin,

I would like to install “postgresql-plperl-9.4” package, however it
failed due to the “libperl5.18” dependency is lower than “libperl5.22”
installed as below:-

Obviously some Debian derived distribution, but what one and version number?

Which repos are you using the system or the PGDG ones?

On my Ubuntu 16.04.2 LTS machine using the PGDG repos I get:

aklaver@arkansas:~$ apt-cache show postgresql-plperl-9.4
Package: postgresql-plperl-9.4
Source: postgresql-9.4
Version: 9.4.11-1.pgdg16.04+1
Architecture: amd64
Maintainer: Debian PostgreSQL Maintainers <pkg-postgresql-public@lists.alioth.debian.org>
Installed-Size: 233
Depends: libc6 (>= 2.4), libperl5.22 (>= 5.22.1), postgresql-9.4 (= 9.4.11-1.pgdg16.04+1), perl
Provides: postgresql-plperl
Filename:
pool/main/p/postgresql-9.4/postgresql-plperl-9.4_9.4.11-1.pgdg16.04+1_amd64.deb

which matches up with the installed Perl lib:

aklaver@arkansas:~$ dpkg -l| grep libperl

ii libperl5.22:amd64 5.22.1-9 amd64 shared Perl library

root@db:/home/prod# apt-get install postgresql-plperl-9.4

The following packages have unmet dependencies:

postgresql-plperl-9.4 : Depends: libperl5.18 (>= 5.18.2) but it is not
installable

E: Unable to correct problems, you have held broken packages.

root@db:/home/oneadmin# dpkg -l|grep libperl

ii libperl5.22:amd64 5.22.1-9
amd64 shared Perl library

root@db:/home/prod#

Please advise.

Thank you.

----------------------------------------------------------------------
--
*DISCLAIMER:*

This e-mail (including any attachments) is for the addressee(s) only
and may be confidential, especially as regards personal data. If you
are not the intended recipient, please note that any dealing, review,
distribution, printing, copying or use of this e-mail is strictly
prohibited. If you have received this email in error, please notify
the sender immediately and delete the original message (including any
attachments).

MIMOS Berhad is a research and development institution under the
purview of the Malaysian Ministry of Science, Technology and Innovation.
Opinions, conclusions and other information in this e-mail that do not
relate to the official business of MIMOS Berhad and/or its
subsidiaries shall be understood as neither given nor endorsed by
MIMOS Berhad and/or its subsidiaries and neither MIMOS Berhad nor its
subsidiaries accepts responsibility for the same. All liability
arising from or in connection with computer viruses and/or corrupted
e-mails is excluded to the fullest extent permitted by law.

--
Adrian Klaver
adrian.klaver@aklaver.com

________________________________
DISCLAIMER:

This e-mail (including any attachments) is for the addressee(s) only and may be confidential, especially as regards personal data. If you are not the intended recipient, please note that any dealing, review, distribution, printing, copying or use of this e-mail is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete the original message (including any attachments).

MIMOS Berhad is a research and development institution under the purview of the Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions and other information in this e-mail that do not relate to the official business of MIMOS Berhad and/or its subsidiaries shall be understood as neither given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS Berhad nor its subsidiaries accepts responsibility for the same. All liability arising from or in connection with computer viruses and/or corrupted e-mails is excluded to the fullest extent permitted by law.

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general