TheLastGimbus / GooglePhotosTakeoutHelper

Script that organizes the Google Takeout archive into one big chronological folder
https://aur.archlinux.org/packages/gpth-bin
Apache License 2.0
3.52k stars 177 forks source link

AUR fails to validate sha256 #171

Closed nkfs closed 1 year ago

nkfs commented 1 year ago

When trying to install the latest version from AUR:

-> Downloading gpth-linux... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7244k 100 7244k 0 0 11.7M 0 --:--:-- --:--:-- --:--:-- 11.7M ==> Validating source files with sha256sums... gpth-linux ... FAILED ==> ERROR: One or more files did not pass the validity check! -> error downloading sources: gpth-bin context: exit status 1

bbbenji commented 1 year ago

https://aur.archlinux.org/packages/gpth-bin#comment-901221

TheLastGimbus commented 1 year ago

sorry guys, should be good next release :+1:

honestly didn't think anyone actually used it from aur :open_mouth:

TheLastGimbus commented 1 year ago

pushed new pkbuild, try it out now

bbbenji commented 1 year ago

@TheLastGimbus still not passing :(

==> Validating source files with sha256sums...
    gpth-linux ... FAILED
==> ERROR: One or more files did not pass the validity check!
 -> error downloading sources: gpth-bin 
     context: exit status 1 

==> Making package: gpth-bin 3.3.3-1 (Thu 09 Feb 2023 12:07:13 AM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found gpth-linux
==> Validating source files with sha256sums...
    gpth-linux ... FAILED
==> ERROR: One or more files did not pass the validity check!
 -> error making: gpth-bin
TheLastGimbus commented 1 year ago

I'm using paru, and had to clean aur cache:

$ paru -Sc
[sudo] password for matiii: 
Packages to keep:
  All locally installed packages

Cache directory: /var/cache/pacman/pkg/
:: Do you want to remove all other packages from cache? [Y/n] n

Database directory: /var/lib/pacman/
:: Do you want to remove unused repositories? [Y/n] n

Clone Directory: /home/matiii/.cache/paru/clone
:: Do you want to clean all other AUR packages from cache? [Y/n]: y

Diff Directory: /home/matiii/.cache/paru/diff
:: Do you want to remove all saved diffs? [Y/n]: y

and now it works :tada:

$ paru gpth-bin
1 aur/gpth-bin 3.3.3-1 [+1 ~0.49]
    Tool to help you with exporting stuff from Google Photos
:: Packages to install (eg: 1 2 3, 1-3):
:: 1
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

Aur (1) gpth-bin-3.3.3-1

:: Proceed to review? [Y/n]: 

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
 nothing new to review
fetching devel info...
==> Making package: gpth-bin 3.3.3-1 (czw, 9 lut 2023, 18:04:17)
==> Retrieving sources...
  -> Downloading gpth-linux...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 7244k  100 7244k    0     0   454k      0  0:00:15  0:00:15 --:--:--  458k
==> Validating source files with sha256sums...
    gpth-linux ... Passed
==> Making pa.....
....
bbbenji commented 1 year ago

@TheLastGimbus that worked. Using yay. Thanks!