Upgrader sometimes fails: Negative number not allowed in format_bytes at /usr/local/share/perl/5.32.1/Tails/IUK/Role/FormatByte.pm line 45 (Fix progress information inconsistencies when resuming an automatic upgrade download)
When a download is interrupted and then resumed due to a failure or a shutdown in the network connection, results in bytes_downloaded=0
. When this happens, the download speed could get a negative value which causes an error because negative numbers are not allowed in format_bytes. Another consequence is that the progress bar is momentarily set to zero when the download is resumed.
This was reported:
- 3 times in the last 1.5 months via WhisperBack: wb://88554c1e03418f2c1170ad00d717087d, wb://b527c3f4d8ce823f9b4bad272588a760, wb://31116b34a59903261c2674d1c3dfb7ef
- on reddit
Edited by intrigeri