You are not logged in.

#1 2016-10-13 12:17:50

rixz
Member
Registered: 2015-07-25
Posts: 14
Website

[SOLVED] Spamassassin install problem

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

#2 2016-10-13 12:21:44

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,858
Website

Re: [SOLVED] Spamassassin install problem

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

#3 2016-10-13 12:50:45

rixz
Member
Registered: 2015-07-25
Posts: 14
Website

Re: [SOLVED] Spamassassin install problem

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

#4 2016-11-01 00:19:22

rixz
Member
Registered: 2015-07-25
Posts: 14
Website

Re: [SOLVED] Spamassassin install problem

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

#5 2016-11-01 00:41:14

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

Re: [SOLVED] Spamassassin install problem

Not a good idea...

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB