mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-12 07:52:17 +02:00
We should run apt-get update before installing native Ubuntu packages like qemu-user-static. Otherwise apt-get install could fail like: ``` Err:1 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 qemu-user-static amd64 1:6.2+dfsg-2ubuntu6.5 404 Not Found [IP: 52.252.75.106 80] ``` That happens because meanwhile the qemu-user-static deb package in the Azure mirror was updated from 6.5 to 6.6, without keeping the old version. Its index of the Azure mirror was updated, but setup-flatcra-sdk.sh did not sync that, as apt-get update did not run.