[Koha-devel] Koha on Ubuntu 18.04 LTS (Bionic Beaver)

David Cook dcook at prosentient.com.au
Mon May 7 02:55:49 CEST 2018


If there are dependencies that are no longer available in newer versions of
Debian, then they'll be added to the Koha apt repository, I reckon.

David Cook
Systems Librarian
Prosentient Systems
72/330 Wattle St
Ultimo, NSW 2007
Australia

Office: 02 9212 0899
Direct: 02 8005 0595


-----Original Message-----
From: koha-devel-bounces at lists.koha-community.org
[mailto:koha-devel-bounces at lists.koha-community.org] On Behalf Of Giuseppe
Angilella
Sent: Sunday, 6 May 2018 5:47 PM
To: koha-devel at lists.koha-community.org
Subject: Re: [Koha-devel] Koha on Ubuntu 18.04 LTS (Bionic Beaver)

Successful update:

After removing all hand-rebuilt packages and koha-common itself, I tried
downloading the last versions of libmarc-charset-perl and libmarc-xml-perl
available for Ubuntu 16.04 (Xenial).

I had to install first

sudo apt-get install libmarc-record-perl

which was a dependency for one of the above, then:

sudo dpkg -i libmarc-charset-perl_1.35-2_amd64.deb
libmarc-xml-perl_1.0.3-1_all.deb

and eventually

sudo apt-get install koha-common

Leaving all the configuration which I had performed before removing Koha
(i.e. everything in /etc/koha/sites/myinstancename ,
/usr/share/koha/opac/htdocs , and of course the database itself; nothing of
these were in fact affected by my sudo apt-get remove koha-common, as I had
deliberately avoided to koha-remove any existing instance), and performing a
rebuild and restart of the Zebra services:

sudo koha-rebuild-zebra -f -v myinstancename sudo koha-restart-zebra
myinstancename

it seems that Koha 17.11.05.000 is working on Ubuntu 18.04 .

I wonder at this point whether future updates will be consistently dealt
with by apt-get ...

Many thanks!

Giuseppe.



On Sun, 6 May 2018, Giuseppe Angilella wrote:

> Dear Mark,
>
> many thanks: your suggestions did help, in the sense that it looked to 
> think apt-get that the missing packages had been installed, which 
> allowed me to overcome the "unmet dependencies" error.
>
> However, after having Koha installed and configured, I couldn't open 
> the browser interface, because of "software errors".
>
> After inspection, it turned out that the missing MARC/perl packages 
> had been manually installed in non-standard directories.
>
> E.g.
>
> dpkg-deb -c libmarc-xml-perl_0.4-1_all.deb
>
> drwxr-xr-x root/root         0 2018-05-05 15:56 ./
> drwxr-xr-x root/root         0 2018-05-05 15:56 ./home/
> drwxr-xr-x root/root         0 2018-05-05 15:56 ./home/<username>/
> drwxr-xr-x root/root         0 2018-05-05 15:56 ./home/<username>/perl5/
> drwxr-xr-x root/root         0 2018-05-05 15:56
./home/<username>/perl5/lib/
> drwxr-xr-x root/root         0 2018-05-05 15:56 
> ./home/<username>/perl5/lib/perl5/
> drwxr-xr-x root/root         0 2018-05-05 15:56 
> ./home/<username>/perl5/lib/perl5/MARC/
> -rw-r--r-- root/root     33884 2000-04-24 03:36 
> ./home/<username>/perl5/lib/perl5/MARC/XML.pm
> drwxr-xr-x root/root         0 2018-05-05 15:56
./home/<username>/perl5/man/
> drwxr-xr-x root/root         0 2018-05-05 15:56 
> ./home/<username>/perl5/man/man3/
> -rw-r--r-- root/root     15519 2018-05-05 15:56 
> ./home/<username>/perl5/man/man3/MARC::XML.3pm
> drwxr-xr-x root/root         0 2018-05-05 15:56 ./usr/
> drwxr-xr-x root/root         0 2018-05-05 15:56 ./usr/share/
> drwxr-xr-x root/root         0 2018-05-05 15:56 ./usr/share/doc/
> drwxr-xr-x root/root         0 2018-05-05 15:56 
> ./usr/share/doc/libmarc-xml-perl/
> -rw-r--r-- root/root       807 2000-01-25 19:26 
> ./usr/share/doc/libmarc-xml-perl/README
> -rw-r--r-- root/root       141 2018-05-05 15:56 
> ./usr/share/doc/libmarc-xml-perl/changelog.Debian.gz
> -rw-r--r-- root/root      1791 2018-05-05 15:56 
> ./usr/share/doc/libmarc-xml-perl/copyright
> drwxr-xr-x root/root         0 2018-05-05 15:56 
> ./usr/share/doc/libmarc-xml-perl/examples/
> -rw-r--r-- root/root       807 2000-01-25 19:26 
> ./usr/share/doc/libmarc-xml-perl/examples/README
> -rw-r--r-- root/root       501 1999-11-22 01:43 
> ./usr/share/doc/libmarc-xml-perl/examples/marc2xml.pl
> -rw-r--r-- root/root      4077 2000-01-25 20:56 
> ./usr/share/doc/libmarc-xml-perl/examples/pacific.pl
> -rw-r--r-- root/root     17854 2000-01-18 16:06 
> ./usr/share/doc/libmarc-xml-perl/examples/pacific0.dat.gz
> -rw-r--r-- root/root      1923 2000-01-25 21:53 
> ./usr/share/doc/libmarc-xml-perl/examples/read_pfa.pl
> -rw-r--r-- root/root       511 1999-11-23 22:45 
> ./usr/share/doc/libmarc-xml-perl/examples/simple.pl
> -rw-r--r-- root/root       509 1999-11-22 01:47 
> ./usr/share/doc/libmarc-xml-perl/examples/xml2marc.pl
>
> where <username> is my own home directory.
>
> I even tried to execute your commands as sudo su, but this didn't help.
>
> I then looked on http://packages.ubuntu.com for the location where 
> each package would place its files in Ubuntu 16.04, say
>
> https://packages.ubuntu.com/xenial/all/libmarc-xml-perl/filelist
>
> and started moving files to the correct location one by one. This 
> enabled me to overcome some initial errors, but produced new (similar) 
> ones. Of course this is not the clean way to proceed ...
>
> Is there a configuration parameter that I am missing, in order to 
> instruct cpan2deb (or dpkg) to install the relevant files in the 
> appropriate/standard directories?
>
> Many thanks and best regards,
>
> Giuseppe.
>
>> Date: Tue, 1 May 2018 12:29:32 +0000
>> From: Mark Tompsett <mtompset at hotmail.com>
>> To: "koha-devel at lists.koha-community.org"
>> 	<koha-devel at lists.koha-community.org>
>> Subject: Re: [Koha-devel] Koha on Ubuntu 18.04 LTS (Bionic Beaver)
>> Message-ID:
>> 	
>> <DM2PR11MB0059C56D9ED3145B375B541BC6810 at DM2PR11MB0059.namprd11.prod.o
>> utlook.com>
>> 
>> Content-Type: text/plain; charset="iso-8859-1"
>> 
>> Greetings,
>> 
>> When this happens, I prefer to package, however haphazardly, them.
>> 
>> cd ~
>> mkdir dhmake
>> sudo apt-get install dh-make-perl
>> cd dhmake
>> cpan2deb Marc::Charset
>> yes
>> sudo
>> -- should be noted some people don't like that answer. *shrug* I just 
>> go with it.
>> sudo dpkg -i libmarc-charset-perl_<tab><enter>
>> -- it should auto-complete the entire deb name sudo apt-get install 
>> libmarc-perl
>> -- I figured out this is a prerequisite for libmarc-xml-perl cpan2deb 
>> Marc::XML sudo dpkg -i  libmarc-xml-perl_<tab><enter>
>> 
>> In this case, these are easy. And I do it this way, so that if either 
>> make it into default repos as newer versions, they will get upgraded 
>> with sudo apt-get update; sudo apt-get upgrade
>> 
>> GPML,
>> Mark Tompsett
>> 
>> 
>> -----Original Message-----
>> From: Giuseppe Angilella
>> Sent: Tuesday, May 01, 2018 8:11 AM
>> To: koha-devel at lists.koha-community.org
>> Subject: [Koha-devel] Koha on Ubuntu 18.04 LTS (Bionic Beaver)
>> 
>> Hi,
>> 
>> I am trying to migrate my Koha installation from an Ubuntu 16.04 LTS 
>> "Xenial" [virtual] machine to a new machine, running Ubuntu 18.04 LTS 
>> "Bionic Beaver".
>> 
>> Immediately after issuing the installation command:
>> 
>> sudo apt-get install koha-common
>> 
>> I get the error:
>> 
>> 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: libmarc-charset-perl but it is not installable
>>                Depends: libmarc-xml-perl but it is not installable
>> 
>> Indeed, these two dependencies are not [yet] implemented for Ubuntu 
>> 18.04, as of https://packages.ubuntu.com .
>> 
>> Any suggestion?
>> 
>> Many thanks.
>> 
>> Giuseppe.
>> _______________________________________________
>> Koha-devel mailing list
>> Koha-devel at lists.koha-community.org
>> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>> website : http://www.koha-community.org/ git : 
>> http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
>
_______________________________________________
Koha-devel mailing list
Koha-devel at lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/ git :
http://git.koha-community.org/ bugs : http://bugs.koha-community.org/




More information about the Koha-devel mailing list