[CentOS] yum yum or not?

Fri Apr 27 14:33:21 UTC 2012
Johnny Hughes <johnny at centos.org>

On 04/27/2012 09:03 AM, m.roth at 5-cent.us wrote:
> Markku Kolkka wrote:
>> 27.4.2012 16:26, Shaun kirjoitti:
>>> But then the reason why I didn't pay as much attention in the first
>>> place is because I *assumed that only that removed-pacakage and
>>> dependencies brought in by it at the install-time would be removed via a
>>> yum remove.
>> So the real problem is that you don't understand the directionality of
>> dependencies. "yum install packagename" installs packagename + anything
>> that packagename requires. "yum remove packagename" removes packagename
>> + anything that requires packagename. The set of packages required by
>> packagename and the set of packages that require packagename are two
>> entirely different things.
>> For example, let's have three packages A, B, and C where B requires A
>> and C requires B:
>> A<-B<-C
>> "yum install C" will install all three packages. "yum remove C" would
>> remove only C. "yum remove B" would remove B and C. "yum remove A" would
>> remove all three packages
> Ok, so deepen my understanding of yum: what about where package A requires
> B and C, and package D also requires B. If I yum uninstall A, what happens
> to B? Obviously, if it goes away, then D is broken....
>       mark

It also recommends removing D

Yum will remove too much. 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20120427/b963eeec/attachment-0005.sig>