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

Re: Equivalent of Python rpm.opendb in 4.1?



On Tue, 2003-03-18 at 13:54, seth vidal wrote:

> create a transaction set
> 
> ts = rpm.TransactionSet()
> iter = ts.dbMatch()
> 
> for item in iter:
>   print item['name']

Thanks.  Unfortunately, that's not a complete answer.  The old opendb
call allowed me to deal with an RPM database in a chrooted environment
without having to chroot first, and I don't see an equivalent way to do
that in the 4.1 era.

	<b





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