can't upgrade to ubuntu 18.04 LTS from 16.04.7 LTS
i run sudo do-release-upgrade but it gives me the following error
Traceback (most recent call last):
File "/usr/lib/
exec(line)
File "<string>", line 1, in <module>
File "/home/
return os.path.
SyntaxError: invalid syntax
Remainder of file ignored
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [819 B]
Get:2 Upgrade tool [1,251 kB]
Fetched 1,252 kB in 0s (0 B/s)
authenticate 'bionic.tar.gz' against 'bionic.tar.gz.gpg'
extracting 'bionic.tar.gz'
Error processing line 1 of /home/dev/
Traceback (most recent call last):
File "/usr/lib/
exec(line)
File "<string>", line 1, in <module>
File "/home/
return os.path.
SyntaxError: invalid syntax
Remainder of file ignored
i run sudo do-release-upgrade but it gives me the following error
Traceback (most recent call last):
File "/usr/lib/
exec(line)
File "<string>", line 1, in <module>
File "/home/
return os.path.
SyntaxError: invalid syntax
Remainder of file ignored
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [819 B]
Get:2 Upgrade tool [1,251 kB]
Fetched 1,252 kB in 0s (0 B/s)
authenticate 'bionic.tar.gz' against 'bionic.tar.gz.gpg'
extracting 'bionic.tar.gz'
Error processing line 1 of /home/dev/
Traceback (most recent call last):
File "/usr/lib/
exec(line)
File "<string>", line 1, in <module>
File "/home/
return os.path.
SyntaxError: invalid syntax
Remainder of file ignored
before above command I run following commands: sudo apt update; sudo apt upgrade
current version of ubuntu is 16.04.7 LTS and I'm willing to upgrade to latest LTS.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Umair for more information if necessary.