20.04 to 22.04 upgrade failed due to apt-listchanges
Bug #1995725 reported by
Oliver Mueller
This bug report is a duplicate of:
Bug #1889250: Unable to calculate the upgrade to 20.04 due to nodejs from nodesource.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I tried to upgrade from 20.04 (latest) to 22.04 (latest).
It failed with these last lines:
E:Sub-process /usr/bin/
returned an error code (1), E:Failure running script
/usr/bin/
see attachment for all logs
To post a comment you must log in.
Reviewing the files from your upgrade attempt, you have installed nodejs from the nodesource PPA. This version of nodejs is greater than the one in the official archive and is keeping some packages installed which then prevents the upgrade from being calculated. Please remove nodejs along with any other packages from that archive and disable the archive. After that you can try upgrading again and if it still fails open a new bug report. Thanks and good luck!