Problem updating my picade

I booted my 10" picade up after having storaged it in the basement the last two years.
I tried updating retropie via the OS, but something went wrong, and I decided to just do a full re-install.
But after getting the display to work (had to dig deep to remember to remember the HDMI force hotplug) I could not get the picade hat to work, and I keep geeting a " apt failed to update indexes" message.
Any ideas on what to do?

I will try to install the previous OS, 4.5.1 i think. It would be nice to be able to update everything to the newest OS