X86 KVM guest install package: Failed to verify the signature

When I try to install package to x86 17.01-rc1 KVM Guest, the following error occur:

Collected errors:
 * opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/reboot_base.
 * opkg_install_cmd: Cannot install package ca-certificates.

The same x86 img has been tested on Virtualbox. What I have done is to covert it to qcow2 format.

I set up multiple times, sometimes it can install from commandline without problem - only via Luci fail; install another KVM guest, then both command line or luci cannot install package.

It seems to be random. I don't know how to solve it. Any idea?

After trying different settings, the issue is caused by the memory size:

  • 256MB - No Problem
  • 128MB - No Problem
  • 96MB - No Problem
  • 80MB - have the opkg failed to verify signature error

I go back to the virtualbox and it behaves the same.