You are not logged in.
Pages: 1
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 archlinuxI 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 -Syuit 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
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
https://wiki.archlinux.org/index.php/Pa … 9.22_error
Moving to NC...
Offline
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
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
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
Hmm.. maybe try a different mirror and run
pacman -Syu texlive-coreOffline
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
I had the same error yesterday but cleaning the cache and changing the mirror did fix it.
Maybe you try yet another mirror ?
Offline
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
the downloaded package is most likely okay but pacman couldn't verify it's signature
pacman-key --refresh-keysshould take care of your issue
Offline
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-keysas suggested in #11 work for me.
Offline
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
$ timedatectlEDIT: and
$ pacman-key -l remy@archlinux.orgLast 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
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
--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
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
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! ![]()
Offline
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.1The 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
hi
i was using this mirror:
## Score: 0.9, Germany
Server = http://mirror.hactar.bz/$repo/os/$archnow i use:
## Score: 1.7, Czech Republic
Server = http://gluttony.sin.cvut.cz/arch/$repo/os/$archi cleared cache with
pacman -Sccand now the texlive-core-2016.41471-1 package installs without problem.
thanx for help;)
Offline
Pages: 1