Bug 24508 - Perl version stops upgrade
Summary: Perl version stops upgrade
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Packaging (show other bugs)
Version: 19.11
Hardware: All Linux
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 13937
Blocks:
  Show dependency treegraph
 
Reported: 2020-01-24 10:15 UTC by Hans Pålsson
Modified: 2020-11-30 21:45 UTC (History)
5 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Pålsson 2020-01-24 10:15:28 UTC
In reference to bug 20808, when trying to upgrade 19.05.06 to 19.11.01 the installation fails due to dependencies. It seems Perl version 5.20.0 is required, on our server 5.28.1 is installed. Server is Debian Jessie;

PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian

Error message is The following packages have unmet dependencies:
 koha-common : Depends: libnet-z3950-simpleserver-perl but it is not going to be installed
...when searching for solutions it leads to wrong version of perl installed. 

The server has previously installed and upgraded Koha up to 19.05.06 without errors. Is it a dependence that has come with 19.11?
Comment 1 Jonathan Druart 2020-01-24 11:37:06 UTC
The dependency has been added by bug 13937, that is part of 19.11 indeed.

libnet-z3950-simpleserver-perl is not available in Jessie (which we are going to stop supporting soon), but it should not be mandatory, but optional.
Comment 2 Mason James 2020-01-24 12:40:51 UTC
(In reply to Hans Pålsson from comment #0)
> In reference to bug 20808, when trying to upgrade 19.05.06 to 19.11.01 the
> installation fails due to dependencies. It seems Perl version 5.20.0 is
> required, on our server 5.28.1 is installed. Server is Debian Jessie;
> 
> PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
> NAME="Debian GNU/Linux"
> VERSION_ID="8"
> VERSION="8 (jessie)"
> ID=debian
> 
> Error message is The following packages have unmet dependencies:
>  koha-common : Depends: libnet-z3950-simpleserver-perl but it is not going
> to be installed
> ...when searching for solutions it leads to wrong version of perl installed. 
> 
> The server has previously installed and upgraded Koha up to 19.05.06 without
> errors. Is it a dependence that has come with 19.11?

hi Hans

this problem seems to be caused by your system running a deb10 version of perl on deb8

https://packages.debian.org/jessie/perl v5.20
https://packages.debian.org/buster/perl v5.28

my advice would be to attempt to build and install a libnet-z3950-simpleserver-perl package for your specific system

https://packages.debian.org/source/jessie/libnet-z3950-simpleserver-perl

or install a 5.20 perl, or upgrade to deb10
Comment 3 Mason James 2020-01-24 12:42:24 UTC
(In reply to Jonathan Druart from comment #1)
> The dependency has been added by bug 13937, that is part of 19.11 indeed.
> 
> libnet-z3950-simpleserver-perl is not available in Jessie (which we are
> going to stop supporting soon), but it should not be mandatory, but optional.

hi Jonathan, there is a version for jessie

 https://packages.debian.org/jessie/libnet-z3950-simpleserver-perl
Comment 4 Mason James 2020-01-24 12:46:42 UTC
> hi Hans
> 
> this problem seems to be caused by your system running a deb10 version of
> perl on deb8
> 
> https://packages.debian.org/jessie/perl v5.20
> https://packages.debian.org/buster/perl v5.28
> 
> my advice would be to attempt to build and install a
> libnet-z3950-simpleserver-perl package for your specific system
> 
> https://packages.debian.org/source/jessie/libnet-z3950-simpleserver-perl
> 
> or install a 5.20 perl, or upgrade to deb10

or attempt to install a deb10 version of the package
 https://packages.debian.org/buster/libnet-z3950-simpleserver-perl

this might be tricky as there looks to be other dependancies for the package, which you will need to install too
Comment 5 Jonathan Druart 2020-01-24 12:59:16 UTC
Indeed!
https://packages.debian.org/search?keywords=libnet-z3950-simpleserver-perl
I did not notice that the search defaulted to "stable" only!
Comment 6 Hans Pålsson 2020-02-05 15:14:55 UTC
Thanks for all replies. Can this bug be closed or marked as resolved (or blocked?). It was clearly not a bug that was caused by Koha.