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]: jp command in apt-utils.sh mis parsed base-files.json #7886

Open
2 tasks done
awinner1 opened this issue Feb 27, 2025 · 2 comments
Open
2 tasks done

[Bug]: jp command in apt-utils.sh mis parsed base-files.json #7886

awinner1 opened this issue Feb 27, 2025 · 2 comments
Labels
Bug Something isn't working as it should

Comments

@awinner1
Copy link

What happened?

when the system fetches the base-files.json files, and uses the jp command to parse it, it fails with a syntax error. resulting in the system believing the base-files was not downloaded.

How to reproduce?

build such that the base-files is downloaded, i.e. clear all cache and have a situation that it is needed.

offending line in the code:
found_package_filename=$(jq -r .[\"${package_download_release}\"].${ARCH} $package_info_download_url_file)
fixed line:
found_package_filename=$(jq -r .\"${package_download_release}\".\"${ARCH}\" $package_info_download_url_file)

Branch

main (main development branch)

On which host OS are you running the build script and observing this problem?

Ubuntu 24.04 Noble

Are you building on Windows WSL2?

  • Yes, my Ubuntu/Debian/OtherOS is running on WSL2

Relevant log URL

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@awinner1 awinner1 added the Bug Something isn't working as it should label Feb 27, 2025
Copy link
Contributor

github-actions bot commented Feb 27, 2025

Jira ticket: AR-2617

@awinner1
Copy link
Author

note: related to #7514

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working as it should
Development

No branches or pull requests

1 participant