fosspill/FFXIV_Modding_Tool

[ISSUE] AUR package update to 0.9.8-2 fails because of checksum

zeparu opened this issue · 2 comments

> yay -Syu               
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do
:: Searching databases for updates...
:: Searching AUR for updates...
:: Checking development packages...
 -> Flagged Out Of Date AUR Packages:  spotify
:: 1 Packages to upgrade.
1  aur/ffmt-bin  0.9.8-1 -> 0.9.8-2
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
==> 
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  ffmt-bin-0.9.8-2

:: PKGBUILD up to date, Skipping (1/1): ffmt-bin
:: (1/1) Parsing SRCINFO: ffmt-bin
==> Making package: ffmt-bin 0.9.8-2 (Mi 10 Feb 2021 10:23:25 CET)
==> Retrieving sources...
  -> Found FFXIV_Modding_Tool-linux-0.9.8.zip
==> Validating source files with sha256sums...
    FFXIV_Modding_Tool-linux-0.9.8.zip ... FAILED
==> ERROR: One or more files did not pass the validity check!
error downloading sources: ffmt-bin
>

update yesterday to 0.9.8-1 worked without issue

What happens if you delete ~/.cache/yay/ffmt-bin/FFXIV_Modding_Tool-linux-0.9.8.zip and try again? It looks like yay is trying to reuse the previously downloaded zip file because the name didn't change, but the validation fails because the zip file included with the release was updated (hence the 0.9.8-2 update) and thus has a different sha256sum.

oke works