You are not logged in.

#1 2015-10-12 14:07:14

arthurg
Member
Registered: 2015-09-05
Posts: 23

Problems downloading some programs

So, I was trying to install evince on my computer, but every time I tried to do so I got the following error

error: ghostscript: signature from "Andreas Radke <andyrtr@archlinux.org>" is invalid
:: File /var/cache/pacman/pkg/ghostscript-9.18-2-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).

I also notice I got this error (but with different package) when I tried to upgrade my system with 'sudo pacman -Su'.

I have read and tried the two solutions they have presented in this topic, but no luck:
https://bbs.archlinux.org/viewtopic.php?id=128885

Offline

#2 2015-10-12 14:53:56

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

Re: Problems downloading some programs

See https://wiki.archlinux.org/index.php/Pa … 9.22_error and https://wiki.archlinux.org/index.php/Pa … leshooting

Side note: you shouldn't be running -Su, you should be running -Syu. If -Su does anything, then you have probably been running a partially upgraded system, which is not supported.


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 2015-10-20 10:04:23

arthurg
Member
Registered: 2015-09-05
Posts: 23

Re: Problems downloading some programs

Ok, it's been a while, but now I can say I probably have tried everything in those two links, but I'm still getting errors when I do the command 'sudo pacman -Syu'

:: File /var/cache/pacman/pkg/util-linux-2.27-6-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (checksum)).
Do you want to delete it? [Y/n] 
:: File /var/cache/pacman/pkg/systemd-227-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (checksum)).
Do you want to delete it? [Y/n] 
:: File /var/cache/pacman/pkg/sqlite-3.9.1-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (checksum)).
Do you want to delete it? [Y/n] 
:: File /var/cache/pacman/pkg/libgweather-3.18.1-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (checksum)).
Do you want to delete it? [Y/n] 
:: File /var/cache/pacman/pkg/libnm-glib-1.0.7-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (checksum)).
Do you want to delete it? [Y/n] 
:: File /var/cache/pacman/pkg/gnome-settings-daemon-3.18.1-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (checksum)).
Do you want to delete it? [Y/n] 
:: File /var/cache/pacman/pkg/webkit2gtk-2.10.2-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (checksum)).
Do you want to delete it? [Y/n] 
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

I did set the keyserver to 

keyserver hkp://ipv4.pool.sks-keyservers.net:11371 

(I also tried all the other keyservers stated there.

My timezone is set correctly (In the link it states that if the system clock is wrong it would give this error).

I also altered the /etc/pacman.conf line (for this time only, I'm not gonna leave it like that) to

SigLevel = Never

Edit: Just another output

[arthurg@arthurg ~]$ timedatectl 
      Local time: Tue 2015-10-20 08:07:15 BRST
  Universal time: Tue 2015-10-20 10:07:15 UTC
        RTC time: Tue 2015-10-20 10:07:15
       Time zone: America/Sao_Paulo (BRST, -0200)
 Network time on: yes
NTP synchronized: yes
 RTC in local TZ: no

Last edited by arthurg (2015-10-20 10:08:11)

Offline

#4 2015-10-20 12:55:35

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: Problems downloading some programs

Try a different mirror.

Offline

#5 2015-10-20 13:44:25

arthurg
Member
Registered: 2015-09-05
Posts: 23

Re: Problems downloading some programs

Ok, so, I had all the mirror servers enabled in the /etc/pacman.d/mirrorlist file.
So I looked up the arch wiki page and followed the "sorting mirrors" section of this page: https://wiki.archlinux.org/index.php/Mirrors
Still no success.. =/
I also tried to enable only the http://arch.localmsp.org/arch/$repo/os/$arch mirror, but it also failed to work.
Getting the same errors as before.

mirrors enabled by rankmirrors:

Server = http://archlinux-br.mirror.host1plus.com/$repo/os/$arch
Server = http://archlinux.c3sl.ufpr.br/$repo/os/$arch
Server = http://archlinux.pop-es.rnp.br/$repo/os/$arch
Server = http://www.las.ic.unicamp.br/pub/archlinux/$repo/os/$arch
Server = http://linorg.usp.br/archlinux/$repo/os/$arch
Server = http://mirror.rackcentral.com.au/archlinux/$repo/os/$arch

Last edited by arthurg (2015-10-20 13:45:20)

Offline

#6 2015-10-21 12:38:01

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Problems downloading some programs

You did use "pacman -Syyu" after changing mirrors ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB