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

option to choose architecture or detect architecture for downloaded dvc.deb file #33

Open
ricknitsche opened this issue Mar 29, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@ricknitsche
Copy link

The architecture of the runner is hardcoded here:

`https://github.com/iterative/dvc/releases/download/${version}/dvc_${version}_amd64.deb`,

I was trying to use this action on an arm64 and got

Error: Command failed: /usr/bin/sudo apt update && /usr/bin/sudo apt install -y git ./dvc.deb && /usr/bin/sudo rm -f 'dvc.deb'

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.


WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

debconf: delaying package configuration, since apt-utils is not installed
E: Sub-process /usr/bin/dpkg returned an error code (1)

Could you add an option to select or detect the architecture?

Note: I think you can get rid of the warnings by using apt-get instead of apt.

@shcheklein shcheklein changed the title Option to choose architecture or detect architecture for downloaded dvc.deb file option to choose architecture or detect architecture for downloaded dvc.deb file Nov 19, 2024
@shcheklein shcheklein added the enhancement New feature or request label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants