pCloud drive (AUR) failed to update

Hi all,

Having another issue with pCloud drive (AUR) -
ERROR: One or more files did not pass the validity check!

pamac update -a                                                                                                                                    1 ✘ 
Preparing...
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Authenticating as: 
Password: 
==== AUTHENTICATION COMPLETE ====
Waiting for another package manager to quit...
Synchronizing package databases...
Nothing to do.
Cloning pcloud-drive build files...
Generating pcloud-drive information...
Checking pcloud-drive dependencies...
Resolving dependencies...
Checking inter-conflicts...

To build (1):
  pcloud-drive  1.14.12-2  (1.14.12-1)  AUR


Edit build files : [e] 
Apply transaction ? [e/y/N] Y


Building pcloud-drive...
==> Making package: pcloud-drive 1.14.12-2 (Fri 16 May 2025 02:22:58 AM +08)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found LICENSE
  -> Found pcloud-drive.AppImage
==> Validating source files with sha256sums...
    LICENSE ... Passed
    pcloud-drive.AppImage ... FAILED
==> ERROR: One or more files did not pass the validity check!
Error: Failed to build pcloud-drive

Try forcing a refresh… :point_down:

pamac update --force-refresh --aur --devel

Keep in mind that pamac does not access the AUR directly. It uses a local cache instead.

If all else fails, you could try yay instead, which does access the AUR directly.

Same error.
Maintainer forgot to update the checksum?

pamac update --force-refresh --aur --devel                                                                                                           ✔ 
Preparing...
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Authenticating as: 
Password: 
==== AUTHENTICATION COMPLETE ====
Synchronizing package databases...
Refreshing core.db...                                                                                                                                               
Refreshing extra.db...                                                                                                                                              
Refreshing multilib.db...                                                                                                                                           
Refreshing core.files...                                                                                                                                            
Refreshing extra.files...                                                                                                                                           
Refreshing multilib.files...                                                                                                                                        
Refreshing AUR...                                                                                                                                                   
Nothing to do.                                                                                                                                                      
Cloning pcloud-drive build files...
Generating pcloud-drive information...
Checking pcloud-drive dependencies...
Resolving dependencies...
Checking inter-conflicts...

To build (1):
  pcloud-drive  1.14.12-2  (1.14.12-1)  AUR


Edit build files : [e] 
Apply transaction ? [e/y/N] Y

cp: cannot access '/var/lib/pacman/sync/download-wNMhAX': Permission denied

Building pcloud-drive...
==> Making package: pcloud-drive 1.14.12-2 (Fri 16 May 2025 02:33:52 AM +08)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found LICENSE
  -> Found pcloud-drive.AppImage
==> Validating source files with sha256sums...
    LICENSE ... Passed
    pcloud-drive.AppImage ... FAILED
==> ERROR: One or more files did not pass the validity check!
Error: Failed to build pcloud-drive

Hmm, from what I can tell, it’s trying to build an ALPM package by extracting an AppImage, and that’s where it goes wrong.

However, I also notice this in your output above… :point_down:

I don’t have a /var/lib/pacman/sync/download-wNMhAX (or similarly named) directory on my system. So it could in theory be a pamac issue.

Next up: try yay. :point_down:

yay -Syu

The command took a long time to connect to repo, failed on 1st attempt.
After 10 mins, it finally get the job done.

Thanks for the guide!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.