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.dpkgwill work, but you may findaptand like front ends that sit above & automate download & install viadpkgno longer work). The obvious first step issudo apt -f installbut I suspect you'll keep finding normal fix tools don't work as needed unlesspython3-minimalis installed. A re-install may be a faster fix – guiverc Jan 29 '20 at 11:37