Closed muelli closed 5 years ago
FWIW: It works much better for me when I have
apt:
sources:
rapbian-real.list:
source: "deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi"
in my user-data.
Thanks for reporting. Looks like we have to remove the debian package mirrors from the cloud.cfg
or install the Debian keys.
I have tried to add an additional sources.list.d entry through cloud-init. The entry was correctly placed, but along with that came debian sources which were not there before. I think https://github.com/hypriot/image-builder-rpi/blob/34b9e1b18dfc4371bf37db3bbae4320bcc5dc1fe/builder/files/etc/cloud/cloud.cfg#L99-L103 is the culprit.
the problem manifests itself in not being able to do an apt-get update because the keys seem to be missing. Also, I cannot installed packages, but I have not understood why.
My user-data has this: