Make update-api Error: ckati failed with: signal: killed

This situation is generally caused by the insufficient size of swap partition. Add swap partition and recompile it.
The following is the configuration method

cd /
sudo dd if=/dev/zero of=/swp bs=10M count=400
sudo mkswap /swp
sudo swapon /swp

Method 1:

Use free - m to view the swap space
refer to blog post
Add swap partition
to view the swap space

Method 2:

export LC_ALL=C

Read More: