INSTALL HTTPD-DEVEL.x86_64

Issues related to software problems.
gunk
Posts: 4
Joined: 2009/06/11 03:32:02

INSTALL HTTPD-DEVEL.x86_64

Post by gunk » 2009/06/11 03:48:09

I'm trying to install httpd-devel.x86_64

I log in as root and type "yum install httpd-devel.x86_64" but I get depsolving problems as below. I have tried "yum clean all" and also updated every installed package but I can't fix it.

I have Apache/2.2.8 running on CentOS 5.3 (final), Kernel 2.6.18-128.1.10.el5 (SMP) x86_64

[root@ns ~]# yum install httpd-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* extras: mirror.internode.on.net
* updates: mirror.internode.on.net
* base: mirror.internode.on.net
* addons: mirror.internode.on.net
* atomic: www4.atomicorp.com
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package httpd-devel.x86_64 0:2.2.3-22.el5.centos.1 set to be updated
--> Processing Dependency: httpd = 2.2.3-22.el5.centos.1 for package: httpd-devel
--> Processing Dependency: apr-devel for package: httpd-devel
--> Processing Dependency: pkgconfig for package: httpd-devel
--> Processing Dependency: apr-util-devel for package: httpd-devel
---> Package httpd-devel.i386 0:2.2.3-22.el5.centos.1 set to be updated
--> Processing Dependency: httpd = 2.2.3-22.el5.centos.1 for package: httpd-devel
--> Running transaction check
---> Package httpd-devel.x86_64 0:2.2.3-22.el5.centos.1 set to be updated
--> Processing Dependency: httpd = 2.2.3-22.el5.centos.1 for package: httpd-devel
---> Package httpd-devel.i386 0:2.2.3-22.el5.centos.1 set to be updated
--> Processing Dependency: httpd = 2.2.3-22.el5.centos.1 for package: httpd-devel
---> Package apr-util-devel.x86_64 0:1.2.7-7.el5 set to be updated
--> Processing Dependency: apr-util = 1.2.7-7.el5 for package: apr-util-devel
--> Processing Dependency: openldap-devel for package: apr-util-devel
--> Processing Dependency: db4-devel for package: apr-util-devel
--> Processing Dependency: expat-devel for package: apr-util-devel
---> Package apr-devel.x86_64 0:1.2.7-11 set to be updated
--> Processing Dependency: apr = 1.2.7-11 for package: apr-devel
---> Package pkgconfig.x86_64 1:0.21-2.el5 set to be updated
--> Running transaction check
---> Package httpd-devel.i386 0:2.2.3-22.el5.centos.1 set to be updated
--> Processing Dependency: httpd = 2.2.3-22.el5.centos.1 for package: httpd-devel
---> Package apr-util.i386 0:1.2.7-7.el5 set to be updated
--> Processing Dependency: libsqlite3.so.0 for package: apr-util
--> Processing Dependency: libpq.so.4 for package: apr-util
---> Package httpd-devel.x86_64 0:2.2.3-22.el5.centos.1 set to be updated
--> Processing Dependency: httpd = 2.2.3-22.el5.centos.1 for package: httpd-devel
---> Package expat-devel.x86_64 0:1.95.8-8.2.1 set to be updated
---> Package openldap-devel.x86_64 0:2.3.43-3.el5 set to be updated
--> Processing Dependency: cyrus-sasl-devel >= 2.1 for package: openldap-devel
---> Package db4-devel.x86_64 0:4.3.29-9.fc6 set to be updated
---> Package apr.i386 0:1.2.7-11 set to be updated
--> Running transaction check
---> Package postgresql-libs.i386 0:8.1.11-1.el5_1.1 set to be updated
---> Package httpd-devel.i386 0:2.2.3-22.el5.centos.1 set to be updated
--> Processing Dependency: httpd = 2.2.3-22.el5.centos.1 for package: httpd-devel
---> Package cyrus-sasl-devel.x86_64 0:2.1.22-4 set to be updated
---> Package httpd-devel.x86_64 0:2.2.3-22.el5.centos.1 set to be updated
--> Processing Dependency: httpd = 2.2.3-22.el5.centos.1 for package: httpd-devel
---> Package sqlite.i386 0:3.3.6-2 set to be updated
--> Finished Dependency Resolution
httpd-devel-2.2.3-22.el5.centos.1.x86_64 from updates has depsolving problems
--> Missing Dependency: httpd = 2.2.3-22.el5.centos.1 is needed by package httpd-devel-2.2.3-22.el5.centos.1.x86_64 (updates)
httpd-devel-2.2.3-22.el5.centos.1.i386 from updates has depsolving problems
--> Missing Dependency: httpd = 2.2.3-22.el5.centos.1 is needed by package httpd-devel-2.2.3-22.el5.centos.1.i386 (updates)
Error: Missing Dependency: httpd = 2.2.3-22.el5.centos.1 is needed by package httpd-devel-2.2.3-22.el5.centos.1.i386 (updates)
Error: Missing Dependency: httpd = 2.2.3-22.el5.centos.1 is needed by package httpd-devel-2.2.3-22.el5.centos.1.x86_64 (updates)

markkuk
Posts: 739
Joined: 2007/09/07 10:56:28
Location: Finland

Re: INSTALL HTTPD-DEVEL.x86_64

Post by markkuk » 2009/06/11 10:46:09

Have you replaced the CentOS standard httpd with some other version? What's the output of "rpm -qi httpd"? You should set up [url=http://wiki.centos.org/PackageManagement/Yum/Priorities]yum priorities[/url] if you want to use non-standard repos.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: INSTALL HTTPD-DEVEL.x86_64

Post by pschaff » 2009/06/11 19:30:29

[quote]
gunk wrote:
...
I have Apache/2.2.8 running on CentOS 5.3 (final), Kernel 2.6.18-128.1.10.el5 (SMP) x86_64
...
Error: Missing Dependency: httpd = 2.2.3-22.el5.centos.1 is needed by package httpd-devel-2.2.3-22.el5.centos.1.i386 (updates)
Error: Missing Dependency: httpd = 2.2.3-22.el5.centos.1 is needed by package httpd-devel-2.2.3-22.el5.centos.1.x86_64 (updates)[/quote]

You have apparently replaced the CentOS httpd-2.2.3-22.el5.centos.1 with httpd-2.2.8.??? from some other source, which is apparently not currently enabled in your repo config.

+1 to the yum-priorities advice.

See these posts for more information on dealing with the 3rd party repo packages:

http://www.centos.org/modules/newbb/viewtopic.php?topic_id=20612&forum=37&post_id=78281#forumpost78281
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=20608&forum=37&post_id=78291#forumpost78291

Welcome to the CentOS fora and please do the "Required reading" particularly the part about "Installing Software".

gunk
Posts: 4
Joined: 2009/06/11 03:32:02

Re: INSTALL HTTPD-DEVEL.x86_64

Post by gunk » 2009/06/15 03:06:19

I installed the yum priorities plug-in and it seems to be working, I gave the highest priority to the Centos repos but I still get the same error.

yum info httpd gives:

[root@ns yum]# yum info httpd
Loaded plugins: priorities
Installed Packages
Name : httpd
Arch : x86_64
Version : 2.2.8
Release : jason.3
Size : 7.6 M
Repo : installed
Summary : Apache HTTP Server
URL : http://httpd.apache.org/
License : ASL 2.0
Description: The Apache HTTP Server is a powerful, efficient, and extensible web server.


I haven't installed any third party version. This is the latest version available from the centos repo. Maybe httpd-devel only works with 2.2.3?

FractalizeR
Posts: 102
Joined: 2008/08/23 12:34:08
Contact:

Re: INSTALL HTTPD-DEVEL.x86_64

Post by FractalizeR » 2009/06/15 09:07:41

What is the output of
[code]ls /etc/yum.repos.d[/code]?

User avatar
AlanBartlett
Forum Moderator
Posts: 9344
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: INSTALL HTTPD-DEVEL.x86_64

Post by AlanBartlett » 2009/06/15 09:59:44

[quote]yum info httpd gives:

[root@ns yum]# yum info httpd
Loaded plugins: priorities
Installed Packages
Name : httpd
Arch : x86_64
Version : 2.2.8
Release : jason.3
Size : 7.6 M
Repo : installed
Summary : Apache HTTP Server
URL : http://httpd.apache.org/
License : ASL 2.0
Description: The Apache HTTP Server is a powerful, efficient, and extensible web server.


I haven't installed any third party version. This is the latest version available from the centos repo. Maybe httpd-devel only works with 2.2.3?[/quote]
There is some confusion / contradiction in your first and second sentences, above.

The [i]httpd[/i] package, version 2.2.8, release jason.3 [i]is not[/i] a [i]CentOS[/i] package and [i]is not[/i] the latest version available from the [i]CentOS[/i] repositories. It [i]is[/i] a third party version of that package.

[code]
$ yum info httpd httpd-devel
[i]<snip>[/i]
Available Packages
Name : httpd
Arch : i386
Version : 2.2.3
Release : 22.el5.centos.1
Size : 1.2 M
Repo : updates
Summary : Apache HTTP Server
URL : http://httpd.apache.org/
License : Apache Software License
Description: The Apache HTTP Server is a powerful, efficient, and extensible web server.

Name : httpd-devel
Arch : i386
Version : 2.2.3
Release : 22.el5.centos.1
Size : 145 k
Repo : updates
Summary : Development tools for the Apache HTTP server.
URL : http://httpd.apache.org/
License : Apache Software License
Description: The httpd-devel package contains the APXS binary and other files that you need to build Dynamic Shared Objects (DSOs) for the Apache HTTP
: Server. If you are installing the Apache HTTP server and you want to be able to compile or develop additional modules for Apache, you need to
: install this package.
[/code]
The above is the information on the 32-bit [i]CentOS[/i] packages.

gunk
Posts: 4
Joined: 2009/06/11 03:32:02

Re: INSTALL HTTPD-DEVEL.x86_64

Post by gunk » 2009/06/16 05:33:27

[root@ns ~]# ls /etc/yum.repos.d
atomic.repo CentOS-Base.repo CentOS-Media.repo utterramblings.repo

FractalizeR
Posts: 102
Joined: 2008/08/23 12:34:08
Contact:

Re: INSTALL HTTPD-DEVEL.x86_64

Post by FractalizeR » 2009/06/16 06:12:05

You have two non-CentOS-native repositories and you need to protect Cent-OS native ones using Yum priorities.
After that you need to remove httpd package and related packages and then install them again. You need to uninstall it because CentOS repository has httpd-2.2.3 with backported patches. And your third-party repository has 2.2.8, which is considered by yum to be newer.

gunk
Posts: 4
Joined: 2009/06/11 03:32:02

Re: INSTALL HTTPD-DEVEL.x86_64

Post by gunk » 2009/06/16 09:04:02

[quote]
FractalizeR wrote:
You have two non-CentOS-native repositories and you need to protect Cent-OS native ones using Yum priorities.
After that you need to remove httpd package and related packages and then install them again. You need to uninstall it because CentOS repository has httpd-2.2.3 with backported patches. And your third-party repository has 2.2.8, which is considered by yum to be newer.[/quote]

As I understand it, if I disabled those other repos which I have now done, run "yum clean all" and then "yum info httpd" then I should get the information that is on the official yum repos.

I have done that and I still get.....

Ah never mind, I see my mistake, even when I do that it's getting the info of the installed version not from the repo.

Thanks for your help guys.

FractalizeR
Posts: 102
Joined: 2008/08/23 12:34:08
Contact:

Re: INSTALL HTTPD-DEVEL.x86_64

Post by FractalizeR » 2009/06/16 11:34:54

You are welcome :)

Post Reply