It looks like your nodejs (version nodejs 15.14.0-deb-1nodesource1) is from the nodesource PPA. Since your upgrade is failing on a broken node- yargs-parser (according to VarLogDistupgradeAptlog.txt), I would guess this has something to do with it:
Investigating (1) node-yargs-parser:amd64 < 18.1.3+~15.0.0-1 -> 21.0.0+~20.2.1-3 @ii umU Ib > Broken node-yargs-parser:amd64 Breaks on node-yargs:amd64 < 15.3.1+repack-2 @ii umH > (< 16.2.0~) Considering node-yargs:amd64 -3 as a solution to node-yargs-parser:amd64 1 Upgrading node-yargs:amd64 due to Breaks field in node-yargs-parser:amd64 Please try removing PPA packages with the ppa-purge tool, and then try the upgrade again. ** Changed in: ubuntu-release-upgrader (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1973433 Title: Cannot upgrade Ubuntu 21.10 to 22.04 - error info without concrete reason To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1973433/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs