Rpi3 apt-get dist-upgrade fails (temporary error, fixed with new kernel)

My advice for what its worth is to run:

sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove

After this:

sudo apt-get update
sudo apt-get dist-upgrade

The above worked fine for me. Now running latest code.

Cheers
Spart