apk-tools merge requestshttps://git.adelielinux.org/adelie/apk-tools/-/merge_requests2023-11-30T06:20:49Zhttps://git.adelielinux.org/adelie/apk-tools/-/merge_requests/4database: run triggers with r*id = e*id2023-11-30T06:20:49ZZach van Rijndatabase: run triggers with r*id = e*idThe 'apk' utility is intended to run as root, however it is not
strictly necessary depending on the tasks it needs to execute.
If invoked as euid 0 but ruid something else, the mismatch is
detected by the (shell) interpreter, which sets...The 'apk' utility is intended to run as root, however it is not
strictly necessary depending on the tasks it needs to execute.
If invoked as euid 0 but ruid something else, the mismatch is
detected by the (shell) interpreter, which sets euid to ruid,
which can cause a trigger expecting privileges to fail silently.
Fixes: horizon#379A. WilcoxA. Wilcoxhttps://git.adelielinux.org/adelie/apk-tools/-/merge_requests/3cache: report errors when unlinking2020-06-22T02:40:03ZMax Reescache: report errors when unlinkingBefore:
```console
$ abuild-apk del mutt
(1/3) Purging mutt (1.12.1-r0)
(2/3) Purging gdbm (1.18.1-r0)
(3/3) Purging libidn (1.35-r0)
OK: 3752 MiB in 805 packages
$ apk cache sync --purge || echo nope, sorry
$ ls /home/apk-cache/*gdbm*
...Before:
```console
$ abuild-apk del mutt
(1/3) Purging mutt (1.12.1-r0)
(2/3) Purging gdbm (1.18.1-r0)
(3/3) Purging libidn (1.35-r0)
OK: 3752 MiB in 805 packages
$ apk cache sync --purge || echo nope, sorry
$ ls /home/apk-cache/*gdbm*
/home/apk-cache/gdbm-1.18.1-r0.b0b17e93.apk
```
After:
```console
$ apk cache sync --purge || echo nope, sorry
ERROR: Unable to delete gdbm-1.18.1-r0.b0b17e93.apk: Permission denied
nope, sorry
```https://git.adelielinux.org/adelie/apk-tools/-/merge_requests/2solver: show debug output with runtime -vvvvv, not compile time -DDEBUG_PRINT2020-06-22T02:38:04ZMax Reessolver: show debug output with runtime -vvvvv, not compile time -DDEBUG_PRINThttps://git.adelielinux.org/adelie/apk-tools/-/merge_requests/1add: always use UTC for virtual package versions2019-07-10T05:03:36ZMax Reesadd: always use UTC for virtual package versionsA. WilcoxA. Wilcox