Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] bastille pkg ALL upgrade --dry-run : "Failed to apply on some jails, please check logs" #657

Open
eoli3n opened this issue Dec 31, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@eoli3n
Copy link

eoli3n commented Dec 31, 2023

[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

@eoli3n eoli3n added the bug Something isn't working label Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant