Problems upgrading my system using Yay. Gets stuck on keyring part

Hello everyone.

I’m having problems updating my system using yay as normal.

It goes through the whole process as usual, downloading the files and whatnot but as soon as it gets to the part where it is checking the pgp keys I get a load of error messages and promps asking me if I want to delete keys etc.

At the end it finishes telling me that nothing has been upgraded

Total Download Size: 16.64 MiB Total Installed Size: 5981.22 MiB Net Upgrade Size: 45.88 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages…
yad-13.0-1.1-x86_64 217.3 KiB 26.9 KiB/s 00:08 [---------------------------------------------------------------------------------------] 100%
eos-bash-shared-23-20-any 47.2 KiB 39.4 KiB/s 00:01 [---------------------------------------------------------------------------------------] 100%
eos-apps-info-1.7-1-any 304.4 KiB 31.9 KiB/s 00:10 [---------------------------------------------------------------------------------------] 100%
welcome-3.66-2-any 29.5 KiB 26.3 KiB/s 00:01 [---------------------------------------------------------------------------------------] 100%
eos-rankmirrors-2.14-1-any 16.7 KiB 26.9 KiB/s 00:01 [---------------------------------------------------------------------------------------] 100%
endeavouros-mirrorlist-23.7-1-any 10.1 KiB 34.4 KiB/s 00:00 [---------------------------------------------------------------------------------------] 100%
firewalld-2.0.0-1-any 1194.3 KiB 45.6 KiB/s 00:26 [---------------------------------------------------------------------------------------] 100%
yay-12.1.0-1-x86_64 3.0 MiB 52.8 KiB/s 00:58 [---------------------------------------------------------------------------------------] 100%
endeavouros-theming-22.12.3.3-2-any 11.9 MiB 90.7 KiB/s 02:14 [---------------------------------------------------------------------------------------] 100%
Total (9/9) 16.6 MiB 127 KiB/s 02:14 [---------------------------------------------------------------------------------------] 100%
(434/434) checking keys in keyring [---------------------------------------------------------------------------------------] 100%
(434/434) checking package integrity [---------------------------------------------------------------------------------------] 100%
error: endeavouros-mirrorlist: signature from “manuel manuel@endeavouros.com” is unknown trust
:: File /var/cache/pacman/pkg/endeavouros-mirrorlist-23.7-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: endeavouros-theming: signature from “manuel manuel@endeavouros.com” is unknown trust
:: File /var/cache/pacman/pkg/endeavouros-theming-22.12.3.3-2-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: yad: signature from “manuel manuel@endeavouros.com” is unknown trust
:: File /var/cache/pacman/pkg/yad-13.0-1.1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: eos-bash-shared: signature from “manuel manuel@endeavouros.com” is unknown trust
:: File /var/cache/pacman/pkg/eos-bash-shared-23-20-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: eos-apps-info: signature from “manuel manuel@endeavouros.com” is unknown trust
:: File /var/cache/pacman/pkg/eos-apps-info-1.7-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: eos-rankmirrors: signature from “manuel manuel@endeavouros.com” is unknown trust
:: File /var/cache/pacman/pkg/eos-rankmirrors-2.14-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: welcome: signature from “manuel manuel@endeavouros.com” is unknown trust
:: File /var/cache/pacman/pkg/welcome-3.66-2-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: yay: signature from “manuel manuel@endeavouros.com” is unknown trust
:: File /var/cache/pacman/pkg/yay-12.1.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
→ error installing repo packages

Any help on fixing this would be gratefully received.
Thanks

This was the first result when I searched the forum for “keyring”:

1 Like

Please update the keyring

I’ll try that right away.

Apologies if it was a stupid question. In my defence I’m not all that clued up about things.

Thanks for pointing me in the right direction

1 Like

Let us know the outcome.

It exists no stupid questions. No question is a stupid question :wink:

Thats why we are here

Well it seems fixed for the most part.

Just a few problems still if you guys have any insights.

All the main kernel updates were done almost straight away after inputing the commands suggested above and I’ve now rebooted.

I ran yay again and although it says the system is up to date i’m getting a few error messages I want getting before. I’d quite like for them to go away:

error: failed retrieving file 'extra.db' from mirror.chaoticum.net : Could not resolve host: mirror.chaoticum.net
warning: too many errors from mirror.chaoticum.net, skipping for the remainder of this transaction
error: failed retrieving file 'core.db' from mirror.chaoticum.net : Could not resolve host: mirror.chaoticum.net
error: failed retrieving file 'multilib.db' from mirror.chaoticum.net : Could not resolve host: mirror.chaoticum.net
error: failed retrieving file 'community.db' from mirror.chaoticum.net : Could not resolve host: mirror.chaoticum.net
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (1)        New Version  Net Change

extra/docbook-xsl  1.79.2-7      26.32 MiB

Total Installed Size:  26.32 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                                                                [---------------------------------------------------------------------------------------] 100%
(1/1) checking package integrity                                                                                                              [---------------------------------------------------------------------------------------] 100%
(1/1) loading package files                                                                                                                   [---------------------------------------------------------------------------------------] 100%
(1/1) checking for file conflicts                                                                                                             [---------------------------------------------------------------------------------------] 100%
:: Processing package changes...
(1/1) installing docbook-xsl                                                                                                                  [---------------------------------------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Making package: gnome-disk-utility-git 44.0+9+ga2211415-1 (Wed 28 Jun 2023 18:13:08 BST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> ERROR: /home/draylath/.cache/yay/gnome-disk-utility-git/gnome-disk-utility is not a clone of https://gitlab.gnome.org/GNOME/gnome-disk-utility
    Aborting...
 -> error making: gnome-disk-utility-git-exit status 1
checking dependencies...

Package (1)  Old Version  Net Change

docbook-xsl  1.79.2-7     -26.32 MiB

Total Removed Size:  26.32 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
(1/1) removing docbook-xsl                                                                                                                    [---------------------------------------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
 -> Failed to install the following packages. Manual intervention is required:
gnome-disk-utility-git - exit status 1

Thanks

Looks like you need to refresh your mirrors.

https://discovery.endeavouros.com/pacman/mirrors-intro/2021/03/

Reflector Simple should be in your Applications menu. Post again if you have any questions about it.

1 Like

That seemed to fix most of it, thanks.

The only bit that is still flashing up errors is the Disks utility.

Here’s the output:

==> ERROR: /home/draylath/.cache/yay/gnome-disk-utility-git/gnome-disk-utility is not a clone of https://gitlab.gnome.org/GNOME/gnome-disk-utility
    Aborting...
 -> error downloading sources: /home/draylath/.cache/yay/gnome-disk-utility-git 
         context: exit status 1 
         

:: Remove make dependencies after install? [y/N] y
:: (1/1) Parsing SRCINFO: gnome-disk-utility-git
:: Synchronising 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
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (1)        New Version  Net Change

extra/docbook-xsl  1.79.2-7      26.32 MiB

Total Installed Size:  26.32 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                                                                [---------------------------------------------------------------------------------------] 100%
(1/1) checking package integrity                                                                                                              [---------------------------------------------------------------------------------------] 100%
(1/1) loading package files                                                                                                                   [---------------------------------------------------------------------------------------] 100%
(1/1) checking for file conflicts                                                                                                             [---------------------------------------------------------------------------------------] 100%
:: Processing package changes...
(1/1) installing docbook-xsl                                                                                                                  [---------------------------------------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Making package: gnome-disk-utility-git 44.0+9+ga2211415-1 (Wed 28 Jun 2023 18:37:47 BST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> ERROR: /home/draylath/.cache/yay/gnome-disk-utility-git/gnome-disk-utility is not a clone of https://gitlab.gnome.org/GNOME/gnome-disk-utility
    Aborting...
 -> error making: gnome-disk-utility-git-exit status 1
checking dependencies...

Package (1)  Old Version  Net Change

docbook-xsl  1.79.2-7     -26.32 MiB

Total Removed Size:  26.32 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
(1/1) removing docbook-xsl                                                                                                                    [---------------------------------------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
 -> Failed to install the following packages. Manual intervention is required:
gnome-disk-utility-git - exit status 1

Do you have gnome-disk-utility installed? If so, is it the package from the main repos https://archlinux.org/packages/extra/x86_64/gnome-disk-utility/ or the package from the AUR https://aur.archlinux.org/packages/gnome-disk-utility-git ?

If it’s the latter, is there a reason why you prefer this over the main repo package?

What’s the output of yay -Ss gnome-disk-utility ?

I suggest you to remove disk-utilities from AUR with yay -R gnome-disk-utility-git

Install it with sudo pacman -S gnome-disk-utility

swh on Endeavour OS ~                                                                                                                                                           12s  18:51:50
➜ pacman -Ss gnome-disk-utility
extra/gnome-disk-utility 44.0-1 (gnome) [Installiert]
    Disk Management Utility for GNOME

I have no idea why I’d pick one repo over another… probably a bungle on my part

Done and done. Cleared it right up!

Thanks very much everyone :slight_smile:

You’re welcome!
And please mark a post as solution :wink:

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