[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Problem with installing on Ubuntu



Hi,

Posted a workaround on this topic a few weeks back.  In Summary:

First, create fake entry for apache2-mpm-prefork (required by eprints.deb) and install a MPM fork for apache:

apt-get install libapache2-mod-php
apt-get install -y equivs
equivs-control apache2-mpm-prefork
dpkg -i apache2-mpm-prefork_1.0_all.deb

Now you can download and install without problem.

Secondly, a bug/new feature in Perls URI module forces either an update of the URI module or a simple edit of the file /usr/share/eprints3/perl_lib/URI/Escape.pm.

A patch has been posted by Denis Pitzalis, see https://github.com/eprints/eprints/pull/416 or manually change the file /usr/share/eprints3/perl_lib/URI/Escape.pm.:

Replace line 205
return join '', @URI::Escape::escapes{$[0] =~ /(\C)/g};

with the following:
if (utf8::isutf8($[0])) {
my $s = $[0];
utf8::encode($s);
unshift(@, $s);
}
return join '', @URI::Escape::escapes{$_[0] =~ /(.)/sg};
}

Now Eprints should work.

Regards
Christer

From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Andrew Beeken
Sent: den 7 oktober 2016 11:12
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] Problem with installing on Ubuntu

Hi all,

Having a problem getting EPrints to install on a new VBox. Have added the Deb entry to sources.list as

deb http://deb.eprints.org/ stable/
deb-src http://deb.eprints.org/ source/

(Don't know if the last line is needed)

So, running sudo apt-get update gives me:

W: The repository 'http://deb.eprints.org stable/ Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://deb.eprints.org source/ Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Which I'm not used to seeing. I tried running an install anyway and got:

Reading package lists... Done
Building dependency tree
Reading state information... Done
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.
eprints : PreDepends: apache2-mpm-prefork but it is not installable
E: Unable to correct problems, you have held broken packages.

Running a VBox with the latest release of Ubuntu (16.04.1). Any thoughts?

The University of Lincoln, located in the heart of the city of Lincoln, has established an international reputation based on high student satisfaction, excellent graduate employment and world-class research.

The information in this e-mail and any attachments may be confidential. If you have received this email in error please notify the sender immediately and remove it from your system. Do not disclose the contents to another person or take copies.

Email is not secure and may contain viruses. The University of Lincoln makes every effort to ensure email is sent without viruses, but cannot guarantee this and recommends recipients take appropriate precautions.

The University may monitor email traffic data and content in accordance with its policies and English law. Further information can be found at: http://lincoln.ac.uk/legal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20161010/b7e01d87/attachment.html