libxbps: add pkgs on hold mode to the transaction, but ignore them.

Those are there mostly to be shown by the clients and notify that
there's an update in repos that is being ignored.

Idea by @chneukirchen.
This commit is contained in:
Juan RP
2015-01-28 12:07:47 +01:00
parent 9bc3275515
commit 076b3f8c44
7 changed files with 73 additions and 17 deletions

5
NEWS
View File

@@ -1,5 +1,10 @@
xbps-0.44 (???):
* libxbps: add packages on hold mode to the transaction, but just ignore them.
This way those are shown in the xbps-install(8) output and the user really
knows that there's a pending update that is not being applied.
Idea by @chneukirchen.
* libxbps: make sure to remove the pkg metadata file if a pkg upgrade does not
own any file and a dependency replaces it due to moving files between them.
Added two new test cases to verify its correctness.