Ubuntu update error “waiting for unattended-upgr to exit”

Refer: https://techtips.easycloudsolutions.com/2018/05/15/ubuntu-update-error-waiting-for-unattended-upgr-to-exit/

Stop the automatic updater.

$ sudo dpkg-reconfigure -plow unattended-upgrades

At the first prompt, choose not to download and install updates.

Make a reboot. Make sure any packages in an unclean state are installed correctly.

$ sudo dpkg --configure -a

Get your system up-top-date.

$ sudo apt update && sudo apt -f install && sudo apt full-upgrade

Turn the automatic updater back on, now that the blockage is cleared.

$ sudo dpkg-reconfigure -plow unattended-upgrades

Select the package unattended-upgrades again.

Windows 10 Stuck on Update

Refer: http://bootables.net/windows-10-updates-stuck-download/

Open a command terminal as an administrator and shutdown two services:

  • C:>net stop wuauserv
  • C:>net stop bits

Go to the following folder and delete everything, a few folders may stick.

  • C:\Windows\SoftwareDistribution

Reboot your computer and update services should be already restarted, you can restart them manually like this with another admin terminal.

  • C:>net start wuauserv
  • C:>net start bits