Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 595998 - yum erase: wants to remove dependencies: specific to openldap package
Summary: yum erase: wants to remove dependencies: specific to openldap package
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 13
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2010-05-26 05:36 UTC by Brian LaVallee
Modified: 2014-01-21 23:15 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-05-26 13:20:08 UTC
Type: ---

Attachments (Terms of Use)

Description Brian LaVallee 2010-05-26 05:36:39 UTC
Description of problem:

Using yum to erase a package (openldap) attempts to erase all of the dependencies.

Example: 'yum erase openldap'

Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package openldap.i686 0:2.4.21-4.fc13 set to be erased
--> Processing Dependency: liblber-2.4.so.2 for package: 1:quota-3.17-9.fc13.i686
--> Processing Dependency: liblber-2.4.so.2 for package: openldap-clients-2.4.21-4.fc13.i686
--> Processing Dependency: liblber-2.4.so.2 for package: GConf2-2.28.1-1.fc13.i686
--> Processing Dependency: liblber-2.4.so.2 for package: php-ldap-5.3.2-2.fc13.i686
---> Package crontabs.noarch 0:1.10-32.fc13 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

 Package                                     Arch             Version                             Repository            Size
 openldap                                    i686             2.4.21-4.fc13                       @fedora              692 k
Removing for dependencies:
 GConf2                                      i686             2.28.1-1.fc13                       @fedora              5.9 M
 PackageKit                                  i686             0.6.4-1.fc13                        @updates             2.4 M
 usermode                                    i686             1.104.2-1.fc13                      @fedora              785 k
 yum                                         noarch           3.2.27-4.fc13                       @fedora              3.8 M
 yum-plugin-fastestmirror                    noarch           1.1.26-7.fc13                       @updates              33 k
 yum-presto                                  noarch           0.6.2-1.fc13                        @fedora               64 k
 yum-utils                                   noarch           1.1.26-7.fc13                       @updates             236 k

Transaction Summary
Remove       97 Package(s)
Reinstall     0 Package(s)
Downgrade     0 Package(s)

Is this ok [y/N]: n

Version-Release number of selected component (if applicable):

Linux pleco #1 SMP Thu May 13 05:38:26 UTC 2010 i686 i686 i386 GNU/Linux

[root@pleco lib]# yum --version
  Installed: rpm-4.8.0-14.fc13.i686 at 2010-05-26 01:40
  Built    : Fedora Project at 2010-04-23 11:25
  Committed: Panu Matilainen <pmatilai@redhat.com> at 2010-04-23

  Installed: yum-3.2.27-4.fc13.noarch at 2010-05-26 01:45
  Built    : Fedora Project at 2010-05-03 15:53
  Committed: Seth Vidal <skvidal at fedoraproject.org> at 2010-05-03

  Installed: yum-plugin-fastestmirror-1.1.26-7.fc13.noarch at 2010-05-26 01:46
  Built    : Fedora Project at 2010-05-17 14:10
  Committed: James Antill <james@fedoraproject.org> at 2010-04-17

How reproducible:

Does not happen other packages.

Steps to Reproduce:
Actual results:

Expected results:

Additional info:

Comment 1 seth vidal 2010-05-26 13:20:08 UTC
This is how yum works - if you remove a pkg - any pkg that depend on it will also be removed.

lots of things depend on openldap.

Note You need to log in before you can comment on or make changes to this bug.