I purged python3 due to some problems. After doing that, it removed a lot of packages.I installed Firefox and visual studio then I restarted the laptop but it switch into the virtual terminal. I searched many times but could not find the solution. I tried sudo apt install --reinstall ubuntu-desktop
but it shows
package have unmet dependencies , and unable to correct problem, you held broken package
Please help me I am in trouble.
python3
, quite a lot of built-in Ubuntu tools will no longer work, so repairs will be very manual (eg.dpkg
will work, but you may findapt
and like front ends that sit above & automate download & install viadpkg
no longer work). The obvious first step issudo apt -f install
but I suspect you'll keep finding normal fix tools don't work as needed unlesspython3-minimal
is installed. A re-install may be a faster fix – guiverc Jan 29 '20 at 11:37