You are not logged in.

#1 2022-01-20 17:47:56

effraie
Member
Registered: 2012-08-30
Posts: 66

error: disabled key while installing mc

While trying to install midnight commander, i run into that error :

 error: mc: key "Jakob Gruber <jakob.gruber@gmail.com>" is disabled 

After refreshing pacman keyring, same thing. I also tried to reinstall archlinux-keyring, but no luck again.

AFAIK, i have no other related issue while updating the system or managing packages

here is the full output :

mathieu@radium ~ 
❯ sudo pacman -Sy archlinux-keyring
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
warning: archlinux-keyring-20220118-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) archlinux-keyring-20220118-1

Total Installed Size:  1,43 MiB
Net Upgrade Size:      0,00 MiB

:: Proceed with installation? [Y/n] 
(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%
(1/1) checking available disk space                                             [##############################################] 100%
:: Processing package changes...
(1/1) reinstalling archlinux-keyring                                            [##############################################] 100%
==> Appending keys from archlinux.gpg...
gpg: public key DB323392796CA067 is 3037 days newer than the signature
==> Updating trust database...
gpg: next trustdb check due at 2022-05-06
==> Updating trust database...
gpg: next trustdb check due at 2022-05-06
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
mathieu@radium ~ took 4s 
❯ sudo pacman -Sy mc               
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
resolving dependencies...
looking for conflicting packages...

Packages (1) mc-4.8.27-1

Total Download Size:   1,85 MiB
Total Installed Size:  7,07 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 mc-4.8.27-1-x86_64                                1896,5 KiB  2,43 MiB/s 00:01 [##############################################] 100%
(1/1) checking keys in keyring                                                  [##############################################] 100%
(1/1) checking package integrity                                                [##############################################] 100%
error: mc: key "Jakob Gruber <jakob.gruber@gmail.com>" is disabled
:: File /var/cache/pacman/pkg/mc-4.8.27-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).

Offline

#2 2022-01-20 18:33:25

TheVulpecula
Member
Registered: 2019-05-22
Posts: 9

Re: error: disabled key while installing mc

Same boat here.

vulpecula@vulpecula: pacman-key -l Jakob
gpg: Note: trustdb not writable
pub   rsa2048 2010-06-26 [SC]
      2612B04099DBD9B9A3DD92A0456C7A9B91B842AE
uid           [marginal] Jakob Gruber <jakob.gruber@gmail.com>
sub   rsa2048 2010-06-26 [E]

vulpecula@vulpecula: sudo pacman -mc
sudo pacman -S mc
resolving dependencies...
looking for conflicting packages...

Packages (1) mc-4.8.27-1

Total Installed Size:  7.07 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                                                                                                                 [########################################################################################################################] 100%
(1/1) checking package integrity                                                                                                                                                               [########################################################################################################################] 100%
error: mc: key "Jakob Gruber <jakob.gruber@gmail.com>" is disabled
:: File /var/cache/pacman/pkg/mc-4.8.27-1-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 (PGP signature))
Errors occurred, no packages were upgraded.

Strange thing is that if I use the archlinux docker image and update it, I can install that package without issue:

vulpecula@vulpecula: docker run --rm  -it archlinux/archlinux /bin/bash              
[root@8f2d81812749 /]# pacman -Syuu --quiet
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 community downloading...
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (6)              Old Version  New Version  Net Change  Download Size

core/archlinux-keyring   20220114-1   20220118-1     0.01 MiB       1.01 MiB
core/gnutls              3.7.2-2      3.7.3-1       -1.05 MiB       2.75 MiB
extra/libxml2            2.9.12-6     2.9.12-7       0.00 MiB       1.35 MiB
core/systemd             250.2-2      250.3-1        0.01 MiB       7.17 MiB
core/systemd-libs        250.2-2      250.3-1       -0.11 MiB       0.61 MiB
core/systemd-sysvcompat  250.2-2      250.3-1        0.00 MiB       0.01 MiB

Total Download Size:   12.91 MiB
Total Installed Size:  46.83 MiB
Net Upgrade Size:      -1.15 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 systemd-250.3-1-x86_64 downloading...
 gnutls-3.7.3-1-x86_64 downloading...
 libxml2-2.9.12-7-x86_64 downloading...
 archlinux-keyring-20220118-1-any downloading...
 systemd-libs-250.3-1-x86_64 downloading...
 systemd-sysvcompat-250.3-1-x86_64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
upgrading archlinux-keyring...
==> ERROR: There is no secret key available to sign with.
==> Use 'pacman-key --init' to generate a default secret key.
==> Updating trust database...
gpg: next trustdb check due at 2022-05-06
upgrading systemd-libs...
upgrading gnutls...
upgrading libxml2...
upgrading systemd...
upgrading systemd-sysvcompat...
:: Running post-transaction hooks...
(1/9) Creating system user accounts...
(2/9) Updating journal message catalog...
(3/9) Reloading system manager configuration...
  Skipped: Current root is not booted.
(4/9) Updating udev hardware database...
(5/9) Applying kernel sysctl settings...
  Skipped: Current root is not booted.
(6/9) Creating temporary files...
/usr/lib/tmpfiles.d/journal-nocow.conf:26: Failed to resolve specifier: uninitialized /etc detected, skipping
All rules containing unresolvable specifiers will be skipped.
(7/9) Reloading device manager configuration...
  Skipped: Device manager is not running.
(8/9) Arming ConditionNeedsUpdate...
(9/9) Reloading system bus configuration...
  Skipped: Current root is not booted.
[root@8f2d81812749 /]# pacman -S mc
resolving dependencies...
looking for conflicting packages...

Package (4)   New Version            Net Change  Download Size

core/gpm      1.20.7.r38.ge82d1a6-4    0.41 MiB       0.14 MiB
extra/slang   2.3.2-2                  3.17 MiB       0.74 MiB
core/which    2.21-5                   0.03 MiB       0.02 MiB
community/mc  4.8.27-1                 7.07 MiB       1.85 MiB

Total Download Size:    2.75 MiB
Total Installed Size:  10.69 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 mc-4.8.27-1-x86_64 downloading...
 slang-2.3.2-2-x86_64 downloading...
 gpm-1.20.7.r38.ge82d1a6-4-x86_64 downloading...
 which-2.21-5-x86_64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing gpm...
installing slang...
installing which...
installing mc...
Optional dependencies for mc
    aspell: spelling corrections
    cabextract: ucab extfs
    cdparanoia: audio extfs
    cdrkit: iso9660 extfs
    cvs: CVS support
    gawk: hp48+ extfs [installed]
    mtools: a+ extfs
    p7zip: support for 7zip archives
    perl: needed by several extfs scripts
    python: to access uc1541 or s3 storage
    python-boto: s3+ extfs
    python-pytz: s3+ extfs
    samba: VFS support
    unace: uace extfs
    unarj: uarj extfs
    unrar: urar extfs
    unzip: open zip archives
    zip: uzip extfs
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
  Skipped: Current root is not booted.
(2/2) Arming ConditionNeedsUpdate...
[root@8f2d81812749 /]# pacman-key -l Jakob
pub   rsa2048 2010-06-26 [SC]
      2612B04099DBD9B9A3DD92A0456C7A9B91B842AE
uid           [  full  ] Jakob Gruber <jakob.gruber@gmail.com>
sub   rsa2048 2010-06-26 [E]

Offline

#3 2022-01-20 18:50:13

TheVulpecula
Member
Registered: 2019-05-22
Posts: 9

Re: error: disabled key while installing mc

This is odd.

The key (in

pacman-key -l jakob

) seems to match the warning here: https://archlinux.org/todo/rebuild-pack … by-schuay/

Offline

#4 2022-01-20 19:06:00

TheVulpecula
Member
Registered: 2019-05-22
Posts: 9

Re: error: disabled key while installing mc

Found the root cause at least:

pacman -Sii |grep 91B842AE -B20 | grep Name |awk '{print $(NF)}'

That did not pickup ALL the packages user schuay was maintaining. They missed 3:

Name            : mc
Name            : mcomix
Name            : shntool

I'm going to file a bug.

EDIT: Here is the bug report: https://bugs.archlinux.org/task/73433

Last edited by TheVulpecula (2022-01-20 19:21:19)

Offline

#5 2022-01-20 20:23:56

TheVulpecula
Member
Registered: 2019-05-22
Posts: 9

Re: error: disabled key while installing mc

@effraie, according to the maintainer, the packages have been rebuild. Depending on your mirror, this should be fixed pretty soon.

Offline

#6 2022-01-20 21:43:13

effraie
Member
Registered: 2012-08-30
Posts: 66

Re: error: disabled key while installing mc

@TheVulpeca : thanks !

Offline

Board footer

Powered by FluxBB