Hi I was upgrading from ubuntu 20.04 to 20.10. It got cancelled due to some error during installation phase, said do some dpkg manually. After restarting first it shows buzybox initramfs error, and I cleared it with fsck command. After rebooting it’s coming like black screen with dash cursor blinking.(after some 5 to 10 min showing some “PCIe Bus Error”)
When I tried running dpkg in recovery mode shows like “An upgrade from groovy to focal is not supported with this tool”
Kindly Help Thanks in advance
Which means, you shouldn’t even attempt to fix it. Restore the old system from a backup, then let the upgrade finish. Installations and Upgrades all you have to finish. If you do not let them finish, you might leave your system in an inconsistent state, without even noticing at first.
Which means it thinks it is already on 20.10 and it also thinks you want to “upgrade” back to 20.04, which obviously won’t work like that.
Maybe hindsight for you but; (I believe)
A) You should never mix your data with the system data.
B) You should always have a separate backup of system data and your data.
If you don’t have backups. You could boot from a Live USB and copy your data to a desperately attached USB HDD.
This Freudian slip speaks the whole truth, @deepakpm37. If you did not create a backup, you have a hard time in front of you.
Yes, restore from backup. If you didn’t create a backup, you have to manually scrape your data and manually copy everything one by one to an external drive, as @easyt50 suggested. Then, never make any upgrades or major changes to your OS, without a backup. In fact, never use a PC without backing its data up…