I was upgrading from 13.04 to 13.10 via ssh (didn't use screen). My ssh connection was interrupted when do-release-upgrade script was about to remove obsolete packages. Now when I reconnect and run it it just says No new release found. How to finish upgrade process?
3 Answers
Run
sudo dpkg --configure -athen:
sudo apt-get dist-upgradeFinally run (probably not needed):
sudo apt-get upgrade 1 do-release-upgrade saves a log file about all the actions taken during the upgrade in /var/log/dist-upgrade there are also other logs in /var/log/apt, /var/log/dpkg which may be relevant.
Can you check /etc/update-manager/release-upgrades and see if it's set to "prompt=never"?
I had an issue where an old server that I inherited wasn't picking up the fact that a new LTS release was available. That was how I fixed it.
Example:
$ sudo cat /etc/update-manager/release-upgrades
# Default behavior for the release upgrader.
[DEFAULT]
# Default prompting behavior, valid options:
#
# never - Never check for a new release.
# normal - Check to see if a new release is available. If more than one new
# release is found, the release upgrader will attempt to upgrade to
# the release that immediately succeeds the currently-running
# release.
# lts - Check to see if a new LTS release is available. The upgrader
# will attempt to upgrade to the first LTS release available after
# the currently-running one. Note that this option should not be
# used if the currently-running release is not itself an LTS
# release, since in that case the upgrader won't be able to
# determine if a newer release is available.
prompt=lts