Skip to main content
added 6 characters in body
Source Link

Does the kernel get upgraded on first boot?

@tom-yan pretty much got it

I just ran into the same error with tun and found this post

The problem was this kernel package getting upgraded by apk upgrade:
linux-virt-6.12.46-r0 aarch64 {linux-lts} (GPL-2.0-only) [upgradable from: linux-virt-6.12.38-r0]

To get around this, I used --ignore for the apk upgrade command in my cloud-init script

I see in your cloud-init script you have this:

package_update: true
package_upgrade: true
package_reboot_if_required: true

Instead, in my cloud-init script I did this in the runcmd block:

runcmd:
  # Update and upgrade packages (ignore kernel packages)
  - apk update --force-refresh
  - apk upgrade --ignore linux-lts linux-lts-headers

Does the kernel get upgraded on first boot?

@tom-yan pretty much got it

I just ran into the same error with tun and found this post

The problem was this kernel package getting upgraded by apk upgrade:
linux-virt-6.12.46-r0 aarch64 {linux-lts} (GPL-2.0-only) [upgradable from: linux-virt-6.12.38-r0]

To get around this, I used --ignore for the apk upgrade command in my cloud-init script

I see in your cloud-init script you have this:

package_update: true
package_upgrade: true
package_reboot_if_required: true

Instead, in my cloud-init script I did this in the runcmd block:

runcmd:
# Update and upgrade packages (ignore kernel packages)
- apk update --force-refresh
- apk upgrade --ignore linux-lts linux-lts-headers

Does the kernel get upgraded on first boot?

@tom-yan pretty much got it

I just ran into the same error with tun and found this post

The problem was this kernel package getting upgraded by apk upgrade:
linux-virt-6.12.46-r0 aarch64 {linux-lts} (GPL-2.0-only) [upgradable from: linux-virt-6.12.38-r0]

To get around this, I used --ignore for the apk upgrade command in my cloud-init script

I see in your cloud-init script you have this:

package_update: true
package_upgrade: true
package_reboot_if_required: true

Instead, in my cloud-init script I did this in the runcmd block:

runcmd:
  # Update and upgrade packages (ignore kernel packages)
  - apk update --force-refresh
  - apk upgrade --ignore linux-lts linux-lts-headers
added 76 characters in body
Source Link

Does the kernel get upgraded on first boot?

@tom-yan pretty much got it

I just ran into the same error with tun and found this post

The problem was this kernel package getting upgraded by apk upgrade:
linux-virt-6.12.46-r0 aarch64 {linux-lts} (GPL-2.0-only) [upgradable from: linux-virt-6.12.38-r0]

To get around this, I used --ignore for the apk upgrade command in my cloud-init script

I see in your cloud-init script you have this:

package_update: true
package_upgrade: true
package_reboot_if_required: true

Instead, in my cloud-init script I did this in the runcmd block:

runcmd:
# Update and upgrade packages (ignore kernel packages)
- apk update --force-refresh
- apk upgrade --ignore linux-lts linux-lts-headers

Does the kernel get upgraded on first boot?

@tom-yan pretty much got it

I just ran into the same error with tun and found this post

The problem was this kernel package getting upgraded by apk upgrade:
linux-virt-6.12.46-r0 aarch64 {linux-lts} (GPL-2.0-only) [upgradable from: linux-virt-6.12.38-r0]

To get around this, I used --ignore for the apk upgrade command in my cloud-init script

I see in your cloud-init script you have this:

package_update: true
package_upgrade: true
package_reboot_if_required: true

Instead, in my cloud-init script I did this in the runcmd block:

runcmd:
- apk update
- apk upgrade --ignore linux-lts linux-lts-headers

Does the kernel get upgraded on first boot?

@tom-yan pretty much got it

I just ran into the same error with tun and found this post

The problem was this kernel package getting upgraded by apk upgrade:
linux-virt-6.12.46-r0 aarch64 {linux-lts} (GPL-2.0-only) [upgradable from: linux-virt-6.12.38-r0]

To get around this, I used --ignore for the apk upgrade command in my cloud-init script

I see in your cloud-init script you have this:

package_update: true
package_upgrade: true
package_reboot_if_required: true

Instead, in my cloud-init script I did this in the runcmd block:

runcmd:
# Update and upgrade packages (ignore kernel packages)
- apk update --force-refresh
- apk upgrade --ignore linux-lts linux-lts-headers
added 254 characters in body
Source Link

Does the kernel get upgraded on first boot?

@tom-yan pretty much got it

I just ran into the same error with tun and found this post

The problem was this kernel package getting upgraded by apk upgrade:
linux-virt-6.12.46-r0 aarch64 {linux-lts} (GPL-2.0-only) [upgradable from: linux-virt-6.12.38-r0]

To get around this, I used --ignore for the apk upgrade command in my cloud-init script

I see in your cloud-init script you have this:

package_update: true
package_upgrade: true
package_reboot_if_required: true

Instead, in my cloud-init script I did this in the runcmd block:

runcmd:
- apk update
- apk upgrade --ignore linux-lts linux-lts-headers

Does the kernel get upgraded on first boot?

@tom-yan pretty much got it

I just ran into the same error with tun and found this post

The problem was this kernel package getting upgraded by apk upgrade:
linux-virt-6.12.46-r0 aarch64 {linux-lts} (GPL-2.0-only) [upgradable from: linux-virt-6.12.38-r0]

I see in your cloud-init script you have this:

package_update: true
package_upgrade: true
package_reboot_if_required: true

Does the kernel get upgraded on first boot?

@tom-yan pretty much got it

I just ran into the same error with tun and found this post

The problem was this kernel package getting upgraded by apk upgrade:
linux-virt-6.12.46-r0 aarch64 {linux-lts} (GPL-2.0-only) [upgradable from: linux-virt-6.12.38-r0]

To get around this, I used --ignore for the apk upgrade command in my cloud-init script

I see in your cloud-init script you have this:

package_update: true
package_upgrade: true
package_reboot_if_required: true

Instead, in my cloud-init script I did this in the runcmd block:

runcmd:
- apk update
- apk upgrade --ignore linux-lts linux-lts-headers
deleted 265 characters in body
Source Link
Loading
Source Link
Loading