The following information may help to resolve the situation: The following packages have unmet dependencies: yum : Depends: python-rpm but it is not going to be installed code example
Example: The following packages have unmet dependencies: libnode72 : Conflicts: nodejs-legacy E: Broken packages
sudo apt --fix-broken install
sudo apt-get update && sudo apt-get upgrade
sudo dpkg --configure -a
sudo apt-get install -f