When installing it, it logs
==> Validating source files with sha256sums...
tailwindcss-linux-x64 ... FAILED
==> ERROR: One or more files did not pass the validity check!
-> error making: tailwindcss-bin
I checked the pkgbuild and it seems alright. I know this question is not related to EndeavourOS, but I want to know what’s wrong with it.
pebcak
December 1, 2022, 12:44pm
2
I tested to build it both with yay and manually with makepkg and it worked in both cases on my end.
If you want to try the manual way, you could do as follows:
Create a temporary build directory:
mkdir Build
cd Build
clone git https://aur.archlinux.org/tailwindcss-bin.git
cd tailwindcss-bin
makepkg -s
sudo pacman -U tailwindcss-bin-3.2.4-2-x86_64.pkg.tar.zst
Also:
Summary
If you get
==> ERROR: One or more files did not pass the validity check!
then either:
a file did not download correctly; remove it and try again.
there is an issue with the AUR package and you should report it via the associated packaging page.
Details
All packaging files include a section to determine whether the downloaded source file(s) have downloaded correctly and have not been tampered with.
An upstream project usually publishes checksums for the artefacts, whether MD5, SHA1,…
4 Likes
You are right, the package seems to not have downloaded correctly. I deleted its folder from ~/.cache/yay/
, tried to update again, and it worked!
It’s the first time this happened to me.
1 Like
pebcak
December 1, 2022, 5:39pm
4
Glad you got it resolved!
system
Closed
December 3, 2022, 5:39pm
5
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.