You are not logged in.

#1 2020-10-26 07:34:10

zw963
Member
Registered: 2018-06-18
Posts: 208

[Solved] Get signature error when install python-pip after pacman -Syu

╰─ $ pacman -S python-pip
resolving dependencies...
looking for conflicting packages...

Packages (12) python-cachecontrol-0.12.6-1  python-colorama-0.4.4-1  python-contextlib2-0.6.0.post1-1  python-distlib-0.3.1-1  python-html5lib-1.1-1
              python-msgpack-1.0.0-1  python-pep517-0.8.2-1  python-progress-1.5-3  python-resolvelib-0.4.0-1  python-retrying-1.3.3-7
              python-webencodings-0.5.1-4  python-pip-20.1.1-1

Total Installed Size:  4.70 MiB

:: Proceed with installation? [Y/n] y
(12/12) checking keys in keyring                                                               [########################################################] 100%
(12/12) checking package integrity                                                             [########################################################] 100%
error: python-cachecontrol: signature from "Eli Schwartz <eschwartz@archlinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/python-cachecontrol-0.12.6-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: python-distlib: signature from "Eli Schwartz <eschwartz@archlinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/python-distlib-0.3.1-1-any.pkg.tar.zst 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.

Last edited by zw963 (2020-12-25 16:48:53)

Offline

#2 2020-10-26 08:03:30

seth
Member
Registered: 2012-09-03
Posts: 57,267

Re: [Solved] Get signature error when install python-pip after pacman -Syu

https://wiki.archlinux.org/index.php/Pa … nown_trust

Are you maybe conduction a partial update (ie. you ran "pacman -Sy" but not "-u" and are now trying to install a single package)?

Offline

#3 2020-10-26 08:43:24

zw963
Member
Registered: 2018-06-18
Posts: 208

Re: [Solved] Get signature error when install python-pip after pacman -Syu

seth wrote:

https://wiki.archlinux.org/index.php/Pa … nown_trust

Are you maybe conduction a partial update (ie. you ran "pacman -Sy" but not "-u" and are now trying to install a single package)?

In fact, I remove all files in /var/cache/pacman, and retry it,still get same issue.
And, i can install another package successful too,

So, how to fix that?

Offline

#4 2020-10-26 08:50:15

seth
Member
Registered: 2012-09-03
Posts: 57,267

Re: [Solved] Get signature error when install python-pip after pacman -Syu

You're not reading the proper section of the wiki…

Offline

#5 2020-10-27 11:25:56

zw963
Member
Registered: 2018-06-18
Posts: 208

Re: [Solved] Get signature error when install python-pip after pacman -Syu

seth wrote:

You're not reading the proper section of the wiki…

Thank you very much, resetting all the key is working.

Resetting all the keys

If you want to remove or reset all the keys installed in your system, you can remove /etc/pacman.d/gnupg folder as root and rerun pacman-key --init followed by pacman-key --populate archlinux to re-add the default keys.

Offline

#6 2021-01-13 06:55:07

ncoma
Member
Registered: 2021-01-13
Posts: 1

Re: [Solved] Get signature error when install python-pip after pacman -Syu

Had the same issue, resetting all the keys worked for me too.

1. sudo rm /etc/pacman.d/gnupg -r
2. pacman-key --init
3. pacman-key --populate archlinux

Offline

#7 2021-03-21 07:11:30

abheyogy
Member
Registered: 2021-01-28
Posts: 1

Re: [Solved] Get signature error when install python-pip after pacman -Syu

Resetting all the keys works for me too.

Offline

#8 2021-03-21 11:41:39

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,331
Website

Re: [Solved] Get signature error when install python-pip after pacman -Syu

Mod note: That's more than enough empty posts. Closing.


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

Board footer

Powered by FluxBB