You are not logged in.

#1 2012-09-19 04:56:56

samsungfilament
Member
Registered: 2012-09-19
Posts: 3

Cannot install packages during Arch install - key-signing

Hello everyone,

I can't seem to install any packages successfully as I attempt to install Arch, and I've tried all suggested solutions I've come across online.

If I run pacstrap /mnt base base-devel, I receive 'signature from XXX is invalid', and nothing is installed.  This is despite already having run pacman-key --init, pacman-key --populate archlinux, and pacman-key --refresh keys.

If I instead disable the check by setting SigLevel = Never in pacman.conf , I'm told the packages are corrupted, the checksum failed, and nothing is installed.

I tried clearing the cache and changing mirrors as suggested in this thread, but nothing changed.

Offline

#2 2012-09-19 07:18:38

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: Cannot install packages during Arch install - key-signing

Are you using the latest official installer?

Offline

#3 2012-09-19 16:28:20

samsungfilament
Member
Registered: 2012-09-19
Posts: 3

Re: Cannot install packages during Arch install - key-signing

I'm using the latest .iso, 2012.09.07, written to a flashdrive with dd.  My understanding was that there's no longer an installer; I was following the instructions in /root/install.txt supplemented by the Beginner's Guide.

Offline

#4 2012-09-20 00:08:07

samsungfilament
Member
Registered: 2012-09-19
Posts: 3

Re: Cannot install packages during Arch install - key-signing

The specific packages involved are: glibc, coreutils, glib2, gettext, perl, linux-firmware, linux, texinfo, man-pages, xfsprogs, binutils, flex, gcc

The developers with 'bad' signatures are: Allan Mcrae, Dave Reisner, Jan Alexander Steffens, Tobias Powalowski, Florian Pritz, Thomas Bachler, Andreas Radke, Tom Gundersen

Offline

#5 2012-09-20 02:57:14

ajaykumar
Member
From: India
Registered: 2010-08-04
Posts: 34
Website

Re: Cannot install packages during Arch install - key-signing

Hi samsungfilament,

Better disable signature verification and install it.. May be the .sig files you have got must be corrupt (or thats what I guess).

With regards,
Ajay Kumar G


With regards,
Ajay Kumar G
Nanos Gigantum Humeris Insidentis

Offline

#6 2012-09-20 14:26:58

mrlithid
Member
Registered: 2012-01-07
Posts: 12

Re: Cannot install packages during Arch install - key-signing

I had this issue the other day when trying to install gimp. I couldn't figure out why I kept getting the error. I removed the complaining packages from pacman cache then resynced my keys and all ways well.

[lithid@ArchLinux ~]$ sudo pacman -S gimp
resolving dependencies...
looking for inter-conflicts...

Targets (6): babl-0.1.10-1  gegl-0.2.0-3  gsfonts-1.0.7pre44-3  lcms-1.19-2  libwmf-0.2.8.4-9  gimp-2.8.2-1

Total Installed Size:   79.29 MiB

Proceed with installation? [Y/n] y
(6/6) checking package integrity                                                                   [##########################################################] 100%
error: lcms: signature from "Eric Belanger <eric@archlinux.org>" is invalid
error: gsfonts: signature from "Gaetan Bisson <gaetan.bisson@normalesup.org>" is invalid
error: libwmf: signature from "Eric Belanger <eric@archlinux.org>" is invalid
error: babl: signature from "Eric Belanger <eric@archlinux.org>" is invalid
error: gegl: signature from "Daniel Isenmann <daniel@archlinux.org>" is invalid
error: gimp: signature from "Daniel Isenmann <daniel@archlinux.org>" is invalid
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.

What I ran:

for x in glibc coreutils glib2 gettext perl linux-firmware linux texinfo man-pages xfsprogs binutils flex gcc
do
    F=$(ls /var/cache/pacman/pkg/ |grep $x)
    if [ -f /var/cache/pacman/pkg/${F} ]
    then
        rm /var/cache/pacman/pkg/${F}
     fi
done
sudo pacman-key --refresh-keys
sudo pacman -Syy; sudo pacman -Su

Then I was able to re-download the needed packages and made sure my keys were updated. I hope this helps.

[lithid@ArchLinux pkg]$ sudo pacman -S gimp
resolving dependencies...
looking for inter-conflicts...

Targets (6): babl-0.1.10-1  gegl-0.2.0-3  gsfonts-1.0.7pre44-3  lcms-1.19-2
             libwmf-0.2.8.4-9  gimp-2.8.2-1

Total Download Size:    15.24 MiB
Total Installed Size:   79.29 MiB

Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
 lcms-1.19-2-x86_64           180.8 KiB   461K/s 00:00 [#############################] 100%
 gsfonts-1.0.7pre44-3-any       3.0 MiB   683K/s 00:04 [#############################] 100%
 libwmf-0.2.8.4-9-x86_64      217.5 KiB   752K/s 00:00 [#############################] 100%
 babl-0.1.10-1-x86_64          65.6 KiB   707K/s 00:00 [#############################] 100%
 gegl-0.2.0-3-x86_64          417.0 KiB   725K/s 00:01 [#############################] 100%
 gimp-2.8.2-1-x86_64           11.4 MiB   698K/s 00:17 [#############################] 100%
(6/6) checking package integrity                       [#############################] 100%
(6/6) loading package files                            [#############################] 100%
(6/6) checking for file conflicts                      [#############################] 100%
(6/6) checking available disk space                    [#############################] 100%
(1/6) installing lcms                                  [#############################] 100%
(2/6) installing gsfonts                               [#############################] 100%
Updating font cache... done.
(3/6) installing libwmf                                [#############################] 100%
Optional dependencies for libwmf
    gdk-pixbuf2: for pixbuf loader
(4/6) installing babl                                  [#############################] 100%
(5/6) installing gegl                                  [#############################] 100%
Optional dependencies for gegl
    openexr: for using the openexr plugin
    ffmpeg: for using the ffmpeg plugin
    librsvg: for using the svg plugin
    jasper: for using the jasper plugin
(6/6) installing gimp                                  [#############################] 100%
Optional dependencies for gimp
    gutenprint: for sophisticated printing only as gimp has built-in cups print support
    libwebkit: for the help browser
    poppler-glib: for pdf support
    alsa-lib: for MIDI event controller module
    curl: for URI support
    ghostscript: for postscript support

What caused my issue was a flaky network connection. I hope you are able to resolve your issue.

Last edited by mrlithid (2012-09-20 14:28:40)

Offline

#7 2012-10-24 20:44:24

clvn
Member
From: Norway
Registered: 2008-08-31
Posts: 20
Website

Re: Cannot install packages during Arch install - key-signing

I just had the same problem with "archlinux-2012.10.06-dual.iso" as you did. Ran the following commands, and the issue was resolved.

pacman-key --init
pacman-key --populate archlinux

Don't know if both are necessary :]

Offline

Board footer

Powered by FluxBB