Unable to upgrade my system

While trying to install/upgrade any application, I get this error:

#➤ [~] sudo pacman -S gimp
[sudo] password for priten: 
resolving dependencies...
looking for conflicting packages...

Package (17)            New Version                   Net Change  Download Size

extra/babl              0.1.96-1                        2.03 MiB               
extra/gd                2.3.3-4                         0.67 MiB       0.15 MiB
extra/gegl              0.4.38-1                       15.00 MiB               
extra/graphviz          5.0.1-1                         9.92 MiB               
extra/gsfonts           20200910-2                      3.11 MiB               
extra/gts               0.7.6.121130-2                  0.67 MiB               
extra/lensfun           1:0.3.3-1                       3.72 MiB               
community/libgexiv2     0.14.0-3                        1.14 MiB               
extra/libmypaint        1.6.1-1                         1.09 MiB               
extra/libspiro          1:20220722-1                    0.04 MiB               
extra/libwmf            0.2.12-2                        3.24 MiB               
community/luajit        2.1.0.beta3.r439.g633f265f-1    0.80 MiB               
extra/metis             5.1.0.p10-2                     0.42 MiB               
extra/mypaint-brushes1  1.3.1-1                         2.32 MiB               
extra/netpbm            10.73.37-2                      6.74 MiB               
extra/suitesparse       5.13.0-1                        3.46 MiB               
extra/gimp              2.10.32-1                     113.04 MiB               

Total Download Size:     0.15 MiB
Total Installed Size:  167.39 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 gd-2.3.3-4-x86_64                         154.2 KiB   350 KiB/s 00:00 [---------------------------------------] 100%
(17/17) checking keys in keyring                                       [---------------------------------------] 100%
(17/17) checking package integrity                                     [---------------------------------------] 100%
error: gd: signature from "Pierre Schmitz <pierre@archlinux.de>" is marginal trust
:: File /var/cache/pacman/pkg/gd-2.3.3-4-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

Running eos-update results in below:

#➤ [~] eos-update    
pacman update with additional and useful checks
Updating...
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
warning: archlinux-keyring-20220831-1 is up to date -- skipping
warning: endeavouros-keyring-20230523-1 is up to date -- skipping
 there is nothing to do
:: Starting full system upgrade...
warning: a52dec: local (0.8.0-1) is newer than extra (0.7.4-11)
warning: aalib: local (1.4rc5-15) is newer than extra (1.4rc5-14)
warning: accountsservice: local (23.13.9-1) is newer than extra (22.08.8-2)
warning: acl: local (2.3.1-3) is newer than core (2.3.1-2)
warning: adobe-source-code-pro-fonts: local (2.042u+1.062i+1.026vf-1) is newer than extra (2.038ro+1.058it+1.018var-1)
warning: adwaita-icon-theme: local (44.0-1) is newer than extra (42.0+r1+gc144c3d75-1)
warning: alsa-card-profiles: local (1:0.3.71-1) is newer than extra (1:0.3.56-1)
warning: alsa-firmware: local (1.2.4-3) is newer than extra (1.2.4-2)
warning: alsa-lib: local (1.2.9-1) is newer than extra (1.2.7.2-1)
warning: alsa-plugins: local (1:1.2.7.1-2) is newer than extra (1:1.2.7.1-1)
warning: alsa-topology-conf: local (1.2.5.1-3) is newer than extra (1.2.5.1-1)
warning: alsa-ucm-conf: local (1.2.9-1) is newer than extra (1.2.7.2-1)
warning: alsa-utils: local (1.2.9-1) is newer than extra (1.2.7-1)
warning: android-tools: local (34.0.1-1) is newer than community (31.0.3-7)
warning: android-udev: local (20230303-1) is newer than community (20220611-1)
warning: aom: local (3.6.1-1) is newer than extra (3.4.0-1)
warning: appstream: local (0.16.2-1) is newer than extra (0.15.5-1)
warning: appstream-qt: local (0.16.2-1) is newer than extra (0.15.5-1)
warning: argon2: local (20190702-5) is newer than core (20190702-4)
warning: ark: local (23.04.1-1) is newer than extra (22.08.0-1)
warning: assimp: local (5.2.5-2) is newer than extra (5.2.4-2)
warning: at-spi2-core: local (2.48.2-1) is newer than extra (2.44.1-1)
---truncated for readability---
 there is nothing to do

I have ran the following commands so far and have restarted my laptop a few times:

sudo rm -rf /etc/pacman.d/gnupg
sudo pacman-key --init
sudo pacman-key --populate
sudo pacman-key --refresh-keys
sudo pacman -Sy archlinux-keyring

sudo pacman -S endeavouros-keyring
sudo pacman -Sy endeavouros-keyring; sudo pacman -Syu

However, nothing has worked. Any help is appreciated. Thank you

Looks like you are connected to an out of date mirror.

Try this:

sudo pacman -S --needed rate-mirrors
rate-mirrors arch --max-delay 7200 | sudo tee /etc/pacman.d/mirrorlist
sudo pacman -Sy archlinux-keyring
sudo pacman -Syu gimp
2 Likes

Thank you, that solved the problem!

1 Like

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