xbps/bin
Juan RP 166caab986 Do not silently update xbps on any install/update transaction.
When there's a new xbps update, xbps-install(1) will now return
EBUSY (16) and a message (if dry-run disabled) explaining
how to proceed.

If there's an update and transaction does not contain xbps, it will
error out unless the 'xbps' pkg is the only target pkg, i.e:

	# xbps-install -Su
	# echo $?
	16

To update xbps, the only way to proceed is to explicitly declare
it as an update, i.e:

	# xbps-install -u xbps

The dry-run mode will still show there's an xbps update.

Modified the existing test cases to satisfy the new behaviour.

Closes #166
Closes #142
2019-12-27 21:35:40 +01:00
..
xbps-alternatives Added LTO support and fix warnings (maybe-uninitialized). 2019-06-27 18:09:26 +02:00
xbps-checkvers xbps-checkvers: version cache file. 2019-12-27 18:23:46 +01:00
xbps-create bin/xbps-create: better error handling for writing archives 2019-10-25 23:36:44 +02:00
xbps-dgraph Fix maybe-uninitialized warnings detected by LTO. 2019-12-27 10:53:10 +01:00
xbps-digest xbps-fetch(1): new utility that replaces 'xbps-uhelper fetch'. 2019-06-12 18:07:24 +02:00
xbps-fbulk xbps-fbulk: do not make assert() change program behaviour. 2019-07-06 08:37:47 +02:00
xbps-fetch bin/xbps-fetch: restore old behaviour for output file 2019-06-20 11:32:12 +02:00
xbps-install Do not silently update xbps on any install/update transaction. 2019-12-27 21:35:40 +01:00
xbps-pkgdb Added LTO support and fix warnings (maybe-uninitialized). 2019-06-27 18:09:26 +02:00
xbps-query Added LTO support and fix warnings (maybe-uninitialized). 2019-06-27 18:09:26 +02:00
xbps-reconfigure xbps-*: use xbps_pkgdb_update() correctly. 2019-06-22 18:50:40 +02:00
xbps-remove bin/xbps-remove: fix skipping executing orphans transaction 2019-06-26 22:24:47 +02:00
xbps-rindex Preserve meta-index data on change of signing key 2019-11-02 11:53:14 +01:00
xbps-uchroot xbps-uchroot: document end of options argument 2019-11-24 12:28:45 +01:00
xbps-uhelper xbps-uhelper: restore compat. 2019-06-20 10:53:30 +02:00
xbps-uunshare xbps-uunshare: document end of options argument 2019-11-24 12:28:45 +01:00
Makefile xbps-fetch(1): new utility that replaces 'xbps-uhelper fetch'. 2019-06-12 18:07:24 +02:00