I want to build libzypp-bindings on openSUSE 11.1, 11,2 and 11.3, but obviously libzypp is old, so I also have to build libzypp even libsatsolvers, however I found many packages on openSUSE depend on libzypp so that I failed to install them, do you have any good solution for this?
-----Original Message----- From: Klaus Kaempf [mailto:kkaempf@suse.de] Sent: Tuesday, December 07, 2010 3:01 AM To: Yang, Yi Y Cc: Michael Andres; zypp-devel@opensuse.org Subject: Re: [zypp-devel] How to use libzypp-bindings to create a sysroot from a repo? (fixed in 0.5.5)
* Yang, Yi Y <yi.y.yang@intel.com> [Nov 16. 2010 08:56]:
, the below code also has issue:
for item in installed_pkgs: if not zypp.isKindPattern(item): print item.repoInfo().packagesPath() print zypp.asKindPackage(item).location().filename() print "%s.%s %s:%d" % (item.name(), item.arch(), item.edition(),
item.installSize())
swig/python detected a memory leak of type 'zypp::OnMediaLocation *', no
destructor found.
Traceback (most recent call last): File "list_resolvables.py", line 132, in <module> print zypp.asKindPackage(item).location().filename() AttributeError: 'SwigPyObject' object has no attribute 'filename'
This one is also fixed now in git master.
Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)