Bugzilla – Attachment 107620 Details for
Bug 26109
Update list-deps for Koha 19.05.x to support Debian 8 and 10
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26109: Update list-deps for Koha 19.05.x to support Debian 8 and 10
Bug-26109-Update-list-deps-for-Koha-1905x-to-suppo.patch (text/plain), 3.62 KB, created by
Mason James
on 2020-07-31 08:38:50 UTC
(
hide
)
Description:
Bug 26109: Update list-deps for Koha 19.05.x to support Debian 8 and 10
Filename:
MIME Type:
Creator:
Mason James
Created:
2020-07-31 08:38:50 UTC
Size:
3.62 KB
patch
obsolete
>From 5479bdac18d018478eabe9e60e33d8f5badc3881 Mon Sep 17 00:00:00 2001 >From: Mason James <mtj@kohaaloha.com> >Date: Sun, 26 Jul 2020 01:02:23 +1200 >Subject: [PATCH] Bug 26109: Update list-deps for Koha 19.05.x to support > Debian 8 and 10 >Content-Type: text/plain; charset="utf-8" > >to test... > >1/ build and install 19.05.x package on deb8 and 10 > >2/ confirm failure > $ apt-get -q -y -s install koha-common > Reading package lists... > Building dependency tree... > Reading state information... > 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: > koha-common : Depends: libperl5.24 but it is not installable > Depends: perl-modules-5.24 but it is not installable > E: Unable to correct problems, you have held broken packages. > ERROR: Job failed: exit code 1 <<<<<<<<<< > >3/ apply patch > >4/ build and install 19.05.x package on deb8 and 10 > >5/ confirm success > $ apt-get -q -y -s install koha-common > $ apt-cache policy koha-common > koha-common: > Installed: 19.05.13-1 <<<<<<<<<< > Candidate: 19.05.13-1 >--- > debian/control.in | 2 +- > debian/list-deps | 10 ++++++---- > 2 files changed, 7 insertions(+), 5 deletions(-) > >diff --git a/debian/control.in b/debian/control.in >index 7ad20b1..e2f2f80 100644 >--- a/debian/control.in >+++ b/debian/control.in >@@ -1,5 +1,5 @@ > Source: koha >-Maintainer: Mirko Tietgen <mirko@abunchofthings.net> >+Maintainer: Mason James <mtj@kohaaloha.com> > Section: web > Priority: optional > Standards-Version: 3.8.4 >diff --git a/debian/list-deps b/debian/list-deps >index fb6e8c3..f92d148 100755 >--- a/debian/list-deps >+++ b/debian/list-deps >@@ -27,9 +27,10 @@ use C4::Installer::PerlDependencies; > my %overrides = ( > 'LWP::Protocol::https' => 'liblwp-protocol-https-perl|libwww-perl (<<6.02), libio-socket-ssl-perl', > 'HTTP::OAI' => 'libhttp-oai-perl (>= 3.2) | libhttp-oai-3.27-perl, libhttp-oai-perl (<< 4.0) | libhttp-oai-3.27-perl', >- 'IO::Socket::IP' => 'perl-modules (>= 5.20.0) | perl-modules-5.22 | perl-modules-5.24 | libio-socket-ip-perl', >+ 'IO::Socket::IP' => 'perl-modules (>= 5.20.0) | libio-socket-ip-perl', > 'Swagger2' => 'libswagger2-perl (>= 0.59)', > 'Mojolicious' => 'libmojolicious-perl (>= 6.0)', >+ 'CPAN::Meta' => 'libcpan-meta-perl (>= 2.150010) | perl-modules-5.28 | perl-modules-5.30 | perl-modules (>= 5.20.2)' > ); > > # These are packages we're going to ignore >@@ -55,8 +56,11 @@ foreach my $module ( keys %$deps ) { > # Remove packages that are required/essential and always installed on > # a Debian system. Debian packages should not have unversioned > # dependencies on such packages. >+ >+ # skip perl-base and problematic version specific libperl* and >+ # perl-module* packages (they get installed as deps. anyway) > foreach my $line (@temp) { >- if ( $line ne "perl-base" ) { >+ if ( $line ne "perl-base" and $line !~ /^libperl5\./ and $line !~ /^perl-modules-5\./ ) { > @lines = ( @lines, $line ); > } > } >@@ -71,8 +75,6 @@ foreach my $module ( keys %$deps ) { > foreach my $pkg (@lines) { > print " | " if ( $pkg ne $lines[0] ); > print "$pkg"; >- print " | $pkg" . "-5.22" if ( $pkg eq "perl-modules" ); >- print " | $pkg" . "-5.24" if ( $pkg eq "perl-modules" ); > } > print "\n"; > } >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 26109
: 107620