:: (1/1) Parsing SRCINFO: snapd
==> Making package: snapd 2.70-1 (Wed 16 Jul 2025 10:29:40 AM EDT)
==> Checking runtime dependencies…
==> Checking buildtime dependencies…
==> Retrieving sources…
→ Found snapd-2.70.tar.xz
==> Validating source files with sha256sums…
snapd-2.70.tar.xz … FAILED
==> ERROR: One or more files did not pass the validity check!
→ error making: snapd-exit status 1
→ Failed to install the following packages. Manual intervention is required:
snapd - exit status 1
And I do not believe that I am using snap for anything and would like to remive this error.
The PKGBUILD of snapd has an incorrect sha256 checksum and that causes the failed build. And snapd package has already been flagged as out-of-date at https://aur.archlinux.org/packages/snapd.
There can be more than one reasons for it (e.g. simply forget to update checksum, or something else). Best is to visit the link above and ask the package maintainer what’s going on.
I think I asked incorrectly on what I should do. Since I do not plan to use snap, can I just:
yay -R snapd or should I do something else to remove the error.
Probably you can do yay -R snapd, but as always, it is strongly recommended to look at what packages are going to be removed since some of them might be needed by other software. So better to be careful.
If in doubt you can show the output here before accepting the removals.