-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Le Jeudi 7 Novembre 2002 15:53, Anders Johansson a écrit :
In this case, however, he wants to run one package, that package needs a few libs from GTK2. If nothing else on his sytem requires GTK2 and they're only being installed to support the package he does intend on running, I see nothing wrong with forcing rpm to install those libs without their dependencies.
--force has nothing whatever to do with dependencies. --force tells rpm that if the rpm you're trying to install wants to overwrite files from other rpms, let it. That is *not* a good idea.
As James said, if you *really* know what you're doing, use --nodeps to install an rpm. Some rpms have truly messed up dependency lists, so on occasion that can be useful - again, only if you *really* know what you're doing, and then don't come crying if things don't work.
But *never* use --force
--force tells RPM to overwrite files and packages and *also* to ignore dependency problems. It is extremely dangerous. - -- Thibaut Cousin E-mail : cousin@in2p3.fr Web : http://clrwww.in2p3.fr -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9yoDbv1vqsTa1E4oRAr8lAKCUVL1pJep/tey3RPMGKX5+3xUTWwCdHFDC qDF8G9lOm9zJrgB//vI0eZ8= =Ee+x -----END PGP SIGNATURE-----