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
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); did the upgrade; then reinstalled nodejs.
That worked each time.
fyi,
Max Pyziur pyz@brama.com
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
On Wed, 23 Nov 2016, arnaud gaboury wrote:
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 ?
I would make some notes of what nodejs packages you are using to make sure that you reinstall them later.
Start w/ running $ rpm -qa | grep -i nodejs | sort
and put it in a file for reference.
Then once you've done the dnf upgrade, reinstall nodejs referring to the list that you created.
This is a general rule that should apply to similar situations. PostGIS/PostgreSQL (worhorse software for me) both moved into major releases that required extensive workarounds to the F23->F24 dnf upgrade process. My (messy) notes available on request.
Max Pyziur pyz@brama.com
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