On Wed, Nov 23, 2016 at 3:16 PM Max Pyziur <pyz@brama.com> wrote:
On Wed, 23 Nov 2016, arnaud gaboury wrote:

> I am upgrading my box to F25 from F24.
>
> First I ran # dnf upgrade --refresh , but some packages did not upgarde. All these packages are nodejs ones.
> Below is the error I get when trying to upgrade one package, nodejs:
>
> # dnf upgrade nodejs
> .............................
> Running transaction check
> Transaction check succeeded.
> Running transaction test
> Transaction test succeeded.
> Running transaction
>   Upgrading   :nodejs-1:4.6.1-6.fc24.x86_64                                                                                                                                       
?? ?                            1/2
> Error unpacking rpm package nodejs-1:4.6.1-6.fc24.x86_64
> Error unpacking rpm package nodejs-1:4.6.1-6.fc24.x86_64
> error: unpacking of archive failed on file /usr/lib/node_modules/npm/doc: cpio: rename
> nodejs-1:4.6.1-6.fc24.x86_64 was supposed to be installed but is not!
>   Verifying   :nodejs-1:4.6.1-6.fc24.x86_64                                                                                                                                       
?? ?                            1/2
> nodejs-0.10.42-4.fc23.x86_64 was supposed to be removed but is not!
>   Verifying   :nodejs-0.10.42-4.fc23.x86_64                                                                                                                                       
?? ?                            2/2
>
> Failed:
>   nodejs.x86_64 1:4.6.1-6.fc24  
>
> .......................................
>
> This is same kind of errors for all nodejs packages.
> Can someone help me solving this issue?
> TY for help

This happened on all three of my fedora machines when upgrading from F23
to F24.

I removed the packages (dnf remove nodejs);

If I remove nodejs, all other node packages will be removed. Fine. But when reinstalling, how can I reinstall exactly all the node packages? I would say best would be to get a list of the removed node packages, then install this list.
Any tips to get such a list of packages to reinstall ?

 
did the upgrade; 
then reinstalled nodejs.

That worked each time.

fyi,

Max Pyziur
pyz@brama.com_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org