xbps/include
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 Introduce xbps_array_add_first() to insert obj at the head of array. 2014-11-13 15:18:21 +01:00
compat.h include/compat.h: fix musl build and include inttypes.h. 2014-07-14 08:50:14 +02:00
mainpage.h apidocs: sync with reality. 2015-10-20 11:37:29 +02:00
Makefile Make system/config repo.d paths always relative to rootdir. 2014-05-31 06:44:07 +02:00
queue.h Update queue.h with latest NetBSD's version. 2011-01-30 15:08:57 +01:00
xbps_api_impl.h Verify index-meta for in-memory sync 2019-11-02 11:53:14 +01:00
xbps.h.in Do not silently update xbps on any install/update transaction. 2019-12-27 21:35:40 +01:00