How to resume the interrupted upgrade from 14.10 to 15.04?
Solution 1
You have already partially installed 15.04. There is no point in doing a do-release-upgrade
any-more, and it will naturally say "No new release found".
What you need to do it is the below command which will install the missing packages, assuming apt-get is installed in the first place:
sudo apt-get update && sudo apt-get dist-upgrade
Solution 2
This worked for me (running this after a reboot) it started off where the upgrade was interrupted.
sudo dpkg --configure -a
Related videos on Youtube
E_d
Updated on September 18, 2022Comments
-
E_d almost 2 years
Previous the upgrade, my bashrc file was modified in order to add some Path configuration.
While executing
do-release-upgrade
everything was fine until a message prompted about the status of the bashrc file and an option menu was displayed.From the menu, I chose the "compare changes" option and the only difference was my previous modification. No problem.
Here is the problem: I
ctrl-c
and the whole upgrading stopped. After that, I rebooted my computer and from then it is possible to start Ubuntu only in recovery mode.After logging in (in recovery mode shell) the welcome header message says "Welcome to Ubuntu 15.04" but the "your Ubuntu release is not supported any more" and "new release '15.04' available" warnings still appear.
I've tried to
do-release-upgrade
again but got the "no new release found" message.How can I finish or re-run the upgrade??
Thanks
-
E_d almost 9 yearsThanks @daltonfury42, I'm gonna check this because it's the strict answer to my problem. The answer that I posted includes links for further problems that may or may not happen at all.
-
Videonauth about 8 yearsCan you please buff up your answer and add the procedere used here, links can change as well as the content you're linking to so your answer can become a dead end.
-
Cerin over 7 years
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
-
BadHorsie about 7 yearsI have the same problem as @Cerin in that the terminal was closed and now there is a lock that I don't know how to release.
-
Cerin about 7 years@BadHorsie, I had to delete the lock file and then run
sudo dpkg --configure -a
. This question is essentially a duplicate of this one. -
Ingch over 5 yearsAlso worked for me in an alternative manner: - reboot into the recovery mode - in the recovery menu, select "dpkg" - and it will repair your upgrade and packages. For how to boot to the Recovery mode of ubuntu, please refer to: askubuntu.com/questions/92556/how-do-i-boot-into-a-root-shell