xbps/lib
Juan RP 8a0c3032b7
xbps_find_pkg_orphans: improvements.
While checking for orphans in automatic mode (xbps-query -O,
xbps-remove -o) there's no need to generate a fulldeptree...
instead we need to iterate against pkgdb until no more orphans
are found.

See https://github.com/void-linux/xbps/issues/156#issuecomment-578473222

Also add some debugging that helped me to catch the issue
easily.

Closes #156
2020-01-26 07:40:25 +01:00
..
compat
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 Revert "Verify repodata signature" 2020-01-06 14:33:49 +01:00
cb_util.c
conf.c Add noextract configuration option 2020-01-18 15:51:13 +01:00
download.c lib/download.c: fix digest for continued downloads 2020-01-18 16:33:58 +01:00
initend.c xbps_init: fix warning on glibc. 2019-12-27 16:23:56 +01:00
log.c xbps_dbg_printf{,_append}: return if xhp is NULL. 2020-01-11 09:48:38 +01:00
Makefile libxbps: added XBPS_FLAG_INSTALL_REPRO for xbps_handle::flags. 2019-12-29 11:02:51 +01:00
package_alternatives.c Fix maybe-uninitialized warnings detected by LTO. 2019-12-27 10:53:10 +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 xbps_find_pkg_orphans: improvements. 2020-01-26 07:40:25 +01:00
package_register.c xbps-install: fix --reproducable. 2019-12-29 16:31:23 +01:00
package_remove.c xbps_remove_pkg: make sure pkgver is valid before use. 2020-01-25 13:58:00 +01:00
package_script.c package_script.c: fix runtime with tcc 2019-10-27 09:38:50 +01:00
package_state.c
package_unpack.c Add noextract configuration option 2020-01-18 15:51:13 +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 xbps_repo_fetch_remote: use XBPS_REPOIDX_META. 2020-01-06 15:09:16 +01:00
plist_find.c libxbps: fix for vpkg providers in multiple repos. 2020-01-18 12:50:59 +01:00
plist_match.c libxbps: fix for vpkg providers in multiple repos. 2020-01-18 12:50:59 +01:00
plist_remove.c
plist.c xbps_array_foreach_cb_multi: fix previous. 2019-12-27 16:22:40 +01: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 xbps-install: improved -D,--download-only support. 2020-01-25 13:05:46 +01: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 libxbps: fix for vpkg providers in multiple repos. 2020-01-18 12:50:59 +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 libxbps: fix issue found by the recent glvnd switch. 2019-12-27 20:25:05 +01:00
transaction_fetch.c xbps-install: improved -D,--download-only support. 2020-01-25 13:05:46 +01:00
transaction_files.c Revert "Verify repodata signature" 2020-01-06 14:33:49 +01:00
transaction_ops.c xbps-install: fix for -D foo (anything else than xbps). 2020-01-25 13:44:46 +01:00
transaction_package_replace.c xbps_transaction_package_replace: fix condition 2020-01-25 11:21:37 +01:00
transaction_prepare.c xbps-install: improved -D,--download-only support. 2020-01-25 13:05:46 +01:00
transaction_revdeps.c xbps_transaction_revdeps: simplify 2020-01-25 11:09:03 +01:00
transaction_shlibs.c xbps_transaction_shlibs: better interaction with on hold pkgs. 2020-01-25 10:23:06 +01:00
transaction_store.c xbps_transaction_store: fix memleak. 2020-01-06 12:47:13 +01:00
util_hash.c Revert "Sign repodata" 2020-01-06 14:31:40 +01:00
util.c Add noextract configuration option 2020-01-18 15:51:13 +01:00
verifysig.c Revert "libxbps: verify repodata signatures even if rootdir is unset." 2020-01-06 15:33:25 +01:00