Tails Upgrader failed despite successfully downloading the IUK
During QA for Tails 6.8 I was doing the incremental upgrade test and twice in a row (with reboots in between) Tails Upgrader claimed that the download failed. However, in both cases I confirmed that the file was successfully downloaded to /tmp
. On my third attempt it worked without any hiccups, but I didn't change anything in my process.
This is what was in the journal:
[...]
Oct 08 09:58:25 amnesia tails-upgrade-frontend-wrapper[10554]: Upgrade available
Oct 08 09:58:25 amnesia tails-upgrade-frontend-wrapper[10554]: <b>You should upgrade to Tails 6.8.</b>
Oct 08 09:58:25 amnesia tails-upgrade-frontend-wrapper[10554]: For more information about this new version, go to https://tails.net/news/version_6.8/
Oct 08 09:58:25 amnesia tails-upgrade-frontend-wrapper[10554]: We recommend you close all other applications during the upgrade.
Oct 08 09:58:25 amnesia tails-upgrade-frontend-wrapper[10554]: Downloading the upgrade might take a long time, from several minutes to a few hours.
Oct 08 09:58:25 amnesia tails-upgrade-frontend-wrapper[10554]: Download size: 362MB
Oct 08 09:58:25 amnesia tails-upgrade-frontend-wrapper[10554]: Do you want to upgrade now?: Upgrade now / Upgrade later
Oct 08 09:58:32 amnesia tails-upgrade-frontend-wrapper[10554]: Downloading the upgrade to Tails 6.8...
Oct 08 10:00:18 amnesia tails-upgrade-frontend-wrapper[10554]: Cancelling the upgrade download
Oct 08 10:00:18 amnesia tails-upgrade-frontend-wrapper[10554]: Error while downloading the upgrade
Oct 08 10:00:18 amnesia tails-upgrade-frontend-wrapper[10554]: <b><b>The upgrade could not be downloaded.</b>\n\nCheck your network connection, and restart Tails to try upgrading again.\n\nIf the problem persists, go to file:///usr/share/doc/tails/website/doc/upgrade/error/download.en.html</b>
Oct 08 10:00:18 amnesia tails-upgrade-frontend-wrapper[10554]: For debugging information, execute the following command: sudo tails-debugging-info
Oct 08 10:00:18 amnesia tails-upgrade-frontend-wrapper[10554]: exit code:
Oct 08 10:00:18 amnesia tails-upgrade-frontend-wrapper[10554]: stderr:
Oct 08 10:00:18 amnesia tails-upgrade-frontend-wrapper[10554]: ack Broken pipe: write( 11, '100
Oct 08 10:00:18 amnesia tails-upgrade-frontend-wrapper[10554]: ' ) at /usr/share/perl5/IPC/Run/IO.pm line 550.
Oct 08 10:00:18 amnesia tails-upgrade-frontend-wrapper[10554]: Error while downloading the upgrade
Oct 08 10:00:18 amnesia tails-upgrade-frontend-wrapper[10554]: <b><b>The upgrade could not be downloaded.</b>\n\nCheck your network connection, and restart Tails to try upgrading again.\n\nIf the problem persists, go to file:///usr/share/doc/tails/website/doc/upgrade/error/download.en.html</b>
Oct 08 10:00:18 amnesia tails-upgrade-frontend-wrapper[10554]: For debugging information, execute the following command: sudo tails-debugging-info