bastille
bastille copied to clipboard
[BUG] bastille pkg ALL upgrade --dry-run : "Failed to apply on some jails, please check logs"
[MANDATORY] Describe the bug [MANDATORY] When I run pkg upgrade --dry-run on jails which has some pkg updates, the command fails and return "Failed to apply on some jails, please check logs"
[MANDATORY] Bastille and FreeBSD version (paste bastille -v && freebsd-version -kru
output)
$ bastille -v && freebsd-version -kru
0.10.20231125
14.0-RELEASE-p3
14.0-RELEASE-p3
14.0-RELEASE-p3
[MANDATORY] How did you install bastille? (port/pkg/git) pkg
[optional] Steps to reproduce?
$ /usr/local/bin/bastille pkg soju upgrade --dry-run
[soju]:
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking for upgrades (1 candidates): 100%
Processing candidates (1 candidates): 100%
The following 1 package(s) will be affected (of 0 checked):
Installed packages to be UPGRADED:
readline: 8.2.1 -> 8.2.7
Number of packages to be upgraded: 1
396 KiB to be downloaded.
Failed to apply on some jails, please check logs
The error is not triggered if there is no pkg update.
[optional] Expected behavior Return code 0, list all upgrade per jail, no error message