@bret_miller said in Upgrade failed: Command failed: npm uninstall -g --silent xen-orchestra:

✖ npm version: 6.14.5
does not satisfies ^4.6

For the sake of someone after me with this problem, based on it apparently looking for npm version 4.6.x, I did this:

sudo npm install -g npm@4.6.1

Then re-ran the xo check which came out clean except for being on and old version.

Then re-ran the upgrade which immediately re-upgraded to npm 6.14.11 and completed the upgrade successfully.

My theory then is that the upgrade to 6.14.x probably happened on a failed XO upgrade leaving the system in a state that I could no longer upgrade. It now appears fixed.