You are not logged in.

#1 2016-12-16 13:12:29

feklee
Member
Registered: 2015-04-03
Posts: 57
Website

[SOLVED] Cannot install udiskie

The problem:

~ $ sudo pacman -S udiskie
[sudo] password for wiwi:
resolving dependencies...
looking for conflicting packages...

Packages (1) udiskie-1.5.1-1

Total Installed Size:  0.79 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring 
[########################################################] 100%
(1/1) checking package integrity 
[########################################################] 100%
error: udiskie: signature from "Ambrevar <ambrevar@gmail.com>" is unknown trust
:: File /var/cache/pacman/pkg/udiskie-1.5.1-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.

I got the same or a similar error message before, when trying to upgrade the package. So I removed it.

What I tried already:

~ $ sudo pacman-key --refresh-keys
gpg: refreshing 2 keys from hkp://pool.sks-keyservers.net
gpg: key 9BDCF497A4BBCC7F: "Ambrevar <ambrevar@gmail.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

That didn't help, however.

Is there something else I can do to resolve the issue?

Last edited by feklee (2016-12-16 14:13:17)

Offline

#2 2016-12-16 13:18:35

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

Re: [SOLVED] Cannot install udiskie

What does

pacman-key --list-sigs Ambrevar

give you?

Offline

#3 2016-12-16 13:20:54

feklee
Member
Registered: 2015-04-03
Posts: 57
Website

Re: [SOLVED] Cannot install udiskie

~ $ pacman-key --list-sigs Ambrevar
gpg: Note: trustdb not writable
pub   rsa2048 2015-09-26 [SC] [expires: 2017-10-20]
      50F33E2E5B0C3D900424ABE89BDCF497A4BBCC7F
uid           [ unknown] Ambrevar <ambrevar@gmail.com>
sig 3        9BDCF497A4BBCC7F 2015-09-26  Ambrevar <ambrevar@gmail.com>
sig 3        9BDCF497A4BBCC7F 2015-10-20  Ambrevar <ambrevar@gmail.com>
sig 3        9BDCF497A4BBCC7F 2016-10-20  Ambrevar <ambrevar@gmail.com>
sig          5184252D824B18E8 2015-11-24  [User ID not found]
sig          3348882F6AC6A4C2 2015-12-06  [User ID not found]
sig          7EFD567D4C7EA887 2015-12-08  [User ID not found]
sig          BA1DFB64FFF979E7 2015-11-28  [User ID not found]
sig          A88E23E377514E00 2016-01-24  [User ID not found]
sub   rsa2048 2015-09-26 [E]
sig          9BDCF497A4BBCC7F 2015-09-26  Ambrevar <ambrevar@gmail.com>

Offline

#4 2016-12-16 13:30:43

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

Re: [SOLVED] Cannot install udiskie

Those listed as "User ID not found" are the master keys. Something is seriously wrong with your keyring. Blow it away and reinitialize it.

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

Offline

#5 2016-12-16 13:48:50

feklee
Member
Registered: 2015-04-03
Posts: 57
Website

Re: [SOLVED] Cannot install udiskie

Thanks, recreating the key ring solved the issue:

[root@t550 ~]# rm -fr /etc/pacman.d/gnupg
pacman-key --init
pacman-key --populate archlinux

Now udiskie installs without error:

~ $ sudo pacman -S udiskie
resolving dependencies...
looking for conflicting packages...

Packages (1) udiskie-1.5.1-1

Total Installed Size:  0.79 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
:: Processing package changes...
(1/1) installing udiskie                           [######################] 100%
Optional dependencies for udiskie
    udisks: optional for use with old backend [installed]
:: Running post-transaction hooks...
(1/1) Updating icon theme caches...

I had also changed the pacman mirror, but I don't think that should make a difference.

Offline

#6 2016-12-16 14:07:57

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

Re: [SOLVED] Cannot install udiskie

Please remember to mark your thread as solved by editing the first post and amending your topic title.


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