You are not logged in.

#1 2016-08-09 06:14:18

Hering
Member
Registered: 2016-05-26
Posts: 23

Signature invalid

Hello,
I am currently trying to update the archlinux on my laptop. But when I run

sudo pacman -Syu

it results in an error saying that the signature of one of the packages is corrupt. So I tried to update all the other packages only which did work so now it is only this one package left which does not want me to let it upgrade: texlive-core-2016.41471-1.
Here is what I tried so far:

sudo rm /var/cache/pacman/pkg/*
pacman -Sc
pacman -Syy
sudo rm -rf /etc/pacman.d/gnupg
sudo pacman-key --init
sudo pacman-key --populate archlinux

I also checked the bios time as well as the one in my system and all seem to be alright. But when I do a

sudo pacman -Syu

it results in this again:

sudo pacman -Syu
:: Synchronizing package databases... 
core is up to date 
extra is up to date 
community is up to date 
multilib is up to date 
:: Starting full system upgrade... 
resolving dependencies... 
looking for conflicting packages... 

Packages (1) texlive-core-2016.41471-1 

Total Download Size:   117.61 MiB 
Total Installed Size:  315.67 MiB 
Net Upgrade Size:       10.41 MiB 

:: Proceed with installation? [Y/n] Y 
:: Retrieving packages... 
texlive-core-2016.41471-1-any                                                117.6 MiB   703K/s 02:51 [-------------------------------------------------------------] 100% 
(1/1) checking keys in keyring                                                                         [-------------------------------------------------------------] 100% 
(1/1) checking package integrity                                                                       [-------------------------------------------------------------] 100% 
error: texlive-core: signature from "Rémy Oudompheng <remy@archlinux.org>" is invalid 
:: File /var/cache/pacman/pkg/texlive-core-2016.41471-1-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 (PGP signature)) 
Errors occurred, no packages were upgraded.

The same error happens when I try to download using ethernet, wifi, downloading the package from the repository manually or simply copying it from my desktop where it did work few days ago. So I dont really know what could cause the problem here.

Hope someone can help me.

Regards,
Marc

Last edited by Hering (2016-08-09 06:40:13)

Offline

#2 2016-08-09 06:26:34

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Signature invalid

Have you tried deleting /var/cache/pacman/pkg/texlive-core-2016.41471-1-any.pkg.tar.xz?

Alternatively, try removing the package and reinstalling it.

Offline

#3 2016-08-09 06:27:03

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Signature invalid


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2016-08-09 06:38:44

Hering
Member
Registered: 2016-05-26
Posts: 23

Re: Signature invalid

Yes, I did try to delete and install it again.. Unfortunately it did not work.
As you can see in my list above I cleared the whole cache directory so there should be no leftovers.
And as stated above I also tried to copy it from a working machine and downloaded it manually from the repository but the same error appears.

Last edited by Hering (2016-08-09 06:42:31)

Offline

#5 2016-08-09 06:42:35

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Signature invalid

Hering wrote:

Yes, I did try to delete and install it again.. Unfortunately it did not work.
As you can see in my list above I cleared the whole cache directory so there should be no leftovers.

I don't see where you cleared the whole cache directory.

Offline

#6 2016-08-09 06:49:11

Hering
Member
Registered: 2016-05-26
Posts: 23

Re: Signature invalid

sudo rm /var/cache/pacman/pkg/*

should have cleared it.
I just tried it again and it gives me the same error:

sudo pacman -S texlive-core
resolving dependencies...
looking for conflicting packages...

Packages (7) libsigsegv-2.10-2  libsynctex-2016.41290-5  potrace-1.13-1  t1lib-5.1.2-5  texlive-bin-2016.41290-5  zziplib-0.13.62-2  texlive-core-2016.41471-1

Total Download Size:   127.79 MiB
Total Installed Size:  356.84 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
 t1lib-5.1.2-5-x86_64                                                         648.9 KiB   723K/s 00:01 [-------------------------------------------------------------] 100%
 libsigsegv-2.10-2-x86_64                                                       7.9 KiB   792K/s 00:00 [-------------------------------------------------------------] 100%
 zziplib-0.13.62-2-x86_64                                                      96.4 KiB   765K/s 00:00 [-------------------------------------------------------------] 100%
 potrace-1.13-1-x86_64                                                         83.1 KiB   755K/s 00:00 [-------------------------------------------------------------] 100%
 libsynctex-2016.41290-5-x86_64                                                34.9 KiB   758K/s 00:00 [-------------------------------------------------------------] 100%
 texlive-bin-2016.41290-5-x86_64                                                9.3 MiB   739K/s 00:13 [-------------------------------------------------------------] 100%
 texlive-core-2016.41471-1-any                                                117.6 MiB   694K/s 02:53 [-------------------------------------------------------------] 100%
(7/7) checking keys in keyring                                                                         [-------------------------------------------------------------] 100%
(7/7) checking package integrity                                                                       [-------------------------------------------------------------] 100%
error: texlive-core: signature from "Rémy Oudompheng <remy@archlinux.org>" is invalid
:: File /var/cache/pacman/pkg/texlive-core-2016.41471-1-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 (PGP signature))
Errors occurred, no packages were upgraded.

Last edited by Hering (2016-08-09 06:51:10)

Offline

#7 2016-08-09 06:52:28

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Signature invalid

Hmm.. maybe try a different mirror and run

pacman -Syu texlive-core

Offline

#8 2016-08-09 07:05:37

Hering
Member
Registered: 2016-05-26
Posts: 23

Re: Signature invalid

Same error... I tried mirror from another country as well...
I might try to download it from the source and build it myself. Really have no clue what might cause the problem.

Offline

#9 2016-08-09 08:34:47

iroha
Member
From: Berlin
Registered: 2014-03-17
Posts: 8

Re: Signature invalid

I had the same error yesterday but cleaning the cache and changing the mirror did fix it.
Maybe you try yet another mirror ?

Offline

#10 2016-08-09 08:47:33

Hering
Member
Registered: 2016-05-26
Posts: 23

Re: Signature invalid

Yes I did try different mirrors, from my country as well as another one just for testing purpose. I solved it now by building it myself.. Not really the solution I wanted but atleast it works now. Next time there is an update I will try it again and see if it works then.

Offline

#11 2016-08-09 09:23:27

the_shiver
Member
Registered: 2013-03-27
Posts: 130

Re: Signature invalid

the downloaded package is most likely okay but pacman couldn't verify it's signature

pacman-key --refresh-keys

should take care of your issue

Offline

#12 2016-08-09 14:43:48

severin
Member
Registered: 2016-08-09
Posts: 1

Re: Signature invalid

I am not the OP, but I am having the same problem. Neither

find /var/cache/pacman/pkg/ -iname "*.part"

as suggested in #3 nor

pacman-key --refresh-keys

as suggested in #11 work for me.

Offline

#13 2016-08-09 17:00:43

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

Re: Signature invalid

I think Jason linked to the wrong section in #3, the problem is that the signature is invalid, not the package. See https://wiki.archlinux.org/index.php/Pa … ion_failed instead.

If fixing your system time doesn't help, please post the output of

$ timedatectl

EDIT: and

$ pacman-key -l remy@archlinux.org

Last edited by WorMzy (2016-08-09 17:04:21)


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

#14 2016-08-09 21:29:38

quandasim
Member
Registered: 2015-03-05
Posts: 5

Re: Signature invalid

hello, i have same problem

[quandasim@magi ~]$ timedatectl
      Local time: Tue 2016-08-09 23:26:44 CEST
  Universal time: Tue 2016-08-09 21:26:44 UTC
        RTC time: Tue 2016-08-09 21:26:44
       Time zone: Europe/Prague (CEST, +0200)
 Network time on: no
NTP synchronized: yes
 RTC in local TZ: no
[quandasim@magi ~]$ pacman-key -l remy@archlinux.org
gpg: Note: trustdb not writable
pub   rsa4096 2011-02-16 [SC]
      44EA62ACDBC81B6A0D1FD267206CBC892D1493D2
uid           [  full  ] Rémy Oudompheng <remy@archlinux.org>
uid           [  full  ] Rémy Oudompheng <oudomphe@phare.normalesup.org>
sub   rsa4096 2011-02-16 [E]

[quandasim@magi ~]$ 

Offline

#15 2016-08-10 09:44:25

thomitho
Member
Registered: 2016-08-10
Posts: 2

Re: Signature invalid

--I have the same issue. I tried all the things mentioned here.

➜  ~ timedatectl 
      Local time: Wed 2016-08-10 11:43:50 CEST
  Universal time: Wed 2016-08-10 09:43:50 UTC
        RTC time: Wed 2016-08-10 09:43:50
       Time zone: Europe/Berlin (CEST, +0200)
 Network time on: no
NTP synchronized: yes
 RTC in local TZ: no
➜  ~ pacman-key -l remy@archlinux.org
gpg: Note: trustdb not writable
pub   rsa4096 2011-02-16 [SC]
      44EA62ACDBC81B6A0D1FD267206CBC892D1493D2
uid           [  full  ] Rémy Oudompheng <remy@archlinux.org>
uid           [  full  ] Rémy Oudompheng <oudomphe@phare.normalesup.org>
sub   rsa4096 2011-02-16 [E]

Offline

#16 2016-08-10 09:57:37

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

Re: Signature invalid

Can you download http://seblu.net/a/archive/packages/t/t … tar.xz.sig, put it and the texlive-core-2016.41471-1-any.pkg.tar.xz file from /var/cache/pacman/pkg in the same directory, then run 'pacman-key -v tzdata-2016f-1-any.pkg.tar.xz.sig' from that directory.

Also please share which mirror you are using.


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

#17 2016-08-10 11:10:25

thomitho
Member
Registered: 2016-08-10
Posts: 2

Re: Signature invalid

woops, I tried some more mirrors. After clearing the package cache and enable this mirror http://ftp.sh.cvut.cz/arch/$repo/os/$arch it worked out for me. Sorry I'm still very new. Thank you! smile

Offline

#18 2016-08-10 14:54:27

king.flasher.dave
Member
From: Berlin
Registered: 2008-11-25
Posts: 140
Website

Re: Signature invalid

I had the same issue with texlive-core.
It seems that the package in /var/cache/pacman/pkg was broken, but got downloaded broken all over again, when deleted and retried.
Choosing a different mirror fixed it.

78f3342448d30fce8c7ecf8aeb03bf665d8d3e1b278bee15881a53e220f5794cb673f45e2b65eba55f9f46214130f4a162496f4d9908d50dfb21e44aaef7f1df  texlive-core-2016.41471-1-any.pkg.tar.xz
a53ce435709bf998998cd60d3c6bccd9886d3deb635143ec4b19ac273e903309b76cf2c7f45588a3dd934fbc82fbfb165a39d462555e67664ae38c12cf4d030b  texlive-core-2016.41471-1-any.pkg.tar.xz.1

The first one is from /var/cache/pacman/pkg, the latter from a randomly chosen mirror from the website.
After downloading the package from the now commented mirrors (I thought were faulty), none of them where any different from the randomly chosen mirror.

My timedatectl/hwclock settings are all correct.
Kind of a weird issue, as this doesn't seem to be related to time settings, but rather pacman downloading a corrupted file or corrupting it somehow.


Speak when you are angry and you will make the best speech you'll ever regret.

Offline

#19 2016-08-10 15:43:20

quandasim
Member
Registered: 2015-03-05
Posts: 5

Re: Signature invalid

hi
i was using this mirror:

## Score: 0.9, Germany
Server = http://mirror.hactar.bz/$repo/os/$arch

now i use:

## Score: 1.7, Czech Republic
Server = http://gluttony.sin.cvut.cz/arch/$repo/os/$arch

i cleared cache with

pacman -Scc

and now the texlive-core-2016.41471-1 package installs without problem.

thanx for help;)

Offline

Board footer

Powered by FluxBB