[SOLVED] Package endless update

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Package endless update

Postby fmolina2b » Apr 1st, '26, 16:08

Dears,
The package npm-10.9.7-1.22.22.2.1.mga9.x86_64 , at least for me, appears endlessly for update: it appears in the software manager (MCC), I click to update, no error is shown, and it appears again, and again ...
Trying urpmi gives that:
[root@Octopus fernando]# urpmi --update npm-10.9.7-1.22.22.2.1.mga9.x86_64


$MIRRORLIST: media/core/updates/npm-10.9.7-1.22.22.2.1.mga9.x86_64.rpm
instalando npm-10.9.7-1.22.22.2.1.mga9.x86_64.rpm desde /var/cache/urpmi/rpms
Preparando... ###################################################################################
1/1: npm ###################################################################################
error: falló el desempaquetado de archivos en archivo/usr/lib/node_modules/npm/docs;69cd25c3: cpio: File from package already exists as a directory in system
ERROR: 'unpack' failed for npm-1:10.9.7-1.22.22.2.1.mga9.x86_64
error: npm-1:10.9.7-1.22.22.2.1.mga9.x86_64: instalar falló
error: npm-1:10.9.4-1.22.22.0.1.mga9.x86_64: borrar ignorado

Of course, it is only a nuisance, nothing more, but shouldn´t occur.
Best
Linux Octopus 6.6.120-desktop-1.mga9 #1 SMP PREEMPT_DYNAMIC Wed Jan 14 01:59:53 UTC 2026 x86_64 GNU/Linux
Last edited by fmolina2b on Apr 1st, '26, 18:35, edited 1 time in total.
fmolina2b
 
Posts: 57
Joined: Jul 18th, '17, 19:12

Re: Package endless update

Postby doktor5000 » Apr 1st, '26, 17:56

fmolina2b wrote:I click to update, no error is shown, and it appears again, and again ...

MCC shows the same errors as urpmi, and in your output the error is pretty clearly shown.
It does not appear again and again, it is always the same package because it never installed successfully due to the error shown.
fmolina2b wrote: 1/1: npm ###################################################################################
error: falló el desempaquetado de archivos en archivo/usr/lib/node_modules/npm/docs;69cd25c3: cpio: File from package already exists as a directory in system
ERROR: 'unpack' failed for npm-1:10.9.7-1.22.22.2.1.mga9.x86_64
error: npm-1:10.9.7-1.22.22.2.1.mga9.x86_64: instalar falló
error: npm-1:10.9.4-1.22.22.0.1.mga9.x86_64: borrar ignorado

Clear your package cache, if the problem persists then open a bugreport, as this might be a packaging error.
See https://docs.fedoraproject.org/en-US/pa ... placement/
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18230
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Package endless update

Postby doktor5000 » Apr 1st, '26, 17:59

FWIW, this has already been reported: https://bugs.mageia.org/show_bug.cgi?id=33601
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18230
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Package endless update

Postby fmolina2b » Apr 1st, '26, 18:21

After
Code: Select all
rm -fr /usr/lib/node_modules/npm

and
Code: Select all
urpmi npm

Things seem fixed.
But I saw the error only in the console, the MCC Gui did not show any error message, only presented the same package for update again.
fmolina2b
 
Posts: 57
Joined: Jul 18th, '17, 19:12

Re: Package endless update

Postby doktor5000 » Apr 1st, '26, 18:28

Did you maybe use npm update in the past?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18230
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Package endless update

Postby fmolina2b » Apr 1st, '26, 18:33

I installed npm recently, a few weeks ago, and I don't remember updating it.
fmolina2b
 
Posts: 57
Joined: Jul 18th, '17, 19:12


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron