Can't Upgrade Ubuntu 18.04 To 20.04 Because Of "Please Install All Available Updates For Your Release Before Upgrading" Error
Answer :
sequence from 18.04 to 20.04
sudo apt update sudo apt upgrade sudo apt dist-upgrade sudo apt autoremove sudo do-release-upgrade -d -f DistUpgradeViewGtk3
Follow onscreen instruction. Good luck!
I was also experiencing the same issue. However, when I ran the usual upgrade commands (sudo apt upgrade
, sudo apt full-upgrade
, sudo apt-get dist-upgrade
), they were all reporting that there are no packages to upgrade and no held packages:
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
In the end, I copied the file /usr/bin/do-release-upgrade
to my home and modified it as follows:
for pkg in upgradable: if 'Phased-Update-Percentage' in pkg.candidate.record: # P-U-P does not exist if it is fully phased continue else: install_count += 1 print(pkg) # <--- ADD THIS LINE # one upgradeable package is enough to stop the dist-upgrade # break # <--- COMMENT THIS LINE OUT
This change will print the names of all packages that need to be upgraded.
When I ran sudo ~/do-release-upgrade
, a package from an external repository was printed that had an update available, but the newer version depended on a library that was not available, which caused the package to not upgrade.
Still not sure why it wasn't reported as not upgraded
by apt upgrade
.
The problem is your repo is not updated, so you need to remove these five repos: colord gimagereader python-sane sane simple-scan
Do sudo add-apt-repository -r ppa:<ppa to remove>
or edit /etc/apt/sources.list
to remove all of these repos.
Then you can run update-manager
Comments
Post a Comment