You are not logged in.

#1 2012-01-04 18:02:39

king.flasher.dave
Member
From: Berlin
Registered: 2008-11-25
Posts: 140
Website

[SOLVED] yaourt and "wrong hashes"

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

#2 2012-01-04 18:07:59

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] yaourt and "wrong hashes"

Can you add a Troubleshooting section to https://wiki.archlinux.org/index.php/Yaourt ?

Offline

#3 2012-01-04 19:29:56

king.flasher.dave
Member
From: Berlin
Registered: 2008-11-25
Posts: 140
Website

Re: [SOLVED] yaourt and "wrong hashes"

On it!


Speak when you are angry and you will make the best speech you'll ever regret.

Offline

#4 2012-01-06 14:56:16

king.flasher.dave
Member
From: Berlin
Registered: 2008-11-25
Posts: 140
Website

Re: [SOLVED] yaourt and "wrong hashes"

Done! Please close smile


Speak when you are angry and you will make the best speech you'll ever regret.

Offline

#5 2012-01-06 23:35:46

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] yaourt and "wrong hashes"

Thanks :-)

Offline

Board footer

Powered by FluxBB