Ask Ubuntu Asked by Greek Sachdeva on February 20, 2021
When I was updating suddenly the process aborted with the message:
Could not calculate the upgrade
An unresolvable problem occurred while calculating the upgrade.
This was likely caused by:
* Unofficial software packages not provided by Ubuntu
Please use the tool 'ppa-purge' from the ppa-purge
package to remove software from a Launchpad PPA and
try the upgrade again.
If none of this applies, then please report this bug using the
command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal. If
you want to investigate this yourself the log files in
'/var/log/dist-upgrade' will contain details about the upgrade.
Specifically, look at 'main.log' and 'apt.log'.
Restoring original system state
Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
Please help me with update to Ubuntu 20.04 from 18.04.
Just
Then try to update Ubuntu. It worked very well for me.
Correct answer by Greek Sachdeva on February 20, 2021
I was having the same issue, and this answer helped me. In short you only have to:
sudo apt install synaptic
- if you don't already have it installedThe only drawback is that you'll lose some packages you may use, but you can take a screenshot before the uninstall and get them back after the upgrade.
Answered by gmolnar on February 20, 2021
You have to remove third party repository. You can do it using one of two method:
Issue this command on terminal:
cd /etc/apt/sources.list.d
Using an editor like nano
or vi
comment all uncommented line (put a #
character at the beginning of line) in all files. (You need to use sudo
) (You have to open all files one by one) (Uncommented line indicates those lines which don't start with a #
character.)
Answered by Akib Azmain on February 20, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP