EPrints Technical Mailing List Archive
Message: #05991
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Problem with installing on Ubuntu
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Problem with installing on Ubuntu
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- Date: Mon, 10 Oct 2016 15:18:22 +0000
Thanks for the response, Christer. I’m falling over in the first stage at the dpkg command: dpkg: error processing archive apache2-mpm-prefork_1.0_all.deb (--install): cannot access archive: No such file or directory Errors were encountered while processing: apache2-mpm-prefork_1.0_all.deb Now everything seems to work fine up until then, however the command equivs-control apache2-mpm-prefork Doesn’t give me any output; I don’t know if I’ve missed something in here? Andrew From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Christer Enkvist 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@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Andrew Beeken 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?
|
- References:
- [EP-tech] Problem with installing on Ubuntu
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- Re: [EP-tech] Problem with installing on Ubuntu
- From: Christer Enkvist <christer.enkvist@slu.se>
- [EP-tech] Problem with installing on Ubuntu
- Prev by Date: Re: [EP-tech] access-table, urgent - SOLVED
- Next by Date: [EP-tech] Changue languaje
- Previous by thread: Re: [EP-tech] Problem with installing on Ubuntu
- Next by thread: Re: [EP-tech] Problem with installing on Ubuntu
- Index(es):