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?
Asked
Active
Viewed 5,303 times
10
3 Answers
8
Run
sudo dpkg --configure -a
then:
sudo apt-get dist-upgrade
Finally run (probably not needed):
sudo apt-get upgrade
Julian Stirling
- 2,929
0
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.
Braiam
- 69,112
-3
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
m0j0
- 145