You are not logged in.

#1 2017-05-13 11:34:01

BlackAc3
Member
Registered: 2017-05-13
Posts: 20

[Solved] Pacman -S or pacman -Syu Signature error.

Hi Guys, I am new to Arch.
When I tried to download package with pacman, I always get error: iana-etc: signature from "xxx" is invalid
:: File /var/cache/pacman/pkg/xxx.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).

I read the forum some suggested to update the system which I got the same error too.
I tried to update the keyring but I get the same error afterward.

Besides, may I know where I can get resources to learn and master the art of Arch ?

Thank you in advance to those who help me.

Regards,
Ac3

[bold] SOLUTION [/bold]

sudo pacman -Syy
sudo pacman -S gnupg
sudo pacman-key --populate archlinux
sudo pacman-key --refresh-keys
sudo pacman -Syyu

Last edited by BlackAc3 (2017-05-13 21:55:13)

Offline

#2 2017-05-13 12:14:50

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,723
Website

Re: [Solved] Pacman -S or pacman -Syu Signature error.

Besides, may I know where I can get resources to learn and master the art of Arch ?

The Arch Wiki.

https://wiki.archlinux.org/index.php/Pa … ion_failed


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2017-05-13 12:40:40

BlackAc3
Member
Registered: 2017-05-13
Posts: 20

Re: [Solved] Pacman -S or pacman -Syu Signature error.

I tried to remove gnu directory and reinit the key after upgrade the keyring.
But the problem still here ><

Offline

#4 2017-05-13 12:42:06

BlackAc3
Member
Registered: 2017-05-13
Posts: 20

Re: [Solved] Pacman -S or pacman -Syu Signature error.

I checked my time, it is correct ><

Offline

#5 2017-05-13 12:51:38

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,546
Website

Re: [Solved] Pacman -S or pacman -Syu Signature error.

Please post the full/exact output in code tags.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2017-05-13 13:01:01

BlackAc3
Member
Registered: 2017-05-13
Posts: 20

Re: [Solved] Pacman -S or pacman -Syu Signature error.

Trilby wrote:

Please post the full/exact output in code tags.

 # pacman -Syu
:: Synchronizing package databases...
 core is up to date         0.0   B  0.00B/s 00:00 [----------------------]   0%
 extra is up to date        0.0   B  0.00B/s 00:00 [----------------------]   0%
 community is up to date    0.0   B  0.00B/s 00:00 [----------------------]   0%
 multilib is up to date     0.0   B  0.00B/s 00:00 [----------------------]   0%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: freetype2 will be installed before its harfbuzz dependency

Packages (104) aisleriot-3.22.2-1  at-spi2-atk-2.24.1-1  at-spi2-core-2.24.1-1
               bluez-5.45-1  bluez-libs-5.45-1  curl-7.54.0-3
               device-mapper-2.02.171-1  epiphany-3.24.2-1  evolution-3.24.2-1
               evolution-data-server-3.24.2-1  faac-1.28-5  flex-2.6.4-1
               freetype2-2.7.1-2  gdm-3.24.2-1  geoip-1.6.10-1
               geoip-database-20170502-1  ghostscript-9.21-2  git-2.13.0-1
               gjs-1.48.3-1  gnome-builder-3.24.2-1  gnome-calendar-3.24.2-1
               gnome-control-center-3.24.2-1  gnome-desktop-1:3.24.2-1
               gnome-disk-utility-3.24.1-1  gnome-documents-3.24.2-1
               gnome-getting-started-docs-3.24.1-1
               gnome-keyring-1:3.20.0+57+g9db67ef6-1  gnome-maps-3.24.2-1
               gnome-music-3.24.2-1  gnome-photos-3.24.2-1
               gnome-settings-daemon-3.24.2-1  gnome-shell-3.24.2-1
               gnome-shell-extensions-3.24.2-1  gnome-terminal-3.24.2-1
               gnome-todo-3.24.1-1  gnome-user-docs-3.24.2-1  gnupg-2.1.20-2
               graphite-1:1.3.10-1  gst-plugins-bad-1.12.0-1
               gst-plugins-base-1.12.0-1  gst-plugins-base-libs-1.12.0-1
               gst-plugins-good-1.12.0-1  gstreamer-1.12.0-1
               gtk-update-icon-cache-3.22.15-1  gtk3-3.22.15-1
               gtk3-print-backends-3.22.15-1  gucharmap-9.0.4-1  guile-2.2.2-1
               harfbuzz-1.4.6-1  harfbuzz-icu-1.4.6-1  iana-etc-20170426-1
               iproute2-4.11.0-1  ladspa-1.13-6  libcanberra-0.30+2+gc0620e4-1
               libcanberra-pulse-0.30+2+gc0620e4-1
               libcdio-paranoia-10.2+0.94+1-2  libdc1394-2.2.5-1
               libevdev-1.5.7-1  libfdk-aac-0.1.5-1  libgdm-3.24.2-1
               libgphoto2-2.5.13-1  libinput-1.7.2-1  libmp4v2-2.0.0-4
               libnewt-0.52.20-1  libnghttp2-1.22.0-1  libnm-1.8.0-1
               libnm-glib-1.8.0-1  libplist-2.0.0-1  libproxy-0.4.15-1
               libsoup-2.58.1-1  libtirpc-1.0.1-3  libunwind-1.2-1
               licenses-20140629-2  linux-4.10.13-1  linux-headers-4.10.13-1
               linux-lts-4.9.27-1  linux-lts-headers-4.9.27-1  lvm2-2.02.171-1
               man-pages-4.11-1  mutter-3.24.2-1  nano-2.8.2-1
               ncurses-6.0+20170429-1  networkmanager-1.8.0-1
               nm-connection-editor-1.8.0-1  openal-1.17.2-2
               orc-0.4.26+2+g249c709-1  os-prober-1.75-1  putty-0.69-1
               python-urllib3-1.21.1-1  soundtouch-1.9.2-1  spandsp-0.0.6-1
               tslib-1.10-1  v4l-utils-1.12.5-1  vala-0.36.3-1
               virtualbox-5.1.22-2  virtualbox-host-dkms-5.1.22-2
               vte-common-0.48.3-1  vte3-0.48.3-1  vulkan-icd-loader-1.0.46.0-1
               webkit2gtk-2.16.2-1  wildmidi-0.4.1-1  xdg-utils-1.1.2-1
               xf86-input-libinput-0.25.1-1  xorg-xkbcomp-1.4.0-1

Total Installed Size:  1184.84 MiB
Net Upgrade Size:         6.54 MiB

:: Proceed with installation? [Y/n] y
(104/104) checking keys in keyring                 [######################] 100%
(104/104) checking package integrity               [######################] 100%
error: iana-etc: signature from "Gaetan Bisson <gaetan@fenua.org>" is invalid
:: File /var/cache/pacman/pkg/iana-etc-20170426-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 

Offline

#7 2017-05-13 13:19:01

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,723
Website

Re: [Solved] Pacman -S or pacman -Syu Signature error.

I checked my time, it is correct ><

Just to make sure, please post the output of 'timedatectl'.

This error is sometime caused by a faulty mirror, so try switching to a different one.

https://wiki.archlinux.org/index.php/Mi … fic_mirror


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#8 2017-05-13 13:36:32

BlackAc3
Member
Registered: 2017-05-13
Posts: 20

Re: [Solved] Pacman -S or pacman -Syu Signature error.

WorMzy wrote:

I checked my time, it is correct ><

Just to make sure, please post the output of 'timedatectl'.

This error is sometime caused by a faulty mirror, so try switching to a different one.

https://wiki.archlinux.org/index.php/Mi … fic_mirror


here :

 # timedatectl
      Local time: Sat 2017-05-13 21:36:10 +08
  Universal time: Sat 2017-05-13 13:36:10 UTC
        RTC time: Sat 2017-05-13 13:36:10
       Time zone: Asia/Kuala_Lumpur (+08, +0800)
 Network time on: yes
NTP synchronized: yes
 RTC in local TZ: no

Offline

#9 2017-05-13 13:39:03

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,546
Website

Re: [Solved] Pacman -S or pacman -Syu Signature error.

Did you say "Y" at the "Y/n" prompt?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#10 2017-05-13 14:05:32

BlackAc3
Member
Registered: 2017-05-13
Posts: 20

Re: [Solved] Pacman -S or pacman -Syu Signature error.

Trilby wrote:

Did you say "Y" at the "Y/n" prompt?

I tried to delete package, it will remove all and say nothing upgrade. If i rerun the command it will redownload again then repeat the same thing

Offline

Board footer

Powered by FluxBB