LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-17-2010, 03:22 PM   #1
skoinga
Member
 
Registered: May 2010
Posts: 87

Rep: Reputation: 0
Package dependencies


Hi,

I would like to remove openldap from my Centos home-server..

Centos offers me:

Quote:
Removing:
openldap i386 2.3.43-12.el5_5.2 installed 592 k
openldap x86_64 2.3.43-12.el5_5.2 installed 598 k
Removing for dependencies:
apr-util i386 1.2.7-11.el5 installed 164 k
apr-util x86_64 1.2.7-11.el5 installed 170 k
authconfig x86_64 5.3.21-6.el5 installed 1.7 M
cyrus-sasl x86_64 2.1.22-5.el5_4.3 installed 2.5 M
gnupg x86_64 1.4.5-14.el5_5.1 installed 4.4 M
httpd x86_64 2.2.3-43.el5.centos installed 3.3 M
libsmbclient x86_64 3.0.33-3.29.el5_5 installed 2.2 M
libuser x86_64 0.54.7-2.1.el5_4.1 installed 1.6 M
mod_ssl x86_64 1:2.2.3-43.el5.centos installed 179 k
mod_suphp x86_64 0.7.1-1.el5.rf installed 2.1 M
nagios x86_64 3.2.1-5.el5.rf installed 7.3 M
nagios-plugins-nrpe x86_64 2.12-1.el5.rf installed 43 k
passwd x86_64 0.73-1 installed 27 k
php x86_64 5.1.6-27.el5 installed 6.2 M
php-mcrypt x86_64 5.1.6-15.el5.centos.1 installed 37 k
phpmyadmin noarch 2.11.10-2.el5.rf installed 13 M
postfix x86_64 2:2.3.3-2.1.el5_2 installed 8.3 M
pure-ftpd x86_64 1.0.21-1.el5.rf installed 635 k
samba x86_64 3.0.33-3.29.el5_5 installed 30 M
samba-client x86_64 3.0.33-3.29.el5_5 installed 14 M
samba-common x86_64 3.0.33-3.29.el5_5 installed 16 M
squid x86_64 7:2.6.STABLE21-6.el5 installed 3.7 M
subversion x86_64 1.6.12-0.1.el5.rf installed 24 M
system-config-language noarch 1.1.18-3.el5 installed 157 k
usermode x86_64 1.88-3.el5.2 installed 539 k

Transaction Summary
==================================================================================================== ==========================================
Remove 27 Package(s)
Reinstall 0 Package(s)
Downgrade 0 Package(s)
..obviously I'll not remove openldap by this operation.. but my question is: there is another way to remove a single package with yum without "consequences"?
 
Old 08-17-2010, 03:32 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
yum is specifically designed to deal with dependencies.

rpm is used for individual packages.

BUT!!!

If yum is saying it is removing the other packages it is saying they are dependent upon the ones you are trying to remove (or others that are that should therefore also be removed). The rpm command on the other hand will complain about dependencies but may not show you dependencies those have (this is called dependency hell and is the main reason yum was created).

Putting it more simply: If you need all those other packages you probably need to keep the open-ldap ones.

I note you didn't actually list the yum command you tried to run. It may be you used unexpected syntax. If you put it here we can see if it looks right.
 
Old 08-17-2010, 03:52 PM   #3
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Not if developers intentionally made it dependency for bunch of services and daemons. You might fool yum, but your services will most likely fail starting/running.
 
Old 08-18-2010, 04:35 AM   #4
skoinga
Member
 
Registered: May 2010
Posts: 87

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by MensaWater View Post

I note you didn't actually list the yum command you tried to run. It may be you used unexpected syntax. If you put it here we can see if it looks right.
Just "yum remove openldap.i386"
 
Old 08-19-2010, 06:02 PM   #5
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
You've got the proper command syntax, but it won't execute (on my Fedora 14 install) because yum apparently depends on something that depends on openldap.

Bottom line: live with the 750K or so taken up by openldap
 
  


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
Reinstalling a package and its dependencies nx5000 Debian 11 04-19-2007 11:42 AM
Package Dependencies newinlinux Slackware 5 09-01-2005 10:23 AM
Impossible package dependencies!!! moistTowelette Linux - Software 6 05-07-2005 08:46 PM
Package dependencies Ytsejammer Linux - Software 2 12-24-2004 09:59 AM
Package and there Dependencies jmdlcar Slackware 4 05-11-2004 10:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:06 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
Open Source Consulting | Domain Registration