CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 5 - General Support
  trouble with yum localinstall of libapreq2

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  xiongchiamiov
      xiongchiamiov
trouble with yum localinstall of libapreq2
#1
Newbie
Joined: 2009/1/22
From
Posts: 4
I've been trying for a few hours to get libapreq2 working on CentOS 5.2. Installing from CPAN fails, and downloading the source from CPAN and compiling it manually succeeds, but puts the files in odd directories. When I move them to the directory filestructure that Apache expects, they return errors. However, I'd prefer to get libapreq2 installed via yum, so I'll leave off more details on the compiling route unless I absolutely have to go that way.

Background: I've only been using Linux for a little over a year, but I kinda dived in. I have experience with APT and Arch Linux's pacman, but not rpm.

I found some rpms via rpmfind.net, which led me here. I've downloaded libapreq2 and libapreq2-devel. This is what I did to install libapreq2:
sudo yum localinstall libapreq2-2.09-0.rc2.1.el5.i386.rpm -y
Loading "fastestmirror" plugin
Setting up Local Package Process
Loading mirror speeds from cached hostfile
 * rpmforge: fr2.rpmfind.net
 * base: centos-distro.cavecreek.net
 * updates: centos.mirroring.us
 * addons: dist1.800hosting.com
 * extras: dist1.800hosting.com
Examining libapreq2-2.09-0.rc2.1.el5.i386.rpm: libapreq2 - 2.09-0.rc2.1.el5.i386
Marking libapreq2-2.09-0.rc2.1.el5.i386.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package libapreq2.i386 0:2.09-0.rc2.1.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Installing:
 libapreq2               i386       2.09-0.rc2.1.el5  libapreq2-2.09-0.rc2.1.el5.i386.rpm  105 k

Transaction Summary
=============================================================================
Install      1 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 105 k
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 217521f6

Public key for libapreq2-2.09-0.rc2.1.el5.i386.rpm is not installed


Yum list doesn't show it installed:
[pearson@hostname35248 packages]$ yum list | grep apreq
[pearson@hostname35248 packages]$ 


Now, I'm guessing that the fact that a public key for the package is not installed means that the package itself is not installed (why can't they just say that?). Reading here seems to indicate that I need to import a public key from somewhere, but I'm a bit at a loss as to where I'm supposed to get it.

I appreciate your help, and please excuse any stupid overlooks on my part.
Posted on: 2009/1/22 22:19
Create PDF from Post Print
Top
  •  pjwelsh
      pjwelsh
Re: trouble with yum localinstall of libapreq2
#2
Professional Board Member
Joined: 2007/1/7
From Central IL USA
Posts: 2555
At first glance, you do not have the GPG key for the repo that has the package. You should make sure to install that key. You could run "yumdownloader libapreq2" (part of the "yum-utils" package) then install via "rpm -ihv libapreq2-2.09-0.rc2.1.el5.i386.rpm" or run "yum -y --nogpgcheck install libapreq2". But you should still really strive to get the key!
Posted on: 2009/1/22 22:38
Create PDF from Post Print
Top
  •  xiongchiamiov
      xiongchiamiov
Re: trouble with yum localinstall of libapreq2
#3
Newbie
Joined: 2009/1/22
From
Posts: 4
Thanks, that's what I was looking for! I could have probably found that out myself on a normal day, but when you're tired and frustrated, it'd nice to be able to ask someone else.
Posted on: 2009/1/27 10:00
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com