LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   httpd-devel on Centos 5 error (https://www.linuxquestions.org/questions/linux-server-73/httpd-devel-on-centos-5-error-893886/)

awww 07-26-2011 12:27 PM

httpd-devel on Centos 5 error
 
I been tryin to install httpd-devel on Centos 5 with plesk i keep gettin Missing Dependency errors i went to http://forum.parallels.com/showthrea...929#post451929

and got attached packages but they give me this error

Code:

# rpm -ivh httpd-devel-2.2.3-45.el5.centos.1.x86_64.rpm    Failed dependencies:
        httpd = 2.2.3-45.el5.centos.1 is needed by httpd-devel-2.2.3-45.el5.centos.1.x86_64

Code:

yum install httpd-devel
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * atomic: www4.atomicorp.com
 * rpmforge: fr2.rpmfind.net
708 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package httpd-devel.i386 0:2.2.3-45.el5.centos.1 set to be updated
--> Processing Dependency: httpd = 2.2.3-45.el5.centos.1 for package: httpd-devel
--> Processing Dependency: apr-util-devel for package: httpd-devel
---> Package httpd-devel.x86_64 0:2.2.3-45.el5.centos.1 set to be updated
--> Processing Dependency: httpd = 2.2.3-45.el5.centos.1 for package: httpd-devel
--> Running transaction check
---> Package apr-util-devel.x86_64 0:1.2.7-11.el5_5.2 set to be updated
--> Processing Dependency: openldap-devel for package: apr-util-devel
--> Processing Dependency: db4-devel for package: apr-util-devel
---> Package httpd-devel.i386 0:2.2.3-45.el5.centos.1 set to be updated
--> Processing Dependency: httpd = 2.2.3-45.el5.centos.1 for package: httpd-devel
---> Package httpd-devel.x86_64 0:2.2.3-45.el5.centos.1 set to be updated
--> Processing Dependency: httpd = 2.2.3-45.el5.centos.1 for package: httpd-devel
--> Running transaction check
---> Package db4-devel.x86_64 0:4.3.29-10.el5_5.2 set to be updated
---> Package httpd-devel.i386 0:2.2.3-45.el5.centos.1 set to be updated
--> Processing Dependency: httpd = 2.2.3-45.el5.centos.1 for package: httpd-devel
---> Package httpd-devel.x86_64 0:2.2.3-45.el5.centos.1 set to be updated
--> Processing Dependency: httpd = 2.2.3-45.el5.centos.1 for package: httpd-devel
---> Package openldap-devel.x86_64 0:2.3.43-12.el5_6.7 set to be updated
--> Processing Dependency: cyrus-sasl-devel >= 2.1 for package: openldap-devel
--> Running transaction check
---> Package cyrus-sasl-devel.x86_64 0:2.1.22-5.el5_4.3 set to be updated
---> Package httpd-devel.i386 0:2.2.3-45.el5.centos.1 set to be updated
--> Processing Dependency: httpd = 2.2.3-45.el5.centos.1 for package: httpd-devel
---> Package httpd-devel.x86_64 0:2.2.3-45.el5.centos.1 set to be updated
--> Processing Dependency: httpd = 2.2.3-45.el5.centos.1 for package: httpd-devel
--> Finished Dependency Resolution
httpd-devel-2.2.3-45.el5.centos.1.x86_64 from update has depsolving problems
  --> Missing Dependency: httpd = 2.2.3-45.el5.centos.1 is needed by package httpd-devel-2.2.3-45.el5.centos.1.x86_64 (update)
httpd-devel-2.2.3-45.el5.centos.1.i386 from update has depsolving problems
  --> Missing Dependency: httpd = 2.2.3-45.el5.centos.1 is needed by package httpd-devel-2.2.3-45.el5.centos.1.i386 (update)
Error: Missing Dependency: httpd = 2.2.3-45.el5.centos.1 is needed by package httpd-devel-2.2.3-45.el5.centos.1.i386 (update)
Error: Missing Dependency: httpd = 2.2.3-45.el5.centos.1 is needed by package httpd-devel-2.2.3-45.el5.centos.1.x86_64 (update)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

heres my yum repos file

Code:

[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=16&ref=http://bugs.centos.org/bug_report_page.php?category=yum

# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h

installonly_limit = 5

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d


John VV 07-26-2011 01:12 PM

that "heres my yum repos file" is of no use
the error says it all
"708 packages excluded due to repository priority protections"

you have at least one incompatible reop installed
please post the output of
Code:

su -
yum repolist all

with "rpmforge" installed i take it that "yum-pretectbase" is installed and yum-priorities" is also installed and rpforge was set to 98 or less

at some point YOU forced the install of something from an incompatible repo

and i take it YOU HAVE ran the suggested fix ?
Code:

You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes

and you DO have "yum-utilites" installed so that you can run them

it is very very VERY VERY easy to mess up RHEL/CentOS/SL with the third party repos
most are NOT compatible , hence all the warnings .

awww 07-26-2011 09:23 PM

Code:

yum repolist all
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * atomic: www4.atomicorp.com
 * rpmforge: fr2.rpmfind.net
repo id          repo name                                      status
C5.0-base        CentOS-5.0 - Base                              disabled
C5.0-centosplus  CentOS-5.0 - Plus                              disabled
C5.0-extras      CentOS-5.0 - Extras                            disabled
C5.0-updates    CentOS-5.0 - Updates                            disabled
C5.1-base        CentOS-5.1 - Base                              disabled
C5.1-centosplus  CentOS-5.1 - Plus                              disabled
C5.1-extras      CentOS-5.1 - Extras                            disabled
C5.1-updates    CentOS-5.1 - Updates                            disabled
C5.2-base        CentOS-5.2 - Base                              disabled
C5.2-centosplus  CentOS-5.2 - Plus                              disabled
C5.2-extras      CentOS-5.2 - Extras                            disabled
C5.2-updates    CentOS-5.2 - Updates                            disabled
C5.3-base        CentOS-5.3 - Base                              disabled
C5.3-centosplus  CentOS-5.3 - Plus                              disabled
C5.3-extras      CentOS-5.3 - Extras                            disabled
C5.3-updates    CentOS-5.3 - Updates                            disabled
C5.4-base        CentOS-5.4 - Base                              disabled
C5.4-centosplus  CentOS-5.4 - Plus                              disabled
C5.4-extras      CentOS-5.4 - Extras                            disabled
C5.4-updates    CentOS-5.4 - Updates                            disabled
C5.5-base        CentOS-5.5 - Base                              disabled
C5.5-centosplus  CentOS-5.5 - Plus                              disabled
C5.5-extras      CentOS-5.5 - Extras                            disabled
C5.5-updates    CentOS-5.5 - Updates                            disabled
addons          CentOS-5 - Addons                              enabled:      0
atomic          CentOS / Red Hat Enterprise Linux 5 - atomicroc enabled:  1,017
atomic-testing  CentOS / Red Hat Enterprise Linux 5 - atomicroc disabled
base            CentOS-5 - Base                                enabled:  3,535
c5-media        CentOS-5 - Media                                disabled
centosplus      CentOS-5 - Plus                                enabled:    83
debug            CentOS-5 - Debuginfo                            disabled
extras          CentOS-5 - Extras                              enabled:    299
rpmforge        RHEL 5 - RPMforge.net - dag                    enabled: 10,722
rpmforge-extras  RHEL 5 - RPMforge.net - extras                  disabled
rpmforge-testing RHEL 5 - RPMforge.net - testing                disabled
update          CentOS-5 - Updates                              enabled:    765
repolist: 16,421


John VV 07-26-2011 09:36 PM

i have never used this one so i have NO idea if it is compatible or not
Quote:

atomic CentOS / Red Hat Enterprise Linux 5 - atomicroc enabled: 1,017

this may or may not be fixable

i am betting that something installed from atomic or rpmforge is interfering

uninstall everything related to the Apache server
disable rpmforge and atomic ( or better yet install "yum-priorities" and set the two to 98 or less )
reinsatll the Apache stack from ONLY "cent base" and "cent extras"
please read and listen to the warnings posted on the cent wiki

http://wiki.centos.org/AdditionalResources/Repositories

knudfl 07-26-2011 10:32 PM

Better disable 'atomic' : Not compatible.


Other LQ members have had issues with 'atomic' at http, php, mysql installs.

awww 07-27-2011 02:23 AM

this is soo weird i didnt install or upgrade or touch anything this is a brand new server with plesk installed im tryin to install i need to install mod_flvx but i need apxs tool also avaliable in RPMs for most systems as httpd-devel and i also need pr-devel, apr-util-devel but i cant install neither im getting these errors

iam trying to install yum httpd-devel but iam getting

Quote:

httpd-devel-2.2.3-45.el5.centos.1.i386 from update has depsolving problems
--> Missing Dependency: httpd = 2.2.3-45.el5.centos.1 is needed by package httpd-devel-2.2.3-45.el5.centos.1.i386 (update)
httpd-devel-2.2.17-1.el5.art.x86_64 from atomic-testing has depsolving problems
--> Missing Dependency: httpd = 2.2.17-1.el5.art is needed by package httpd-devel-2.2.17-1.el5.art.x86_64 (atomic-testing)
Error: Missing Dependency: httpd = 2.2.17-1.el5.art is needed by package httpd-devel-2.2.17-1.el5.art.x86_64 (atomic-testing)
Error: Missing Dependency: httpd = 2.2.3-45.el5.centos.1 is needed by package httpd-devel-2.2.3-45.el5.centos.1.i386 (update)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
Quote:

--> Running transaction check
---> Package httpd-devel.i386 0:2.2.3-45.el5.centos.1 set to be updated
--> Processing Dependency: httpd = 2.2.3-45.el5.centos.1 for package: httpd-devel
---> Package httpd-devel.x86_64 0:2.2.3-45.el5.centos.1 set to be updated
--> Processing Dependency: httpd = 2.2.3-45.el5.centos.1 for package: httpd-devel
--> Finished Dependency Resolution
httpd-devel-2.2.3-45.el5.centos.1.x86_64 from update has depsolving problems
--> Missing Dependency: httpd = 2.2.3-45.el5.centos.1 is needed by package httpd-devel-2.2.3-45.el5.centos.1.x86_64 (update)
httpd-devel-2.2.3-45.el5.centos.1.i386 from update has depsolving problems
--> Missing Dependency: httpd = 2.2.3-45.el5.centos.1 is needed by package httpd-devel-2.2.3-45.el5.centos.1.i386 (update)
Error: Missing Dependency: httpd = 2.2.3-45.el5.centos.1 is needed by package httpd-devel-2.2.3-45.el5.centos.1.i386 (update)
Error: Missing Dependency: httpd = 2.2.3-45.el5.centos.1 is needed by package httpd-devel-2.2.3-45.el5.centos.1.x86_64 (update)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
Quote:

rpm -q httpd
httpd-2.2.12-11062216
i Really need apxs2 binary but it wont let me install httpd-devel at all

i did the work around


All times are GMT -5. The time now is 11:55 PM.