I try to upgrade Ubuntu 14.04 to 16.04, but I have an issue.
I tried to follow this article :
https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-16-04-lts
after running this command :
sudo do-release-upgrade
When the 1022 ssh dialog appeared, I wrongly typed n
, then I got disconnected.
Later on, I had to go to the Dashboard terminal, and restore the ssh connection.
But when I retried the command :
sudo do-release-upgrade
it gave me this message, and I had to close the terminal :
Please report this as a bug and include the files
/var/log/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log in
your report. The upgrade has aborted.
Your original sources.list was saved in
/etc/apt/sources.list.distUpgrade.
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-vgm0wvbx/xenial", line 8, in
<module>
sys.exit(main())
File
"/tmp/ubuntu-release-upgrader-vgm0wvbx/DistUpgrade/DistUpgradeMain.py",
line 242, in main
if app.run():
File
"/tmp/ubuntu-release-upgrader-vgm0wvbx/DistUpgrade/DistUpgradeController.py",
line 1907, in run
return self.fullUpgrade()
File
"/tmp/ubuntu-release-upgrader-vgm0wvbx/DistUpgrade/DistUpgradeController.py",
line 1725, in fullUpgrade
if not self.prepare():
File
"/tmp/ubuntu-release-upgrader-vgm0wvbx/DistUpgrade/DistUpgradeController.py",
line 438, in prepare
self._sshMagic()
File
"/tmp/ubuntu-release-upgrader-vgm0wvbx/DistUpgrade/DistUpgradeController.py",
line 328, in _sshMagic
self._view.information(summary, descr)
File
"/tmp/ubuntu-release-upgrader-vgm0wvbx/DistUpgrade/DistUpgradeViewText.py",
line 176, in information
readline()
File
"/tmp/ubuntu-release-upgrader-vgm0wvbx/DistUpgrade/DistUpgradeViewText.py",
line 50, in readline
s = input()
KeyboardInterrupt
=== Command terminated with exit status 1 (Tue Feb 4 01:29:35 2020) ===
already retry several times, but it keeps failing, any clue?
python
I was thinkingpython
& particularlypython3
(python
itself is now EOL & already gone and was auto-removed from my release I discovered only earlier today when an python2 script was called by an outdated routine I neglected to 'update'..) – guiverc Feb 04 '20 at 07:34I have read https://help.ubuntu.com/community/EOLUpgrades, should I try to update
– Budianto IP Feb 04 '20 at 07:45sources.list
and then retry the upgrade process?python3
provides the expected results forpython3 -V
otherwise I'd suspect that is your issue. 14.04 LTS has been EOL too long so I cannot look up (online) what the result should be (and I don't have a 14.04 LTS/ESM system to look using commands); if you're using 14.04 ESM I'd use your Advantage support options.. That link is primarily useful to ensure your system is/was fully upgraded (otherwise release-upgrade could fail) before attempting it.. ie. issues you needn't do if release is still supported. – guiverc Feb 04 '20 at 07:50