1

Try to upgrade ubuntu to 20.04 from 18.04, but software updater doesn't show the upgrade option. So I tried to do that in command line.

after do the following commands:

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo apt autoremove
sudo do-release-upgrade -d -f DistUpgradeViewGtk3

get outcome

sudo do-release-upgrade -d -f DistUpgradeViewGtk3
Checking for a new Ubuntu release
Failed to connect to https://changelogs.ubuntu.com/meta-release-development. Check your Internet connection or proxy settings
Upgrades to the development release are only 
available from the latest supported release.

any ideas for that? Thanks

5
  • 1
    The -d option means you want the development release. But 20.04 has already been released. So, you shouldn't need it. Can you try removing that option? – Ray Nov 2 '20 at 5:50
  • Hey Ray, I tried your method, just got the output sudo do-release-upgrade -f DistUpgradeViewGtk3 Checking for a new Ubuntu release Failed to connect to https://changelogs.ubuntu.com/meta-release. Check your Internet connection or proxy settings No new release found. can't let it work... – Tony Nov 2 '20 at 21:01
  • Good to hear you solved your problem! If you're interested, you might as well copy your solution into an answer and indicate it is the "answer" so that it "closes" the question. – Ray Nov 3 '20 at 3:18
  • @Ray Thanks buddy, but I got another problem that the network-manager is not running, did search online for a while, still not got it :( – Tony Nov 3 '20 at 4:54
  • I'm not sure if this helps, but since Ubuntu 18.04 (I think), Ubuntu has switched to netplan. You can still use Network Manager with it, but for servers I look after, I gave up with Network Manager and made it use netplan instead. Perhaps you can take a look to see if that will help? See this or search for "Ubuntu netplan" and anything will probably be more helpful than me. Good luck! – Ray Nov 3 '20 at 10:11
3

Just solve it, it seems like my openssl got problems. So I follow https://github.com/openssl/openssl/issues/5845 to let the Software Updater work again.

actually, after fixed the SSL, it still shows

Failed to connect to https://changelogs.ubuntu.com/meta-release. Check your Internet connection or proxy settings
No new release found.

then I found https://ubuntu-mate.community/t/cant-update-upgrade-anymore-um-18-04-v2-lts/19745/3
which edited /etc/update-manager/meta-release

https://changelogs.ubuntu.com/meta-release  
https://changelogs.ubuntu.com/meta-release-lts 

TO

http://changelogs.ubuntu.com/meta-release  
http://changelogs.ubuntu.com/meta-release-lts

then works well!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.