You are not logged in.
I've just had some troubles updating several packages from AUR with yaourt.
The issues where concentrating on seemingly "wrong hashes".
Today I looked a little deeper and found out, that for some reason (maybe canceled upgrade or similar) yaourt was placing a symlink in the
/tmp/yaourt-tmp-user/package-name/
that refers to a (possibly) broken file in
/var/cache/yaourt/build/
Yaourt seems not to be able to delete it, so when trying to update (again) it will break operation on validating hashes.
Not sure if that's just a system quirk introduced by a crash or a yaourt specific problem (as it's unable to delete the broken file from its build directory on its own).
Anyhow: For me deleting the contents of the yaourt's build directory and the package build directories in /tmp solved this issue and I was able to update without any troubles!
Happy times! Though I think it's sufficient to only delete the files specific to the package that fails to upgrade.
Hope this could be of any use to someone.
Speak when you are angry and you will make the best speech you'll ever regret.
Offline
Can you add a Troubleshooting section to https://wiki.archlinux.org/index.php/Yaourt ?
Offline
On it!
Speak when you are angry and you will make the best speech you'll ever regret.
Offline
Done! Please close
Speak when you are angry and you will make the best speech you'll ever regret.
Offline
Thanks :-)
Offline