You are not logged in.

#1 2017-09-26 07:46:33

avneesh
Member
Registered: 2017-07-19
Posts: 62

Failed to install libcap[SOLVED]

When I was installing arch on my laptop after downloading of base I got this any idea?

downloading required keys...
:: Import PGP key 4096R/B81B051F2Dxxxx72D77A, "Seblu <seblu@seblu.net>", created 2011-11-11 [y/n]
(131/131) checking package integrity:
error: libcap : signature from "Anatol Pomozov <Anatole.pomozov@gmail.com> is unknown trust.
:: File /mnt/car/cache/Pacman/pkg/libcap 2.25-1-x86_64.pkg.tar.xz is currupted (invalid or currupted package (PGP Signature))
Do you want to delete it [y/n]
error: libcap-ng : signature from "Anatol Pomozov <Anatole.pomozov@gmail.com> is unknown trust.
:: File /mnt/car/cache/Pacman/pkg/libcap-ng 0.7-1.8-x86_64.pkg.tar.xz is currupted (invalid or currupted package (PGP Signature))
Do you want to delete it [y/n]
error: libaio : signature from "Anatol Pomozov <Anatole.pomozov@gmail.com> is unknown trust.
:: File /mnt/car/cache/Pacman/pkg/libaio 0.3.110-1-x86_64.pkg.tar.xz is currupted (invalid or currupted package (PGP Signature))
Do you want to delete it [y/n]
error: failed to commit transaction (invalid or currupted package)
error occured no packages were upgraded
==>ERROR: failed to install packages to new root
pacstrap /mnt base 4.00 s user 7.11s system 2% cpu 9:00.76 total

All I had to do is run pacman-key --refresh-keys to solve the problem.

Last edited by avneesh (2017-09-26 11:01:53)

Offline

#2 2017-09-26 08:05:23

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

Re: Failed to install libcap[SOLVED]

You're using an old ISO. Either update it, update the archlinux-keyring package on the ISO, or refresh the keyring.

Online

#3 2017-09-26 08:19:41

avneesh
Member
Registered: 2017-07-19
Posts: 62

Re: Failed to install libcap[SOLVED]

Scimmia wrote:

You're using an old ISO. Either update it, update the archlinux-keyring package on the ISO, or refresh the keyring.

How to do I update archlinux-keyring?

Offline

#4 2017-09-26 08:25:24

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

Re: Failed to install libcap[SOLVED]

Go to the pacman wiki page, search for 'unknown trust', follow the instructions.


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

#5 2017-09-26 08:27:50

avneesh
Member
Registered: 2017-07-19
Posts: 62

Re: Failed to install libcap[SOLVED]

WorMzy wrote:

Go to the pacman wiki page, search for 'unknown trust', follow the instructions.

pacman-key --refresh-keys?

Offline

#6 2017-09-26 08:49:22

adesh
Member
Registered: 2016-10-05
Posts: 167

Re: Failed to install libcap[SOLVED]

Read carefully. Your problem is listed right there.
https://wiki.archlinux.org/index.php/Pa … g_PGP_keys

If installing Arch with an outdated ISO, you are likely prompted to import PGP keys. Agree to download the key to proceed. If you are unable to add the PGP key successfully, update the keyring or upgrade archlinux-keyring (see above).

Probably all you needed to do was press 'y' and Enter.

Offline

#7 2017-09-26 08:54:12

avneesh
Member
Registered: 2017-07-19
Posts: 62

Re: Failed to install libcap[SOLVED]

Probably all you needed to do was press 'y' and Enter.

It was doing automatically so I wasn't given option to press either y or n.

Offline

#8 2017-09-26 14:10:30

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: Failed to install libcap[SOLVED]

How were you doing it "automatically"? What command were you running?


Matt

"It is very difficult to educate the educated."

Offline

#9 2017-09-26 14:14:28

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Failed to install libcap[SOLVED]

The pacstrap command automatically confirms by default unless the -i switch is used.

Last edited by Slithery (2017-09-26 14:15:23)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB