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

From: Muhammad Hanif Abdul Hamid <hanif(dot)hamid(at)mimos(dot)my>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: postgresql-plperl-9.4 : Depends: libperl5.18 (>= 5.18.2) but it is not installable
Date: 2017-04-12 04:38:48
Message-ID: 360A9E41D95D5A4FB6E09AC1B95B6516EE4DC9@MBX01-TPM.mimos.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(dot)klaver(at)aklaver(dot)com]
Sent: Rabu, 12 April 2017 12:16 ptg
To: Muhammad Hanif Abdul Hamid <hanif(dot)hamid(at)mimos(dot)my>; pgsql-general <pgsql-general(at)postgresql(dot)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(at)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(at)lists(dot)alioth(dot)debian(dot)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(at)arkansas:~$ dpkg -l| grep libperl

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

>
>
>
> root(at)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(at)db:/home/oneadmin# dpkg -l|grep libperl
>
> ii libperl5.22:amd64 5.22.1-9
> amd64 shared Perl library
>
> root(at)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(dot)klaver(at)aklaver(dot)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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Lifepillar 2017-04-12 07:09:57 [OT] Help: stories of database security and privacy
Previous Message Adrian Klaver 2017-04-12 04:16:00 Re: postgresql-plperl-9.4 : Depends: libperl5.18 (>= 5.18.2) but it is not installable