You are not logged in.

#1 2017-12-23 18:13:53

archelvetic
Member
Registered: 2017-10-26
Posts: 45

[SOLVED] Pacman -Syyu returns npm file already exists

Dear fellows

Pacman -Syyu returns errors on a couple of packages.

Since most package updates run smooth, I've allowed myself to shorten the output using dots (..) to depict packages that run without problems.

[user@pc ~]$ sudo pacman -Syyu
...
(508/508) checking package integrity                                         [###########################################] 100%
error: python-keyutils: signature from "Ambrevar <ambrevar@gmail.com>" is unknown trust
:: File /var/cache/pacman/pkg/python-keyutils-0.5-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: qutebrowser: signature from "Ambrevar <ambrevar@gmail.com>" is unknown trust
:: File /var/cache/pacman/pkg/qutebrowser-1.0.4-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: udiskie: signature from "Ambrevar <ambrevar@gmail.com>" is unknown trust
:: File /var/cache/pacman/pkg/udiskie-1.7.3-1-any.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.

Subsequently I tried

[user@pc ~]$ sudo pacman-key --refresh-keys

returning
https://ptpb.pw/mLSP
what finally ended in ...a lot more errors here https://ptpb.pw/DlRV...after rebooting and repeating $sudo pacman -Syyu

Any idea what I'm missing?

Merry christmas to all of you

Last edited by archelvetic (2017-12-23 20:17:17)

Offline

#2 2017-12-23 18:20:41

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Pacman -Syyu returns npm file already exists

https://wiki.archlinux.org/index.php/Pa … 9.22_error

Did you install Node with pacman, or some other way?

Also, please edit your thread title and choose one that reflects your actual issue: https://wiki.archlinux.org/index.php/Co … ow_to_post


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-12-23 20:16:14

archelvetic
Member
Registered: 2017-10-26
Posts: 45

Re: [SOLVED] Pacman -Syyu returns npm file already exists

jasonwryan wrote:

Did you install Node with pacman, or some other way?

Solved thanks to your link. I can't remember if I installed Node on a particular way, however now I did this and got a clean system update:

$ sudo pacman -Rns npm
$ sudo rm /usr/lib/node_modules/npm/
$ sudo rm /usr/share/man/man1/
$ sudo pacman -Syyu
$ sudo pacman -S npm

Offline

Board footer

Powered by FluxBB