Calamares-tools and ruby-kwalify has corrupted

I want to install manjaro-tools-iso but calamares-tools and ruby-kwalify has corrupted

sudo pacman -S manjaro-tools-iso-git

resolving dependencies...
looking for conflicting packages...

Packages (12) apparmor-3.0.4-1  calamares-tools-r10.1d7b2b0-1  libburn-1.5.4-1  libisoburn-1.5.4-2
              libisofs-1.5.4-1  manjaro-iso-profiles-base-17.1.12-1  manjaro-tools-base-git-r2996.d3ab091-1
              manjaro-tools-yaml-git-r2996.d3ab091-1  mktorrent-1.1-4  ruby-kwalify-0.7.2-2  snapd-2.55.4-1
              manjaro-tools-iso-git-r2996.d3ab091-1

Total Download Size:    0.20 MiB
Total Installed Size:  66.69 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 snapd-2.55.4-1-x86_64 is up to date
 apparmor-3.0.4-1-x86_64 is up to date
 libisoburn-1.5.4-2-x86_64 is up to date
 libburn-1.5.4-1-x86_64 is up to date
 libisofs-1.5.4-1-x86_64 is up to date
 ruby-kwalify-0.7.2-2-any              193.0 KiB  5.71 MiB/s 00:00 [####################################] 100%
 manjaro-tools-iso-git-r2996.d3ab091-1-x86_64 is up to date
 manjaro-tools-base-git-r2996.d3ab091-1-x86_64 is up to date
 manjaro-tools-yaml-git-r2996.d3ab091-1-x86_64 is up to date
 manjaro-iso-profiles-base-17.1.12-1-any is up to date
 calamares-tools-r10.1d7b2b0-1-any      12.5 KiB  1790 KiB/s 00:00 [####################################] 100%
 mktorrent-1.1-4-x86_64 is up to date
 Total (12/12)                         205.5 KiB  1028 KiB/s 00:00 [####################################] 100%
(12/12) checking keys in keyring                                   [####################################] 100%
(12/12) checking package integrity                                 [####################################] 100%
error: calamares-tools: key "artoo (manjaro.org) <flower_of_life@gmx.net>" is disabled
:: File /var/cache/pacman/pkg/calamares-tools-r10.1d7b2b0-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: ruby-kwalify: key "artoo (manjaro.org) <flower_of_life@gmx.net>" is disabled
:: File /var/cache/pacman/pkg/ruby-kwalify-0.7.2-2-any.pkg.tar.xz 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.

this is the reason - not actually corrupted, but key disabled
I do not know how to properly address it.
perhaps disable the check temporarily?

If people have keyring issues with package signatures, the following might help executed as root: pacman -Sy manjaro-keyring; for i in $(cat /usr/share/pacman/keyrings/manjaro-trusted | cut -d: -f1); do pacman-key -d $i; pacman-key -r $i; done; pacman -S manjaro-keyring;

I ran

sudo pacman -Sy manjaro-keyring; for i in $(cat /usr/share/pacman/keyrings/manjaro-trusted | cut -d: -f1); do sudo pacman-key -d $i; sudo pacman-key -r $i; done;sudo pacman -S manjaro-keyring;

but not working.

I actually do not know why it would make a difference - but the reason for it not working might indeed be that you modified it and used sudo all the time
while the recommendation was to run it as root as a whole.
so:
sudo su -
or just
su -

and then the series of commands as it was posted.

This doesn’t help for keys which have been revokes, like the artoo one for example. Those packages need to be rebuilt with valid keys.

Thanks! Solved the problem and installed manjaro-tools-iso-git

PS: Can I change keyserver in this method?

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