GUI to CLI Modechange automatically
Ralf Mardorf
silver.bullet at zoho.com
Wed May 8 13:12:56 UTC 2019
On Wed, 2019-05-08 at 14:58 +0200, Ralf Mardorf via ubuntu-users wrote:
> On Wed, 8 May 2019 14:57:24 +0200, Ralf Mardorf wrote:
> > > On Wed, May 08, 2019 at 05:59:35PM +0530, Pin2 wrote:
> > > > i am using Ubuntu 18.04, in which i had removed few applications
> > > > [snip] after that i got an error message that my terminal is stucked
> > > > when i restarted the system than it's changed to CLI mode
> >
> > Hi,
> >
> > try running
> >
> > sudo apt update
> > sudo apt install --fix-broken
> > shutdown -h r
>
> Oops, it should read
>
> shutdown -r now
"sudo apt install --fix-broken" would only fix broken dependencies, but
depending on what you removed, there is nothing broken.
Take a look at
grep -e remove -e purge /var/log/apt/history.log | sort --reverse | grep -v autoremove | less
maybe you removed something essential.
If it's not much output you could redirect it to a file by running
grep -e remove -e purge /var/log/apt/history.log | sort --reverse | grep -v autoremove > /tmp/output.txt
and attache the file to a reply.
More information about the ubuntu-users
mailing list