On terminal trying to upgrade Ubuntu-18.04
to Ubuntu-20.04LTS
using below commands
$ sudo apt-get update
$ sudo apt-get upgrade --yes
$ sudo apt-get dist-upgrade --yes
$ sudo apt-get dist-upgrade --yes
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Error!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libsnmp-base : Breaks: snmp (< 5.7.3+dfsg-5) but 5.7.3+dfsg-1.8ubuntu3.6 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Have downloaded and installed using dpkg --force-all -i libsnmp-base_5.7.3+dfsg-1.8ubuntu3.6_all.deb
and --fix-broken
couldn't help to fix.
$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 363 not upgraded.
Still resulting same error. Any pointer to fix this error will be helpful.