Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-09-2014, 07:56 AM   #1
LQ Newbie
Registered: Feb 2014
Posts: 3

Rep: Reputation: Disabled
Error: Requires: perl(Apache::DBI), but it is already installed

I'm trying to setup a test installation EPrints v3.3.12 in a virtual machine running CentOS 6.5 x86_64 before doing the same on my VPS.

Supposedly I've installed all dependencies following this guide with a few additions:
# yum install perl-CPAN
# perl -MCPAN -e 'install Apache::DBI'
yum install eprints3 # 3.2.x
Installs fine, but

yum install eprints # 3.3.x and later
gives me the error:

Error: Package: eprints-3.3.12-1.el6.noarch (rpm-eprints-org)
           Requires: perl(Apache::DBI)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Even though Apache:BI is supposedly installed.
# perl -MCPAN -e 'install Apache::DBI'
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
  Database was generated on Sun, 09 Feb 2014 12:17:02 GMT
Apache::DBI is up to date (1.12).
Any help would be greatly appreciated..
Old 02-09-2014, 11:50 AM   #2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,698

Rep: Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291
The package "perl-Apache-DBI" is in the EPEL.repo : >>>
I.e. this will do : 1) # rpm -Uvh epel-release-6-8.noarch.rpm
2) # yum install perl-Apache-DBI

*** Files installed with cpan are not an rpm package.
And will not be recognized by yum.
RPM packages only are listed in the rpm data base.

1 members found this post helpful.
Old 02-10-2014, 01:13 AM   #3
LQ Newbie
Registered: Feb 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thumbs up

Thank you sir, worked like a charm!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] *** ERROR: PERL module Apache::DBI is not installed ! anjumanu321 Linux - Newbie 9 04-23-2015 03:40 PM
[SOLVED] Has anyone been able to get the DBI drivers installed for perl and MySQL? arpanetguru Slackware 1 02-06-2011 08:49 PM
perl dbi:mysql shows error syntax error dbi:mysql ?? haxpak Linux - Server 4 02-26-2009 11:09 PM
perl dbi module error "error at dbi:" dbi-> connect statement mysql haxpak Linux - Newbie 1 02-25-2009 08:22 AM
Error using DBI with Perl bostonantifan Ubuntu 0 11-11-2007 01:47 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration