This makes no sense. It looks like the problem only occurs if the cache isn't updated (the equivalent of "sudo apt update"). But the code that updates the progress indicator when downloading cache updates and the code that updates the progress indicator when downloading the upgrades themselves are almost identical (and the if/then statement that isn't identical causes a glitch if you remove it).
This makes no sense. It looks like the problem only occurs if the cache isn't updated (the equivalent of "sudo apt update"). But the code that updates the progress indicator when downloading cache updates and the code that updates the progress indicator when downloading the upgrades themselves are almost identical (and the if/then statement that isn't identical causes a glitch if you remove it).