Added support to use pkg shlib-{provides,requires} objects.

This effectively checks that all pkgs in a transaction to be installed
or updated, have not unmatched shared libraries, which might happen with
pkgs that had major soname bumps.

This implementation slow downs xbps_transaction_prepare() 2x, due to
the use of xbps_pkgdb_get_pkg_metadata(). A new pkgdb format is required
that adds the pkg shlib-provides objects to pkgdb, avoiding the need
to use xbps_pkgdb_get_pkg_metadata().
This commit is contained in:
Juan RP
2014-09-09 11:08:54 +02:00
parent c61317e219
commit fb9c94fab9
6 changed files with 166 additions and 2 deletions

4
NEWS
View File

@@ -1,5 +1,9 @@
xbps-0.38 (???):
* libxbps: added support to check pkg shlib-{provides,requires} objects for
all pkgs in transaction when installing or updating packages. This will help
to avoid broken pkgs due to unmatched shlibs.
* xbps-rindex(8): -r/--remove-obsoletes is now ~5x faster.
* xbps-remove(8): -O/--clean-cache is now ~10% faster.