You are not logged in.

#1 2012-01-26 06:53:33

Skipper_the_eye_child
Member
Registered: 2011-09-15
Posts: 27

Circular: can't install libusb-compat for `pacman-key --init` [SOLVED]

So like a lot of people on here have upgraded to pacman 4.

I can't run `pacman-key --init` to update the keyring:

[stuart@myhost ~]$ sudo pacman-key --init
Password: 
gpg: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory
chmod: cannot access `/etc/pacman.d/gnupg/trustdb.gpg': No such file or directory
gpg: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory
gpg: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory
==> Updating trust database...
gpg: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory

And because of signature issues can't install libusb-compat:

[stuart@myhost ~]$ sudo pacman -S libusb-compat
Password: 
resolving dependencies...
looking for inter-conflicts...

Targets (1): libusb-compat-0.1.3-2

Total Installed Size:   0.06 MiB
Net Upgrade Size:       -0.02 MiB

Proceed with installation? [Y/n] y
(1/1) checking package integrity                   [######################] 100%
warning: Public keyring not found; have you run 'pacman-key --init'?
error: GPGME error: Invalid crypto engine
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.

Last edited by Skipper_the_eye_child (2012-01-26 19:24:00)

Offline

#2 2012-01-26 11:22:09

llawwehttam
Member
From: United Kingdom
Registered: 2010-01-19
Posts: 181

Re: Circular: can't install libusb-compat for `pacman-key --init` [SOLVED]

Change siglevel to never in your pacman.conf, install libusb-compact, change your pacman.conf back, then try again.

Offline

#3 2012-01-26 19:22:34

Skipper_the_eye_child
Member
Registered: 2011-09-15
Posts: 27

Re: Circular: can't install libusb-compat for `pacman-key --init` [SOLVED]

That worked - thanks. It'd have helped had I remembered to write over pacman.conf of course! I've not done any mainentance for while, got a little rusty i'm afraid.

Last edited by Skipper_the_eye_child (2012-04-11 14:02:52)

Offline

Board footer

Powered by FluxBB