I already have installed python3.7 (via package management, as it is part of the offical ubuntu repositories) but if I wish to remove python3.6 (sudo apt remove python3.6
), apt suggests to remove all sorts of stuff like libreoffice. I guess libreoffice could also use 3.7 but the package management can't just "switch" dependencies.
edit:
All packages are installed in the latest Version. I did just updated:
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
edit2:
I think the problem is of that kind: There are packages which has python 3 as dependency. Now that I have installed 3.7 and try to remove 3.6, package management thinks, that dependencies are not satisfied any more.
If that is not the case, how can I list packages which are installed and depend on 3.6 but not on 3.7?
edit3:
It is not practical to uninstall python3.6 as a lot of packages depending on this very version and are not satisfied with 3.7. For example gedit does not like 3.7: https://packages.ubuntu.com/cosmic/gedit