gitpod-io / template-k3s

The k3s template, configured for Gitpod (www.gitpod.io) to give you pre-built, ephemeral Kubernetes development environments in the cloud.
MIT License
38 stars 16 forks source link

Gitpod kernel dependencies not available #1

Closed mrsimonemms closed 2 years ago

mrsimonemms commented 2 years ago

Bug description

The linux-image-$(uname -r) (linux-image-5.13.0-1007-gcp) dependency in the .gitpod.yml is no longer available

$ sudo apt install linux-image-$(uname -r)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package linux-image-5.13.0-1007-gcp
E: Couldn't find any package by glob 'linux-image-5.13.0-1007-gcp'

This causes the rest of the preparation steps to fail

Steps to reproduce

Load up template. Tried is a couple of workspaces, including https://turquoise-bat-kelqgteg.ws-eu25.gitpod.io/

Expected behavior

No response

Example repository

No response

Anything else?

No response

aledbf commented 2 years ago

Unable to locate package linux-image-5.13.0-1007-gcp

The new VM image updates the kernel to linux-image-5.13.0-1010-gcp (to be deployed tomorrow)

mrsimonemms commented 2 years ago

Ok, thanks @aledbf

Interestingly, I've tried it with linux-image-generic and it seems to work - is this something we could/should use to avoid any future kernel errors?

aledbf commented 2 years ago

@MrSimonEmms what you just did, unless there is something related to GCP that you need in the workspace