Mailinglist Archive: zypp-devel (24 mails)
| < Previous | Next > |
RE: [zypp-devel] How to use libzypp-bindings to create a sysroot from a repo? (fixed in 0.5.5)
- From: "Yang, Yi Y" <yi.y.yang@xxxxxxxxx>
- Date: Wed, 3 Nov 2010 22:46:17 +0800
- Message-id: <FC2FB65B4D919844ADE4BE3C2BB739AD32BD471B@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Thank you for your quick fixes. Another issue, if a require can't be met, how
to get and output this require info? For example, a pattern A includes package
B but B isn't in repo, if I want to install A, B won't be resolved, so I should
get this info and output it, my issue is how to find B and decide it isn't
solved in libzypp-bindings.
N�����r��y隊\���^��~�{.n�+�������Ǩ�h��]�ب��\�i�������*iu�ޗ�^��)z{.��+
to get and output this require info? For example, a pattern A includes package
B but B isn't in repo, if I want to install A, B won't be resolved, so I should
get this info and output it, my issue is how to find B and decide it isn't
solved in libzypp-bindings.
-----Original Message-----
From: Michael Andres [mailto:ma@xxxxxxx]
Sent: Wednesday, November 03, 2010 9:47 PM
To: zypp-devel@xxxxxxxxxxxx
Subject: Re: [zypp-devel] How to use libzypp-bindings to create a sysroot
from a
repo? (fixed in 0.5.5)
On Wednesday 03 November 2010 02:46:54 Yang, Yi Y wrote:
Is there a plan to add python/callbacks.i in next version?
We try.
I hope zypp.DownloadMode.DownloadInAdvance and
in -0.5.6
zypp.pool.GetResolvablesToInsDel are available in libzypp-bindings, anybody
in -0.5.7
Z = zypp.ZYppFactory_instance().getZYpp()
todo = zypp.GetResolvablesToInsDel( Z.pool() )
for item in todo._toDelete:
print '-- %s | %s-%s | %s' % (item.repoInfo().alias(), item.name(),
item.edition(), item.status() )
for item in todo._toInstall:
print '++ %s | %s-%s | %s' % (item.repoInfo().alias(), item.name(),
item.edition(), item.status() )
--
cu,
Michael Andres
+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres ZYPP Development
ma@xxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
N�����r��y隊\���^��~�{.n�+�������Ǩ�h��]�ب��\�i�������*iu�ޗ�^��)z{.��+
| < Previous | Next > |