Question about locking packages

Gustavo Niemeyer gustavo at niemeyer.net
Wed Aug 2 08:36:23 PDT 2006


> If I generalize Requires: through the same mechanism (i.e. a
> configuration file), and attach/check those Requires: with every
> transactilon, then its  possible to specify a persistent dependency
> which should have the same effect as locking or pinning.

Indeed. This would have the same effect of Smart locks.

Is there an API to query these "soft" requirements in RPM?

> Per-transaction dependencies, including Requires:/Conflicts:/
> Obsoletes:, through a user specified configuration file, is likely to
> be in rpm-4.4.8.

Interesting. Any usage case in mind?

-- 
Gustavo Niemeyer
http://niemeyer.net



More information about the Smart mailing list