xbps/lib
q66 85b8b3bbb7 lib/package_alternatives.c: prune obsolete alternatives groups
In the edge case when an updated package has different (or no)
alternatives groups, make sure to prune those that are in pkgdb
but not in the newly installed package.

A potentially common case of this is when a package that formerly
had alternatives gets removed and a transitional metapackage
takes its place (which has no alternatives).

When the new package has no dependencies, oldest next possible
alternatives group will be used. This is because that indicates
a removed package. When there are dependencies, the newest one
will be used; as this indicates a transitional package.
2019-11-17 13:22:15 +01:00
..
compat lib/compat/vasprintf.c: make this build and fix sign-compare warnings. 2013-02-02 01:31:20 +01:00
external lib/external/fexec.c: fix potential insecure usage in vfork(). 2019-06-18 18:49:29 +02:00
fetch fetch/http.c: fix tcc build failure. 2019-06-26 14:57:39 +02:00
portableproplib lib/portableproplib/rb.c: fix dead initialization. 2019-06-18 18:49:29 +02:00
archive.c Verify repodata signature 2019-11-02 11:53:14 +01:00
cb_util.c Remove the config.h kludge and override vasprintf detection via HAVE_VASPRINTF. 2014-01-20 18:50:33 +01:00
conf.c lib/conf.c: don't stop after the first error and print error 2019-08-05 15:28:24 +02:00
download.c lib/download.c: add xbps_fetch_file{_dest,}_digest 2019-10-25 23:38:01 +02:00
initend.c Added LTO support and fix warnings (maybe-uninitialized). 2019-06-27 18:09:26 +02:00
log.c lib: move conf parsing to lib/conf.c and refactor to not rely on getcwd/chdir 2019-05-22 13:22:10 +02:00
Makefile Bump to 0.57.1 and libxbps micro. 2019-10-27 09:50:11 +01:00
package_alternatives.c lib/package_alternatives.c: prune obsolete alternatives groups 2019-11-17 13:22:15 +01:00
package_config_files.c package_config_files.c: fix a shadowed variable declaration. 2019-04-22 14:51:13 +02:00
package_configure.c lib/package_configure.c: fix memleak 2016-09-25 21:27:46 +02:00
package_fulldeptree.c lib/package_fulldeptree.c: also use the initial item from the hashtable 2019-07-02 09:48:05 +02:00
package_msg.c Added LTO support and fix warnings (maybe-uninitialized). 2019-06-27 18:09:26 +02:00
package_orphans.c lib/package_orphans.c: the argument is not UNUSED 2019-07-02 09:48:05 +02:00
package_register.c Remove empty self replaced pkg arrays from pkgdb. 2014-09-14 18:16:43 +02:00
package_remove.c lib/package_remove.c: fix uninitialized xbps_array_t 2019-08-05 15:48:11 +02:00
package_script.c package_script.c: fix runtime with tcc 2019-10-27 09:38:50 +01:00
package_state.c Get rid of libfetch and proplib external dependencies. 2013-06-20 10:26:12 +02:00
package_unpack.c Verify repodata signature 2019-11-02 11:53:14 +01:00
pkgdb_conversion.c Introduce xbps_plist_{array,dictionary}_from_file(). 2015-05-28 10:15:05 +02:00
pkgdb.c Added LTO support and fix warnings (maybe-uninitialized). 2019-06-27 18:09:26 +02:00
plist_fetch.c Verify index-meta for in-memory sync 2019-11-02 11:53:14 +01:00
plist_find.c Added LTO support and fix warnings (maybe-uninitialized). 2019-06-27 18:09:26 +02:00
plist_match.c libxbps: the provides obj now expects exact pkgver strings. 2015-01-10 07:26:23 +01:00
plist_remove.c Add xbps_remove_{pkgname,string}_from_array() to the API. 2014-09-13 18:13:25 +02:00
plist.c Revert "xbps_array_foreach_cb_multi: fix incorrect array counter." 2019-06-23 11:14:37 +02:00
proplib_wrapper.c Introduce xbps_plist_{array,dictionary}_from_file(). 2015-05-28 10:15:05 +02:00
pubkey2fp.c upgrade to openssl 1.1.x. 2019-01-24 14:57:50 -05:00
repo_pkgdeps.c Add the ability to ignore packages 2019-04-19 23:07:59 +02:00
repo_sync.c lib/repo_sync.c: set umask before creating repo cache directories 2019-06-14 21:08:55 +02:00
repo.c Verify index-meta for in-memory sync 2019-11-02 11:53:14 +01:00
rpool.c Added LTO support and fix warnings (maybe-uninitialized). 2019-06-27 18:09:26 +02:00
transaction_commit.c lib/transaction_fetch.c: move fetch and verify binpkgs and make use of xbps_fetch_file_digest 2019-10-25 23:38:01 +02:00
transaction_conflicts.c Fix namespace violation 2018-09-25 22:11:30 -04:00
transaction_fetch.c lib/transaction_fetch.c: fix memory leak 2019-10-25 23:38:01 +02:00
transaction_files.c Verify repodata signature 2019-11-02 11:53:14 +01:00
transaction_ops.c Revert "lib/transaction_ops.c: remove updating all reverse dependencies" 2019-08-05 11:48:11 +02:00
transaction_package_replace.c libxbps: extend the fix for #116 even more for the expected case. 2015-10-19 18:19:24 +02:00
transaction_prepare.c Revert "lib/transaction_{revdeps,prepare}.c: try to update packages if necessary" 2019-08-05 11:48:15 +02:00
transaction_revdeps.c Revert "lib/transaction_{revdeps,prepare}.c: try to update packages if necessary" 2019-08-05 11:48:15 +02:00
transaction_shlibs.c Added LTO support and fix warnings (maybe-uninitialized). 2019-06-27 18:09:26 +02:00
transaction_store.c libxbps: print in verbose mode what pkgs are added to the transaction. 2015-09-02 18:56:20 +02:00
util_hash.c Sign repodata 2019-11-02 11:53:14 +01:00
util.c lib/util.c: xbps_remote_binpkg_exists to check if signature and binpkg are cached 2019-10-25 23:38:01 +02:00
verifysig.c Verify repodata signature 2019-11-02 11:53:14 +01:00