I was unable to update to Ubuntu 20 from Ubuntu 18.04
You have to remove third party repository. You can do it using one of two method:
Using the GUI (Software & Updates):
- Open Software & Updates app.
- Switch to Other Software tab.
- Uncheck all checkboxes (it will prompt for password first time).
- Retry upgrade to 20.04.
Using terminal:
Issue this command on terminal:
cd /etc/apt/sources.list.d
Using an editor like
nano
orvi
comment all uncommented line (put a#
character at the beginning of line) in all files. (You need to usesudo
) (You have to open all files one by one) (Uncommented line indicates those lines which don't start with a#
character.)- Retry upgrade to 20.04.
Just
- Go to Software & Updates
- Go to Ubuntu software
- In the Download from menu select main server
Then try to update Ubuntu. It worked very well for me.