You are not logged in.

#1 2021-03-06 21:22:56

lakso
Member
Registered: 2020-08-02
Posts: 32

Cannot upgrade npm, failed to commit transaction (conflicting files)

I'm on the latest LTS kernel.
When I try to update to the latest npm version, I get this pacman error.
Is there something I did wrong? All other packages update fine.

Offline

#2 2021-03-06 22:53:34

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,638
Website

Re: Cannot upgrade npm, failed to commit transaction (conflicting files)

Have you been running npm as root? If not, this could be caused by filesystem corruption resulting in pacman's dB getting damaged.

For the latter, check the state of your hardware and filesystems before proceeding.

https://wiki.archlinux.org/index.php/S.M.A.R.T.
https://wiki.archlinux.org/index.php/Fsck

For the actual error, see:
https://wiki.archlinux.org/index.php/Pa … )%22_error

Mod note: moving to NC


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