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

Re: dependency champion?

On Thu, 6 Nov 2008 15:03:20 +0100, Henk Breimer wrote:

> [net pietro ~]$ yum remove libthai

> Remove     266 Package(s)         
> Is this ok [y/N]: 
> no, of course.
> Remaining question: is this the way 'requires' should be used?

You show that you don't understand the reason for this. This is a shared
library that is linked with another system library: Pango. It results in
an automatic 'Requires' on the libthai library SONAME in the pango
package, since the library is required at run-time and isn't optional.

$ repoquery --whatrequires libthai.so.0

Pango in turn is required by many a dozen packages. Removing Pango creates
a long dependency chain of packages that would need to be removed, too.

In case you want to remove a system library like LibThai, you would need to
disable it in Pango -- or rewrite Pango to load the library as an optional
plugin (that's likely harder).

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