You are not logged in.
Hi,
I am setting up a mail server and while trying to install the spamassassin package I encountered the following error:
$ sudo pacman -S spamassassin
resolving dependencies...
looking for conflicting packages...
...
<irrelevant output omitted>
...
Total Download Size: 0.35 MiB
Total Installed Size: 8.31 MiB
:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
perl-net-ssleay-1.74-1-x86_64 6.3 KiB 906K/s 00:00 [#########################################################################] 100%
perl-io-socket-ssl-2.027-1-any 6.3 KiB 906K/s 00:00 [#########################################################################] 100%
perl-path-class-0.36-1-any 6.3 KiB 634K/s 00:00 [#########################################################################] 100%
(38/38) checking keys in keyring [#########################################################################] 100%
(38/38) checking package integrity [#########################################################################] 100%
error: perl-net-ssleay: signature from "Antonio Rojas <arojas@archlinux.org>" is invalid
:: File /var/cache/pacman/pkg/perl-net-ssleay-1.74-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: perl-io-socket-ssl: signature from "Antonio Rojas <arojas@archlinux.org>" is invalid
:: File /var/cache/pacman/pkg/perl-io-socket-ssl-2.027-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: perl-path-class: signature from "Sergej Pupykin <arch@sergej.pp.ru>" is invalid
:: File /var/cache/pacman/pkg/perl-path-class-0.36-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)
Errors occurred, no packages were upgraded.
I tried to follow the instructions here in order to refresh the pacman keys.
https://bbs.archlinux.org/viewtopic.php … 3#p1573233
I am also able to install other packages without problem. Any ideas of what might be wrong? I begin to suspect that something in the repositories is broken.
Thanks.
Last edited by rixz (2016-11-01 10:28:05)
Big is a matter of perspective.
Remember this, when facing the mountains of the mind.
Offline
The advice in that thread is a bit overkill -- you shouldn't need to run pacman-key --init unless there's something very wrong with your pacman-key (e.g. damaged due to filesystem corruption).
Have you made sure your system time is correct?
Mod note: Moving to pacman issues.
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
The time is correct.
This is a VM and it pulls the time from the hypervisor which pulls the time from public NTPs.
At this moment I thought of installing the ntp package just to be sure. But I am even unable to do that too. I tried adjusting the settings in `/etc/pacman.conf`, `SigLevel = TrustAll` but it still gives the same error.
Any sugestions?
Last edited by rixz (2016-10-13 12:52:08)
Big is a matter of perspective.
Remember this, when facing the mountains of the mind.
Offline
The problem was that the previous day I commented out some of the pacman repos in /etc/pacman.conf as I thought that that will speed up the updates and installations.
Big is a matter of perspective.
Remember this, when facing the mountains of the mind.
Offline
Not a good idea...
Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Offline