[Koha] [EXTERNAL] Re: Problem upgrading to 21.05: perlapi-5-24.1 is not available

Mason James mtj at kohaaloha.com
Fri Dec 10 16:33:15 NZDT 2021


hi Fred
if you are running an "older" version of debian/ubuntu, follow the info on section 2.1.2.3 here...

  https://wiki.koha-community.org/wiki/Koha_on_Debian

  2.1.2.3 Support for Koha on older versions of Debian/Ubuntu (Debian 8, Ubuntu 18.04, Ubuntu 16.04)

example...
$ echo 'deb http://debian.koha-community.org/koha 21.05 main xenial' | sudo tee /etc/apt/sources.list.d/koha.list


On 10/12/21 8:46 am, King, Fred wrote:
> Hi Mason,
>
> Thanks for the reply! Some of the settings in my Koha setup are considerably different from yours. I should have added that I'm running my instance on a Digital Ocean 64-bit cloud server, and I'm on Ubuntu 18.04, not 20.04 as I thought. Do you think it might be easier for me to set up a fresh instance and export everything from the old system with sqldump? It might be faster, but it would still leave a puzzle...
>
> The upgradable but held back files are these--all of them depend on the mysterious and elusive perlapi-5.24.1:
>
> koha-common/oldstable 21.05.07-1 all [upgradable from: 20.11.04-1]
> libcryptx-perl/oldstable 0.063-1~bpo9+1 amd64 [upgradable from: 0.059-1~koha2]
> libmojolicious-plugin-openapi-perl/oldstable 4.98+really2.16-koha1 all [upgradable from: 1.15-1~kohadev1]
>
> Here's what I got, with the //*differences from your settings shown like this*//.
>
> --Fred
>
> # arch
> x86.64
>
> #lsb_release -a
> LSB Version: 	core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch //*No LSB modules are available.*//
> Distributor ID: Ubuntu
> Description:	Ubuntu 18.04.6 LTS //*Ubuntu 20.04.3 LTS*//
> Release:	18.04 //*20.04*//
> Codename:	bionic
>
> # cat /etc/apt/sources.list.d/koha.list
> deb http(colon)//debian(dot}koha-community(dot)org/koha 21.05 main
>
> # sudo apt-get update
> [checking repositories]
> Fetched 4593 kB in 1s
> Reading package lists... Done
>
> # apt-cache policy koha-common
> Installed: 20.11.04.1 //*21.05.07-1*//
> Candidate: 21.05.07.1
> Version table:
>     21.05.07-1
>        500 http(colon)//debian(dot)koha-community(dot)org/koha 21.05/main amd64 Packages
> *** 20.11.04-1 100 //*not in your version*//
>        100 /var/lib/dpkg/status
>
> # apt-cache policy libyaml-libyaml-perl
> libyaml-libyaml-perl:
>     Installed: (none) //*0.81+repack-1*//
>     Candidate: 0.76+repack-1~bpo9+1 //*0.81+repack-1*//
>     Version table:
>        0.76+repack-1~bpo9+1 500 //**** 0.81+repack-1 500*//
>           500 http(colon)//debian(dot)koha-community(dot)org/koha 21.05/main amd64 Packages
>        0.69+repack-1 500 //*not in your version*//
>           500 http(colon)//mirrors(dot)digitalocean(dot)com/ubuntu bionic/main amd64 Packages
>
> Fred King, MSLS, AHIP
> Medical Librarian, MedStar Washington Hospital Center
> fred.king at medstar.net
> 202-877-6670
> ORCID 0000-0001-5266-0279
> MedStar Authors Catalog: http://medstarauthors.org
>
> I don't know much about being a millionaire, but I'll bet I'd be darling at it.
> --Dorothy Parker
>
> -----Original Message-----
> From: Mason James <mtj at kohaaloha.com>
> Sent: Wednesday, December 08, 2021 8:49 PM
> To: King, Fred <Fred.King at Medstar.net>; koha <koha at lists.katipo.co.nz>
> Subject: [EXTERNAL] Re: [Koha] Problem upgrading to 21.05: perlapi-5-24.1 is not available
>
>
>
> **ATTENTION: This email originated from outside the MedStar Health network.
>   ** DO NOT CLICK links or attachments unless you recognize the sender and know the content is safe.
>
>   
>
> hi Fred
> if you are attempting to upgrade to 21.05/olstable - your 'Candidate' values should match those below...
>
>
> ------------------------
> $ arch
> x86_64
>
> $ lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description:    Ubuntu 20.04.3 LTS
> Release:    20.04
> Codename:   focal
>
> $ cat /etc/apt/sources.list.d/koha.list
> deb https://urldefense.com/v3/__http://debian.koha-community.org/koha__;!!D7IIWT94AA!rYcoa-kZ0oxaWfpLR7VjA438fpKolfFI02zJAhnHElBKdtvVuWM-rFpdUNdyIu3aCg$  21.05  main
>
> $ sudo apt-get update
>
> $ apt-cache policy koha-common
> koha-common:
>     Installed: 21.05.07-1
>     Candidate: 21.05.07-1 <<<<<<<<<<
>     Version table:
>    *** 21.05.07-1 500
>           500 https://urldefense.com/v3/__http://debian.koha-community.org/koha__;!!D7IIWT94AA!rYcoa-kZ0oxaWfpLR7VjA438fpKolfFI02zJAhnHElBKdtvVuWM-rFpdUNdyIu3aCg$  21.05/main amd64 Packages
>           100 /var/lib/dpkg/status
>
> $ apt-cache policy libyaml-libyaml-perl
> libyaml-libyaml-perl:
>     Installed: 0.81+repack-1
>     Candidate: 0.81+repack-1 <<<<<<<<<<
>     Version table:
>    *** 0.81+repack-1 500
>           500 https://urldefense.com/v3/__http://archive.ubuntu.com/ubuntu__;!!D7IIWT94AA!rYcoa-kZ0oxaWfpLR7VjA438fpKolfFI02zJAhnHElBKdtvVuWM-rFpdUNdB6jCbYg$  focal/main amd64 Packages
>           100 /var/lib/dpkg/status
>        0.76+repack-1~bpo9+1 500
>           500 https://urldefense.com/v3/__http://debian.koha-community.org/koha__;!!D7IIWT94AA!rYcoa-kZ0oxaWfpLR7VjA438fpKolfFI02zJAhnHElBKdtvVuWM-rFpdUNdyIu3aCg$  21.05/main amd64 Packages
>
>
> On 9/12/21 5:06 am, King, Fred wrote:
>> Esteemed Colleagues,
>>
>> I'm trying to upgrade my Koha instance from 20.11.01.000 to 21.05, or 21.11 if I can't do oldstable. I'm running it on Ubuntu 20.04LTS.
>>
>> Short description: the upgrade appears to need perlapi-5-24.1, but it's not available.
>>
>> Long description, my input is in (parentheses); system response is indented in courier:
>> (while upgrading)
>> E: Repository 'https://urldefense.com/v3/__http://debian.koha-community.org/koha__;!!D7IIWT94AA!rYcoa-kZ0oxaWfpLR7VjA438fpKolfFI02zJAhnHElBKdtvVuWM-rFpdUNdyIu3aCg$  stable InRelease' changed its 'Codename' value from '20.11' to '21.11'
>> N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
>> (so I typed: echo 'deb
>> https://urldefense.com/v3/__http://debian.koha-community.org/koha__;!!
>> D7IIWT94AA!rYcoa-kZ0oxaWfpLR7VjA438fpKolfFI02zJAhnHElBKdtvVuWM-rFpdUNd
>> yIu3aCg$  21.05 main' | sudo tee /etc/apt/sources.list.d/koha.list)
>> (I also tried the above with 21.11)
>> (apt-get install koha-common)
>> koha-common: Depends: libyaml-libyaml-perl but it is not going to be
>> installed
>> E: Unable to correct problems, you have held broken packages.
>> (apt-get install libyaml-libyaml-perl) The following packages have
>> unmet dependencies:
>>     libyaml-libyaml-perl : Depends: perlapi-5.24.1 but it is not
>> installable
>> E: Unable to correct problems, you have held broken packages.
>> (apt-get install perlapi-5.24.1)
>> Package perlapi-5-24.1 is not available, but it is referenced to by another package.
>> This may mean that the package is missing, has been obsoleted, or is
>> only available from another source
>> E: Package 'perlapi-5.24.1 has no installation candidate (locate
>> perlapi) /usr/share/perl/5.26.1/pod/perlapi.pod (and a few others)
>>
>> I've searched the Wiki, Google, and elsewhere, but I haven't found an answer. However, I've been working mostly in my basement and have a bad case of Basement Brain. Could someone point me towards a solution?
>>
>> Thanks,
>>
>> Fred King, MSLS, AHIP
>> Medical Librarian, MedStar Washington Hospital Center
>> fred.king at medstar.net<mailto:fred.king at medstar.net>
>> 202-877-6670
>> ORCID 0000-0001-5266-0279
>> MedStar Authors Catalog:
>> https://urldefense.com/v3/__http://medstarauthors.org__;!!D7IIWT94AA!r
>> Ycoa-kZ0oxaWfpLR7VjA438fpKolfFI02zJAhnHElBKdtvVuWM-rFpdUNeqsizdDQ$
>>
>> I don't know much about being a millionaire, but I'll bet I'd be darling at it.
>> --Dorothy Parker
>>
>> ----------------------------------------------------------------------
>> MedStar Health is a not-for-profit, integrated healthcare delivery system, the largest in Maryland and the Washington, D.C., region. Nationally recognized for clinical quality in heart, orthopedics, cancer and GI.
>>
>> IMPORTANT: This e-mail (including any attachments) may contain information that is private, confidential, or protected by attorney-client or other privilege. If you received this e-mail in error, please delete it from your system without copying it and notify sender by reply e-mail, so that our records can be corrected... Thank you.
>>
>> Help conserve valuable resources - only print this email if necessary.
>>
>>
>> _______________________________________________
>>
>> Koha mailing list
>> https://urldefense.com/v3/__http://koha-community.org__;!!D7IIWT94AA!r
>> Ycoa-kZ0oxaWfpLR7VjA438fpKolfFI02zJAhnHElBKdtvVuWM-rFpdUNc_Et1D0w$
>> Koha at lists.katipo.co.nz
>> Unsubscribe:
>> https://urldefense.com/v3/__https://lists.katipo.co.nz/mailman/listinf
>> o/koha__;!!D7IIWT94AA!rYcoa-kZ0oxaWfpLR7VjA438fpKolfFI02zJAhnHElBKdtvV
>> uWM-rFpdUNdGdLLElw$



More information about the Koha mailing list