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

libapt-pkg API reference



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Is there an API reference for writing programs with libapt-pkg?  I had
a look at the libapt-pkg-doc package, but this doesn't seem to include
one.  I'm looking at rewriting sbuild in C++, and it would be great if
I could do something like:

* Install packages x and y, and remove package z if it's installed, and
* Get a list of package changes
[do stuff]
* Restore the system to its previous state using the list of changes.

Currently sbuild seems to do all the calculation of the dependency
tree, but it would be nice if libapt could do this for me.


Thanks,
Roger

BTW, please could you CC me on any replies, since I'm not subscribed
to the deity list.


- -- 
Roger Leigh

                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                GPG Public Key: 0x25BFB848 available on public keyservers
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.6 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAj57d5gACgkQVcFcaSW/uEhoVACg7ODP8lop5wq3FhfGug0eZEYy
7TYAnRWInjen4JyTlfw4UynnD7tRC56c
=CYJ+
-----END PGP SIGNATURE-----



Reply to: