www.centos.org Forum Index CentOS 5 - X86_64, s390(x) and PowerPC Support help need installing an .rpm
|
Bottom Previous Topic Next Topic |
| |
|
|
|---|
| Poster | Thread |
|---|
|
help need installing an .rpm | #1 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2009/11/7
From
Posts: 5
|
CentOS 5.3 x86 64
OK so I needed httpd-devel so I: So I found the .rpm I needed on the net: http://rpm.pbone.net/index.php3/stat/4/idpl/12382443/com/httpd-devel-2.2.3-22.el5.centos.x86_64.rpm.html So then I: Then I: So then I yum installed apr-devel and apr-util-devel successfully. And now I am stuck with this: And don't know what to do now...any ideas? |
||
Posted on: 2009/11/7 20:06
|
|||
|
Re: help need installing an .rpm | #3 |
|
|---|---|---|---|
|
Professional Board Member
![]()
Joined: 2007/9/3
From NYC
Posts: 666
|
One thing that *sometimes* works is to install the rpm with
yum localinstall --nogpgcheck <rpm_name> Sometimes, yum can grab the dependencies that way. It doesn't always work, however. However, this is strange--there is an httpd-devel package available, I believe it's from the regular repos. |
||
Posted on: 2009/11/7 22:22
|
|||
|
Re: help need installing an .rpm | #4 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater Virginia, North America
Posts: 3404
|
Please refrain from putting very long lines in "code" tags - makes things very hard to read - especially when line feeds that would have been there in the original have been removed. Edited your posts to [re]wrap,
You have problems with your /etc/yum.repos.d/CentOS-Base.repo config. If you can't work it out please post the contents of the file, or revert to the original version. |
||
|
_________________
Phil Required reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2009/11/7 23:12
|
|||
|
Re: help need installing an .rpm | #5 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2009/11/7
From
Posts: 5
|
Quote:
by pschaff on 2009/11/7 18:12:09 Please refrain from putting very long lines in "code" tags Sorry hope this is better. Quote: If you can't work it out please post the contents of the file Here it is: |
||
Posted on: 2009/11/10 16:32
|
|||
|
Re: help need installing an .rpm | #6 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater Virginia, North America
Posts: 3404
|
Nothing obvious (to me) wrong. Some comments:
Might go back to the mirrorlist approach - your repo config has been edited to use only one specific mirror. You have entries for both protectbase and yum-priorities plugins, but are apparently using neither. I neglected to ask for the contents of /etc/yum.conf. The line from your original post |
||
|
_________________
Phil Required reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2009/11/10 19:15
|
|||
|
Re: help need installing an .rpm | #7 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2009/11/7
From
Posts: 5
|
Here's my yum.conf:
So I guess thats the problem? For some reason (I have no idea what) it's set to exclude apache, httpd etc. Should I just delete all that? I'm pretty confused as to why all thats there... |
||
Posted on: 2009/11/11 1:32
|
|||
|
Re: help need installing an .rpm | #8 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater Virginia, North America
Posts: 3404
|
Quote:
IIRC some 3rd party applications that install updated versions from source or tarball replacing CentOS packages (generally not recommended) will do that for you. I'd comment it out and try again. |
||
|
_________________
Phil Required reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2009/11/11 13:48
|
|||
|
Re: help need installing an .rpm | #9 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2009/11/7
From
Posts: 5
|
Thanks Phil, commented it out and yum install works, still confused what would have thrown that line in there, but oh well.
Side note question - since I already installed the .rpm manually for httpd-devel, when I now 'yum install httpd-devel' does that overwrite the old package and get me up-to-date with the yum repository version or do I have to uninstall first? |
||
Posted on: 2009/11/11 14:55
|
|||
|
Re: help need installing an .rpm | #10 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater Virginia, North America
Posts: 3404
|
A later version, if available, will be installed as an update by yum.
|
||
|
_________________
Phil Required reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2009/11/12 14:09
|
|||
Top Previous Topic Next Topic |
|



Topic options
Print Topic
Threaded
Newest First
bobob3





You cannot start a new topic.
You can view topic.