Reinstate and rerun upgrade during first-boot (#405)
Reinstate and rerun upgrade during first-boot (#405)

If updating repositories and upgrading installed packages fails, give it another chance with reinstating dpkg.

Signed-off-by: Alari Truuts <d0e842af45f7d2cc760d13d1cf2f99685f0f4d66@gmail.com> (github: Alluuu)
openhab/openhabian,openhab/openhabian,ThomDietrich/openhabian,openhab/openhabian