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

json output on install when an error occurs is not valid #468

Open
oliverkurth opened this issue Mar 2, 2024 · 0 comments
Open

json output on install when an error occurs is not valid #468

oliverkurth opened this issue Mar 2, 2024 · 0 comments
Labels

Comments

@oliverkurth
Copy link
Contributor

Describe the bug

json output on install when an error occurs is not valid.

Reproduction steps

  1. run tdnf install --downloadonly --downloaddir=cherries --installroot=/tmp --releasever=5.0 --nodeps -j -y docker=24.0.5-4.ph5

Note that the directory cherries used as option should not exist for the error to happen.

Output is:

Error processing package: aarch64/docker-24.0.5-4.ph5.aarch64.rpm
{"Install":[{"Name":"docker","Arch":"aarch64","Evr":"24.0.5-4.ph5","InstallSize":0}]}{"Error":1602,"ErrorMessage":"No such file or directory"}

Expected behavior

valid json output.

Additional context

No response

@oliverkurth oliverkurth added the bug label Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant