AppImageUpdate
AppImageUpdate copied to clipboard
Update is performed although no update is needed
zs-old file is left behind even if there is nothing to update:
user@host ~ $ /home/user/Applications/AppImageUpdate-383-cf29501-x86_64.AppImage Downloads/Dia-0.97.2.glibc2.15-x86_64.AppImage
AppImageUpdate version 1-alpha (commit cf29501), build 383 built on 2018-11-11 13:03:03 UTC
Updating from Bintray via ZSync
zsync2: /home/user/Downloads/Dia-0.97.2.glibc2.15-x86_64.AppImage found, using as seed file
zsync2: Target file: /home/user/Downloads/Dia-0.97.2.glibc2.15-x86_64.AppImage
zsync2: Reading seed file: /home/user/Downloads/Dia-0.97.2.glibc2.15-x86_64.AppImage
zsync2: Usable data from seed files: 100.000000%
zsync2: Renaming temp file
zsync2: Fetching remaining blocks
zsync2: Verifying downloaded file
zsync2: checksum matches OK
zsync2: used 19359744 local, fetched 0
user@host ~ $ sha256sum Downloads/Dia-0.97.2.glibc2.15-x86_64*
20:33 <probono> f6e28fbe61b4801794c10c13f65c9ae2de99a2bdf80a1dcf8c694018bf0e707a Downloads/Dia-0.97.2.glibc2.15-x86_64.AppImage
20:33 <probono> f6e28fbe61b4801794c10c13f65c9ae2de99a2bdf80a1dcf8c694018bf0e707a Downloads/Dia-0.97.2.glibc2.15-x86_64.AppImage.zs-old
The title is incorrect. The issue here is that an update is performed although no update is needed. This is indicated by the line:
zsync2: Usable data from seed files: 100.000000%
The issue is in the Qt updater module, which doesn't perform the update check before starting the normal update routine.
You are totally right. I don't know what I was thinking.