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 <mtomp...@hotmail.com>
To: "koha-devel@lists.koha-community.org"
<koha-devel@lists.koha-community.org>
Subject: Re: [Koha-devel] Koha on Ubuntu 18.04 LTS (Bionic Beaver)
Message-ID:
<dm2pr11mb0059c56d9ed3145b375b541bc6...@dm2pr11mb0059.namprd11.prod.outlook.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@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@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@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/