You are not logged in.

#1 2018-01-28 18:25:23

valgio
Member
Registered: 2017-11-30
Posts: 18

[SOLVED]Pacman failed: "invalid or corrupted package"

Hi everyone,
I'm Lorenzo and I installed arch-linux in dual boot. The installations went right and i chose KDE plasma 5 as desktop enviroment.  I installed vim, python, dialog, etc etc using pacman. But after I have launched KDE plasma 5 pacman stoped to work. In particular for chromium. This is the output:

Error: chromium: signature from "Evangelos Foutras <evangelos@foutrelis.com>" is invalid
:: File /var/cache/pacman/pkg/chromium-64.0.3282.119-1-x86_64.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.

In debug mode it said error 34:

error: chromium: signature from "Evangelos Foutras <evangelos@foutrelis.com>" is invalid
:: File /var/cache/pacman/pkg/chromium-64.0.3282.119-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
debug: returning error 34 from check_validity : invalid or corrupted package
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

I have read some articles about similar problems but nothing has worked.
What i did:
1- sudo hwclock -w (as it is written in the italian guide of pacman when this kind of problem occurs )
2- sudo pacman-key --refresh-keys

Obviously i still have the same problem
Thank a lot for everyone who will try to help me.
Sorry for my english.

Last edited by valgio (2018-01-29 09:23:43)

Offline

#2 2018-01-28 18:33:26

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

Re: [SOLVED]Pacman failed: "invalid or corrupted package"

That looks more like a simple bad download or bad mirror. Try a different mirror.

Online

#3 2018-01-28 18:33:31

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

Re: [SOLVED]Pacman failed: "invalid or corrupted package"

Please post the output of

pacman-key --list-keys evangelos@foutrelis.com

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

#4 2018-01-29 09:23:03

valgio
Member
Registered: 2017-11-30
Posts: 18

Re: [SOLVED]Pacman failed: "invalid or corrupted package"

Thank a lot for the tips.
I updated the mirrorlist file using rankmirror. Now it works.
Thank again

Offline

Board footer

Powered by FluxBB