LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 07-26-2011, 01:27 PM   #1
awww
Member
 
Registered: Nov 2010
Posts: 38

Rep: Reputation: Disabled
Angry 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
 
Old 07-26-2011, 02:12 PM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 13,508

Rep: Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804
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 .

Last edited by John VV; 07-26-2011 at 02:13 PM.
 
Old 07-26-2011, 10:23 PM   #3
awww
Member
 
Registered: Nov 2010
Posts: 38

Original Poster
Rep: Reputation: Disabled
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
 
Old 07-26-2011, 10:36 PM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 13,508

Rep: Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804
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
 
Old 07-26-2011, 11:32 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,276

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
Better disable 'atomic' : Not compatible.


Other LQ members have had issues with 'atomic' at http, php, mysql installs.
 
Old 07-27-2011, 03:23 AM   #6
awww
Member
 
Registered: Nov 2010
Posts: 38

Original Poster
Rep: Reputation: Disabled
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
 
  


Reply


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
Problem installing httpd-devel on RHEL5 using yum scabbage Red Hat 6 02-17-2011 06:21 PM
Unable to start apache on CentOS Linux with error Starting httpd: Syntax error on lin pkumar2533 Linux - Newbie 9 08-26-2009 08:48 AM
Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax sethukpathi Linux - Networking 6 04-12-2008 12:26 PM
httpd-devel rhuser Linux - Software 1 02-03-2003 01:26 AM
i try to rpm httpd-devel-2.0.40-11 rhuser Linux - Software 1 01-21-2003 11:36 AM


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

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