1. Stop the automatic updater.
    sudo dpkg-reconfigure -plow unattended-upgrades
    

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

  2. Make sure any packages in an unclean state are installed correctly.
    sudo dpkg --configure -a
    
  3. Get your system up-top-date.
    sudo apt update && sudo apt -f install && sudo apt full-upgrade
    
  4. Turn the automatic updater back on, now that the blockage is cleared.
    sudo dpkg-reconfigure -plow unattended-upgrades
    

    Select the package unattended-upgrades again.