[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Specifying How Yum Downloads Updates



On Wed, 2009-04-15 at 10:27 -0500, Chris Adams wrote:
> Once upon a time, Bob Gustafson <bobgus rcn com> said:
> > If you now remove PkgA, it finds that it depends on libAB, libBB, libC,
> > which it displays in a list for the user to decide whether it is ok to
> > also delete.
> 
> That is not what you have been complaining about (as far as I
> understand).  The complaint is about removing libAB, not PkgA.
> 
> > A reference counting scheme would detect that libAB and libBB are also
> > used by another package and would not delete those two packages. Or
> > offer to delete them.
> 
> yum already detects that libAB is used by another package, no reference
> counting needed.  The difference is that yum lets you decide if you
> really want to remove libAB (and everything that depends on it) or not,
> rather than having to manually first remove all the dependencies (if you
> really want to remove libAB).
> 

Ok, maybe it is all dawning on me.

My original problem was trying to get rid of a bad version of openldap.
In this case, many other packages depended on openldap, not the other
way around.

When I said Yes, this rippled through my system, removing all packages
which would not have worked when openldap was removed. Also packages
which would not have worked when these other packages were removed, etc.

---

What I should have done (and have done subsequently when faced with a
similar problem) is to use rpm to remove only the bad versioned library
and then immediately install the good library, and then reboot to
re-point all of the packages depending on that library.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]