I accidentally removed Python from Ubuntu 18.04, graphical interface gone, and now I can't even reinstall it.
I tried to re-install the graphical interface with
sudo apt-get install --reinstall ubuntu-desktop, but I've obtained a list of dependencies which were not satisfied (the ones depending on Python I suppose).
àpt --fix-broken install doesn't work as well, as I obtain errors concerning dpkg:
E: sub-process /usr/bin/dpkg returned an error code(1).
Is there a way to fix this without reinstalling Ubuntu? Many thanks