Hello List,
I've tried to search the list archives, the openSUSE Wiki, and the developer
documentation of libzypp. But couldn't find any recent content around my
question. Hence, writing to the list.
I need to implement a wrapper library over libzypp to fetch some simple software
management information from the system like:
* list of available updates
- recommended
- security
* when was the last update installed (if possible)
* is the system registered?
* apply available updates (optional/future)
But I'm not able to get started with a basic library. I've tried to go through
the existing implementations. Most of the implementations start with calling
`getZypp()` to acquire the lock. I'm not able to figure out what should be the
next step.
Is there any guide, blog post, document, or (newer) example that would help me
understand the process?
Should I be using libzypp directly or should I use PackageKit? I'm more
comfortable writing in C rather than C++.
Any recommendations and pointers would be greatly appreciated!
Regards,
Srinidhi.