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

sudo snap install fails #21

Open
karhama opened this issue Mar 3, 2025 · 1 comment
Open

sudo snap install fails #21

karhama opened this issue Mar 3, 2025 · 1 comment

Comments

@karhama
Copy link

karhama commented Mar 3, 2025

Using runs-on default linux runner & image this command will fail:
sudo snap install yq

It seems to work fine with default github runner.

Easy to get working by adding one more command into workflow file:
sudo apt-get install snapd --allow-change-held-packages

However I believe snap working in the image would be ideal.

@crohr
Copy link
Contributor

crohr commented Mar 3, 2025

@karhama snap has been removed from base images due to its large size (even when no tool installed), and also because IIRC some snap-related daemon slows down the boot process.

Note that yq is already installed anyway?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants