You are not logged in.

#1 2018-04-25 18:17:53

rocapp
Member
Registered: 2018-04-25
Posts: 2

[Solved] PGP signature error when installing gcc-fortran

I'm getting a corrupted package error message when trying to install gcc-fortran. The full output is below.

sudo pacman -S gcc-fortran
resolving dependencies...
looking for conflicting packages...

Packages (1) gcc-fortran-7.3.1+20180312-2

Total Download Size:    7.47 MiB
Total Installed Size:  25.00 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
error: failed retrieving file 'gcc-fortran-7.3.1+20180312-2-x86_64.pkg.tar.xz' from arch.mirror.constant.com : The requested URL returned error: 404
error: failed retrieving file 'gcc-fortran-7.3.1+20180312-2-x86_64.pkg.tar.xz' from mirrors.ustc.edu.cn : The requested URL returned error: 404
error: failed retrieving file 'gcc-fortran-7.3.1+20180312-2-x86_64.pkg.tar.xz' from mirror.sfo12.us.leaseweb.net : The requested URL returned error: 404
error: failed retrieving file 'gcc-fortran-7.3.1+20180312-2-x86_64.pkg.tar.xz' from mirror.lastmikoi.net : The requested URL returned error: 404
error: failed retrieving file 'gcc-fortran-7.3.1+20180312-2-x86_64.pkg.tar.xz' from br.mirror.archlinux-br.org : The requested URL returned error: 404
error: failed retrieving file 'gcc-fortran-7.3.1+20180312-2-x86_64.pkg.tar.xz' from mi.mirror.garr.it : The requested URL returned error: 404
error: failed retrieving file 'gcc-fortran-7.3.1+20180312-2-x86_64.pkg.tar.xz' from mirrors.nix.org.ua : The requested URL returned error: 404
error: failed retrieving file 'gcc-fortran-7.3.1+20180312-2-x86_64.pkg.tar.xz' from mirror.internode.on.net : The requested URL returned error: 404
error: failed retrieving file 'gcc-fortran-7.3.1+20180312-2-x86_64.pkg.tar.xz' from foss.aueb.gr : The requested URL returned error: 404
error: failed retrieving file 'gcc-fortran-7.3.1+20180312-2-x86_64.pkg.tar.xz' from archimonde.ts.si : The requested URL returned error: 404
error: failed retrieving file 'gcc-fortran-7.3.1+20180312-2-x86_64.pkg.tar.xz' from ftp.ntua.gr : The requested URL returned error: 404
 gcc-fortran-7.3.1+20180312-2-x86_64                                                                                   166.0   B  0.00B/s 00:00 [########################################################################################] 100%
(1/1) checking keys in keyring                                                                                                                  [########################################################################################] 100%
(1/1) checking package integrity                                                                                                                [########################################################################################] 100%
error: gcc-fortran: signature from "Bartlomiej Piotrowski <b@bpiotrowski.pl>" is invalid
:: File /var/cache/pacman/pkg/gcc-fortran-7.3.1+20180312-2-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 

Here is the output from

pacman-key --list-sigs Piotrowski
gpg: Note: trustdb not writable
pub   rsa4096 2017-05-15 [SC]
      DDB867B92AA789C165EEFA799B729B06A680C281
uid           [  full  ] Bartłomiej Piotrowski (Arch Linux Master Key) <bpiotrowski@master-key.archlinux.org>
sig 3        9B729B06A680C281 2017-05-15  Bartłomiej Piotrowski (Arch Linux Master Key) <bpiotrowski@master-key.archlinux.org>
sig   L      9C8D3D03F3B586AF 2017-12-19  Pacman Keyring Master Key <pacman@localhost>
sub   rsa4096 2017-05-15 [E]
sig          9B729B06A680C281 2017-05-15  Bartłomiej Piotrowski (Arch Linux Master Key) <bpiotrowski@master-key.archlinux.org>

pub   rsa2048 2011-10-10 [SC]
      F3691687D867B81B51CE07D9BBE43771487328A9
uid           [marginal] Bartlomiej Piotrowski <b@bpiotrowski.pl>
sig 3        BBE43771487328A9 2012-02-15  Bartlomiej Piotrowski <b@bpiotrowski.pl>
sig          A88E23E377514E00 2015-12-23  Florian Pritz (Arch Linux Master Key) <florian@master-key.archlinux.org>
sig          9B729B06A680C281 2017-05-15  Bartłomiej Piotrowski (Arch Linux Master Key) <bpiotrowski@master-key.archlinux.org>
uid           [marginal] Bartłomiej Piotrowski <b@bpiotrowski.pl>
sig 3        BBE43771487328A9 2012-02-07  Bartlomiej Piotrowski <b@bpiotrowski.pl>
sig          A88E23E377514E00 2015-12-23  Florian Pritz (Arch Linux Master Key) <florian@master-key.archlinux.org>
sig          9B729B06A680C281 2017-05-15  Bartłomiej Piotrowski (Arch Linux Master Key) <bpiotrowski@master-key.archlinux.org>
uid           [marginal] Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
sig 3        BBE43771487328A9 2014-08-17  Bartlomiej Piotrowski <b@bpiotrowski.pl>
sig          A88E23E377514E00 2015-12-23  Florian Pritz (Arch Linux Master Key) <florian@master-key.archlinux.org>
sig          9B729B06A680C281 2017-05-15  Bartłomiej Piotrowski (Arch Linux Master Key) <bpiotrowski@master-key.archlinux.org>
uid           [  full  ] Bartlomiej Piotrowski (Barthalion) <barthalion@gmail.com>
sig 3        BBE43771487328A9 2011-12-10  Bartlomiej Piotrowski <b@bpiotrowski.pl>
sig          A04F9397CDFD6BB0 2011-12-11  Dan McGee (Arch Linux Master Key) <dan@master-key.archlinux.org>
sig          BA1DFB64FFF979E7 2011-12-13  Allan McRae (Arch Linux Master Key) <allan@master-key.archlinux.org>
sig          A88E23E377514E00 2015-12-23  Florian Pritz (Arch Linux Master Key) <florian@master-key.archlinux.org>
sig          9B729B06A680C281 2017-05-15  Bartłomiej Piotrowski (Arch Linux Master Key) <bpiotrowski@master-key.archlinux.org>
uid           [  full  ] Bartłomiej Piotrowski (Barthalion) <barthalion@gmail.com>
sig 3        BBE43771487328A9 2011-10-10  Bartlomiej Piotrowski <b@bpiotrowski.pl>
sig          5184252D824B18E8 2011-11-20  Thomas Bächler (Arch Linux Master Key) <thomas@master-key.archlinux.org>
sig          3348882F6AC6A4C2 2011-11-20  Pierre Schmitz (Arch Linux Master Key) <pierre@master-key.archlinux.org>
sig          7EFD567D4C7EA887 2011-11-25  Ionut Biru (Arch Linux Master Key) <ionut@master-key.archlinux.org>
sig          A04F9397CDFD6BB0 2011-12-11  Dan McGee (Arch Linux Master Key) <dan@master-key.archlinux.org>
sig          BA1DFB64FFF979E7 2011-12-13  Allan McRae (Arch Linux Master Key) <allan@master-key.archlinux.org>
sig          A88E23E377514E00 2015-12-23  Florian Pritz (Arch Linux Master Key) <florian@master-key.archlinux.org>
sig          9B729B06A680C281 2017-05-15  Bartłomiej Piotrowski (Arch Linux Master Key) <bpiotrowski@master-key.archlinux.org>
sub   rsa2048 2011-10-10 [E]
sig          BBE43771487328A9 2011-10-10  Bartlomiej Piotrowski <b@bpiotrowski.pl>

And from

pacman-key --list-sigs Master
gpg: Note: trustdb not writable
pub   rsa2048 2017-12-19 [SC]
      A316C31191CAF3BE3F46AA0B9C8D3D03F3B586AF
uid           [ultimate] Pacman Keyring Master Key <pacman@localhost>
sig 3        9C8D3D03F3B586AF 2017-12-19  Pacman Keyring Master Key <pacman@localhost>

pub   rsa4096 2011-11-29 [SC]
      AB19265E5D7D20687D303246BA1DFB64FFF979E7
uid           [  full  ] Allan McRae (Arch Linux Master Key) <allan@master-key.archlinux.org>
sig 3        BA1DFB64FFF979E7 2011-11-29  Allan McRae (Arch Linux Master Key) <allan@master-key.archlinux.org>
sig   L      9C8D3D03F3B586AF 2017-12-19  Pacman Keyring Master Key <pacman@localhost>

pub   rsa4096 2017-05-15 [SC]
      DDB867B92AA789C165EEFA799B729B06A680C281
uid           [  full  ] Bartłomiej Piotrowski (Arch Linux Master Key) <bpiotrowski@master-key.archlinux.org>
sig 3        9B729B06A680C281 2017-05-15  Bartłomiej Piotrowski (Arch Linux Master Key) <bpiotrowski@master-key.archlinux.org>
sig   L      9C8D3D03F3B586AF 2017-12-19  Pacman Keyring Master Key <pacman@localhost>
sub   rsa4096 2017-05-15 [E]
sig          9B729B06A680C281 2017-05-15  Bartłomiej Piotrowski (Arch Linux Master Key) <bpiotrowski@master-key.archlinux.org>

pub   rsa4096 2015-12-17 [SC]
      91FFE0700E80619CEB73235CA88E23E377514E00
uid           [  full  ] Florian Pritz (Arch Linux Master Key) <florian@master-key.archlinux.org>
sig 3        A88E23E377514E00 2015-12-17  Florian Pritz (Arch Linux Master Key) <florian@master-key.archlinux.org>
sig   L      9C8D3D03F3B586AF 2017-12-19  Pacman Keyring Master Key <pacman@localhost>
sub   rsa4096 2015-12-17 [E]
sig          A88E23E377514E00 2015-12-17  Florian Pritz (Arch Linux Master Key) <florian@master-key.archlinux.org>

pub   rsa3072 2011-11-25 [SC] [revoked: 2011-11-25]
      44D4A033AC140143927397D47EFD567D4C7EA887
rev          7EFD567D4C7EA887 2011-11-25  Ionut Biru (Arch Linux Master Key) <ionut@master-key.archlinux.org>
uid           [ revoked] Ionut Biru (Arch Linux Master Key) <ionut@master-key.archlinux.org>
sig 3        7EFD567D4C7EA887 2011-11-25  Ionut Biru (Arch Linux Master Key) <ionut@master-key.archlinux.org>
sig   L      9C8D3D03F3B586AF 2017-12-19  Pacman Keyring Master Key <pacman@localhost>

pub   rsa3072 2011-11-18 [SC]
      0E8B644079F599DFC1DDC3973348882F6AC6A4C2
uid           [  full  ] Pierre Schmitz (Arch Linux Master Key) <pierre@master-key.archlinux.org>
sig 3        3348882F6AC6A4C2 2011-11-18  Pierre Schmitz (Arch Linux Master Key) <pierre@master-key.archlinux.org>
sig   L      9C8D3D03F3B586AF 2017-12-19  Pacman Keyring Master Key <pacman@localhost>
sub   rsa1024 2011-11-18 [E]
sig          3348882F6AC6A4C2 2011-11-18  Pierre Schmitz (Arch Linux Master Key) <pierre@master-key.archlinux.org>
sub   rsa3072 2011-11-18 [A]
sig          3348882F6AC6A4C2 2011-11-18  Pierre Schmitz (Arch Linux Master Key) <pierre@master-key.archlinux.org>

pub   rsa3072 2011-11-19 [SC]
      684148BB25B49E986A4944C55184252D824B18E8
uid           [  full  ] Thomas Bächler (Arch Linux Master Key) <thomas@master-key.archlinux.org>
sig 3        5184252D824B18E8 2011-11-19  Thomas Bächler (Arch Linux Master Key) <thomas@master-key.archlinux.org>
sig   L      9C8D3D03F3B586AF 2017-12-19  Pacman Keyring Master Key <pacman@localhost>

pub   rsa3072 2011-11-29 [SC] [revoked: 2011-11-29]
      27FFC4769E19F096D41D9265A04F9397CDFD6BB0
rev          A04F9397CDFD6BB0 2011-11-29  Dan McGee (Arch Linux Master Key) <dan@master-key.archlinux.org>
uid           [ revoked] Dan McGee (Arch Linux Master Key) <dan@master-key.archlinux.org>
sig 3        A04F9397CDFD6BB0 2011-11-29  Dan McGee (Arch Linux Master Key) <dan@master-key.archlinux.org>

Please let me know if you need any more information. Thanks!

Last edited by rocapp (2018-04-25 18:23:08)

Offline

#2 2018-04-25 18:20:00

rocapp
Member
Registered: 2018-04-25
Posts: 2

Re: [Solved] PGP signature error when installing gcc-fortran

Never mind... I just needed to do a

pacman -Syu

. tongue

Offline

#3 2018-04-25 20:05:51

JoshuaRLi
Member
Registered: 2018-02-04
Posts: 5
Website

Re: [Solved] PGP signature error when installing gcc-fortran

You don't need to perform an entire system upgrade in your case. Simply re-syncing the database will do the trick.

pacman -Sy

Offline

#4 2018-04-25 20:35:30

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: [Solved] PGP signature error when installing gcc-fortran

Don't recommend such rubbish, if there are outdated packages you will want to make a full system upgrade.

Offline

#5 2018-04-25 20:40:58

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [Solved] PGP signature error when installing gcc-fortran

JoshuaRLi wrote:

You don't need to perform an entire system upgrade in your case. Simply re-syncing the database will do the trick.

pacman -Sy

Congrats for being today's winner of the Partial upgrades are unsupported award...

Also note that you chose a truly terrible time to proclaim this rampant foolishness, as gcc in particular absolutely requires your versions of gcc-libs, gcc, gcc-fortran, and other frontends match.

Last edited by eschwartz (2018-04-25 20:44:12)


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB