Garuda-hooks corrupted?

Got this on my KDE-Lite VM while doing sudo pacman -Syu:

error: garuda-hooks: signature from "Pedro Henrique Lara Campos <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/garuda-hooks-1.0.5-2-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 

I've refreshed keyrings, mirrorlist, my pacman.conf has been recently merged and chaotic-aur is definitely still an enabled repo, but I'm still getting this issue.

I've done forum searches and there is no new issue on this since Feb 2021.

Am I missing something?

Detail: I've not been free to update this VM for the past 3 plus weeks so the updates had accumulated. Not sure if I missed something in the interim.

Did you try entering Y?

Please search before posting.

2 Likes

Why on a VM?

Like I said, I've done it.

With that exact tutorial.

Just

upd

work here.

pacman -Qi garuda-hooks
Name                     : garuda-hooks
Version                  : 1.0.5-2
Beschreibung             : Additions and enhancements for Garuda Linux
Architektur              : any
URL                      : Nichts
Lizenzen                 : GPL
Gruppen                  : Nichts
Stellt bereit            : Nichts
Hängt ab von             : pacman  pacman-contrib  chaotic-mirrorlist  nss-mdns  rebuild-detector
                           kernel-modules-hook
Optionale Abhängigkeiten : Nichts
Benötigt von             : garuda-common-settings
Optional fĂĽr             : Nichts
In Konflikt mit          : Nichts
Ersetzt                  : Nichts
Installationsgröße       : 10,16 KiB
Packer                   : Pedro Henrique Lara Campos <[email protected]>
Erstellt am              : Mi 16 Jun 2021 14:53:36 CEST
Installiert am           : Mi 16 Jun 2021 16:59:35 CEST
Installationsgrund       : AusdrĂĽcklich installiert
Installations-Skript     : Ja
Verifiziert durch        : Signatur


 ╭─[email protected] in ~ took 114ms
 ╰─λ upd
[sudo] Passwort fĂĽr sgs:    
File: /etc/pacman.d/mirrorlist
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################

# With:       reflector --country Germany --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pa
cman.d/mirrorlist
# When:       2021-06-19 14:55:11 UTC
# From:       https://www.archlinux.org/mirrors/status/json/
# Retrieved:  2021-06-19 14:55:05 UTC
# Last Check: 2021-06-19 13:32:11 UTC

Server = https://mirror.pkgbuild.com/$repo/os/$arch
Server = https://archlinux.thaller.ws/$repo/os/$arch
Server = https://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch
Server = https://mirror.f4st.host/archlinux/$repo/os/$arch
Server = https://mirror.chaoticum.net/arch/$repo/os/$arch
:: Paketdatenbanken werden synchronisiert …
 core                                     134,3 KiB   772 KiB/s 00:00 [---------------------------------------] 100%
 extra                                   1565,8 KiB  2,97 MiB/s 00:01 [---------------------------------------] 100%
 community                                  5,6 MiB  3,81 MiB/s 00:01 [---------------------------------------] 100%
 multilib                                 149,6 KiB   713 KiB/s 00:00 [---------------------------------------] 100%
 chaotic-aur                             1119,3 KiB  1263 KiB/s 00:01 [---------------------------------------] 100%
:: Vollständige Systemaktualisierung wird gestartet …
Abhängigkeiten werden aufgelöst …
Nach in Konflikt stehenden Paketen wird gesucht …

Pakete (1) openvdb-8.1.0-1

Gesamtgröße des Downloads:               6,20 MiB
Gesamtgröße der installierten Pakete:  100,04 MiB
Größendifferenz der Aktualisierung:      4,04 MiB

:: Installation fortsetzen? [J/n] 
:: Pakete werden empfangen …
 openvdb-8.1.0-1-x86_64                     6,2 MiB  4,45 MiB/s 00:01 [---------------------------------------] 100%
(1/1) SchlĂĽssel im SchlĂĽsselbund werden geprĂĽft                       [---------------------------------------] 100%
(1/1) Paket-Integrität wird überprüft                                 [---------------------------------------] 100%
(1/1) Paket-Dateien werden geladen                                    [---------------------------------------] 100%
(1/1) Auf Dateikonflikte wird geprĂĽft                                 [---------------------------------------] 100%
(1/1) VerfĂĽgbarer Festplattenspeicher wird ermittelt                  [---------------------------------------] 100%
:: Pre-transaction-Hooks werden gestartet …
(1/1) Creating Timeshift snapshot before upgrade...
Using system disk as snapshot device for creating snapshots in BTRFS mode
Mounted '/dev/sda2' at '/run/timeshift/backup'
Creating new backup...(BTRFS)
Saving to device: /dev/sda2, mounted at path: /run/timeshift/backup
Created directory: /run/timeshift/backup/timeshift-btrfs/snapshots/2021-06-19_16-55-18
Created subvolume snapshot: /run/timeshift/backup/timeshift-btrfs/snapshots/2021-06-19_16-55-18/@
Created control file: /run/timeshift/backup/timeshift-btrfs/snapshots/2021-06-19_16-55-18/info.json
BTRFS Snapshot saved successfully (0s)
Tagged snapshot '2021-06-19_16-55-18': ondemand
------------------------------------------------------------------------------

/dev/sda2 is mounted at: /run/timeshift/backup, options: rw,relatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=5,subvol=/

------------------------------------------------------------------------------
Removing snapshot: 2021-06-17_09-39-43
Deleting subvolume: @ (Id:702)
Deleted subvolume: @ (Id:702)

Destroying qgroup: 0/702
Destroyed qgroup: 0/702

Deleted directory: /run/timeshift/backup/timeshift-btrfs/snapshots/2021-06-17_09-39-43
Removed snapshot: 2021-06-17_09-39-43
------------------------------------------------------------------------------
GRUB-Konfigurationsdatei wird erstellt …
Thema gefunden: /usr/share/grub/themes/garuda/theme.txt
Linux-Abbild gefunden: /boot/vmlinuz-linux-zen
initrd-Abbild gefunden: /boot/intel-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-zen-fallback.img
Warnung: Zur Erkennung anderer bootfähiger Partitionen wird os-prober nicht ausgeführt.
Die darauf befindlichen Systeme werden nicht zur GRUB-Bootkonfiguration hinzugefĂĽgt.
Schauen Sie in den Dokumentationseintrag GRUB_DISABLE_OS_PROBER.
Bootmenü-Eintrag für UEFI-Firmware-Einstellungen wird hinzugefügt …
Detecting snapshots ...
Info: Separate boot partition not detected 
Found snapshot: 2021-06-19 16:55:18 | timeshift-btrfs/snapshots/2021-06-19_16-55-18/@
Found snapshot: 2021-06-19 10:15:53 | timeshift-btrfs/snapshots/2021-06-19_10-15-52/@
Found snapshot: 2021-06-18 08:54:45 | timeshift-btrfs/snapshots/2021-06-18_08-54-45/@
Found snapshot: 2021-06-17 23:17:57 | timeshift-btrfs/snapshots/2021-06-17_23-17-57/@
Found snapshot: 2021-06-17 16:04:56 | timeshift-btrfs/snapshots/2021-06-17_16-04-56/@
Found snapshot: 2021-03-05 23:00:01 | timeshift-btrfs/snapshots/2021-03-05_23-00-01/@
Found 6 snapshot(s)
Found memtest86+ image: /boot/memtest86+/memtest.bin
abgeschlossen
:: Paketänderungen werden verarbeitet …
(1/1) Aktualisierung läuft openvdb                                    [---------------------------------------] 100%
:: Post-transaction-Hooks werden gestartet …
(1/8) Syncing all file systems...
(2/8) Arming ConditionNeedsUpdate...
(3/8) Foreign/AUR package notification
libalpm12 12.0.2-1
(4/8) Orphaned package notification...
=> No orphans found.
(5/8) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/pacman.d/mirrorlist.pacnew
Please check and merge
(6/8) Updating pkgfile database...
(7/8) Checking which packages need to be rebuilt
(8/8) Syncing all file systems...
2 Likes

Oops. Forgot to use -Syyu after refreshing mirrorlist.

Doh!

OK now.

1 Like

Strangely enough my upd alias in my $HOME/.zshrc file was commented out, and the last command was sudo pacman -Syu instead of sudo pacman -Syyu.

I changed to Syyu and it's ok now.

My VM is from Aug 2020, so maybe it was before some tweaks to the aliases?

Maybe only in VM :wink:

I have always

alias upd 'sudo reflector --country Germany --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist && cat /etc/pacman.d/mirrorlist && sudo pacman -Syu'

in .zshrc (fish.config).

Just refresh mirror list und -Syu.

So, it is solved for you?

3 Likes

Yes. Thanks.

For me, I always use -Syyu after refreshing mirrorlist whether it's a VM or real metal install. And I hadn't updated system nor refreshed mirrorlist for some time.

From what I understand that appears to be how one normally approaches -Syyu.

Most times -Syu is fine.

-y, --refresh
           Download a fresh copy of the master package database from the
           server(s) defined in pacman.conf(5). This should typically be used
           each time you use --sysupgrade or -u. 

Passing two --refresh or -y
           flags will force a refresh of all package databases, even if they
           appear to be up-to-date.

2 Likes

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