Some apt magic pls
by business_kid from LinuxQuestions.org on (#4SDXP)
Can't do much installing/removal in this Mint-19.0 VM because of the following errors Code:The following packages have unmet dependencies:
libpython2.7 : Depends: libpython2.7-stdlib (= 2.7.15-4ubuntu4~18.04) but 2.7.15~rc1-1ubuntu0.1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
dec@Mint19-VBox:~$ sudo apt remove libpython2.7
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
dia : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
libpeas-1.0-python2loader : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
libpython2.7-stdlib : Depends: libpython2.7-minimal (= 2.7.15~rc1-1ubuntu0.1) but 2.7.15-4ubuntu4~18.04.2 is to be installed
libvtk6.3 : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
libvtk6.3-qt : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
python-compizconfig : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
python-ldb : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
python-qt4 : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
python-samba : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
python-talloc : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
python-tdb : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
python-vtk6 : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
python-vtkgdcm : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
python-wxgtk4.0 : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
python2.7-minimal : Depends: libpython2.7-minimal (= 2.7.15~rc1-1ubuntu0.1) but 2.7.15-4ubuntu4~18.04.2 is to be installed
samba-libs : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).It's really rooting for me to try that 'apt --fix-broken install' which of course produces a syntax error and reams of 'Here's how you use apt, stupid' stuff :(. There's nothing mission critical here atm, but I would like to know how to sort this if only for pride's sake.


libpython2.7 : Depends: libpython2.7-stdlib (= 2.7.15-4ubuntu4~18.04) but 2.7.15~rc1-1ubuntu0.1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
dec@Mint19-VBox:~$ sudo apt remove libpython2.7
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
dia : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
libpeas-1.0-python2loader : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
libpython2.7-stdlib : Depends: libpython2.7-minimal (= 2.7.15~rc1-1ubuntu0.1) but 2.7.15-4ubuntu4~18.04.2 is to be installed
libvtk6.3 : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
libvtk6.3-qt : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
python-compizconfig : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
python-ldb : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
python-qt4 : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
python-samba : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
python-talloc : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
python-tdb : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
python-vtk6 : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
python-vtkgdcm : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
python-wxgtk4.0 : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
python2.7-minimal : Depends: libpython2.7-minimal (= 2.7.15~rc1-1ubuntu0.1) but 2.7.15-4ubuntu4~18.04.2 is to be installed
samba-libs : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).It's really rooting for me to try that 'apt --fix-broken install' which of course produces a syntax error and reams of 'Here's how you use apt, stupid' stuff :(. There's nothing mission critical here atm, but I would like to know how to sort this if only for pride's sake.