alpine_upgrade_error

in april ran

  • apk update
  • apk upgrade

this moved the distro from 3.3.1 -=> 3.3.3.

however, got an error during this process:

Executing busybox-1.24.1-r7.trigger

Executing kmod-22-r0.trigger

Killed

ERROR: kmod-22-r0.trigger: script exited with error 137

dmesg revealed:

Out of memory: Kill process 3121 (depmod) score 134 or sacrifice child

Solution was ...

SWAP was not ON so;

swapon /dev/mapper/dom0_swap-dharraSWAP
apk cache -v sync
apk cache download
apk fix

and DONE...we are on alpine 3.3.3.