EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #06162
< 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, 16 Jan 2017 11:03:09 +0000
Hello all! This is an old thread to be dredging up, but installing a fresh copy of EPrints under Ubuntu has found new and interesting ways to infuriate me! After Christer’s last email I think I got a working install going however as it had been so long since I’d last looked at it I decided to tear down my virtual machine and start fresh, documenting the process as I went. I’ve hit another
brick wall! While the installation process starts fine it throws a new error during install. I’ve taken a screenshot which you can see here:
https://goo.gl/photos/GDpa5HnP5y6CzLoR6 and actually generates a system error. Has anyone else encountered this? Andrew From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Christer Enkvist Sorry, noticed I skipped a crucial step in the description! The command “equivs-control apache2-mpm-prefork” simply creates the file apache2-mpm-prefork which
is a file describing what to install (or more correctly fake an install of). Perhaps you need to edit this file ( I did) ,
Replace Package: <package name; defaults to equivs-dummy> With Package: apache2-mpm-prefork Now you can build a debian package: equivs-build apache2-mpm-prefork And finally install it: install” apache2-mpm-prefork Complete description should be: apt-get install libapache2-mod-php apt-get install -y equivs equivs-control apache2-mpm-prefork Edit the file apache2-mpm-prefork, replace “Package: <package name; defaults to equivs-dummy>“ with “Package: apache2-mpm-prefork” equivs-build apache2-mpm-prefork dpkg -i apache2-mpm-prefork_1.0_all.deb Please let me know if you encounter any problems! /Christer From:
eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Andrew Beeken 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>
- Re: [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] Error in Script - Adding usertype validation in
- Next by Date: [EP-tech] technical question: one archive with two domains
- Previous by thread: Re: [EP-tech] Problem with installing on Ubuntu
- Next by thread: [EP-tech] FW: Problem with installing on Ubuntu
- Index(es):