Can't logon after ruining upgrade manager

Asked by Robert Parsons

I installed updates today using the upgrade manager and now I .can't logon. The Guest account doesn't even work.

What happens is I enter my password, the screen goes blank and it takes me back to the logon screen.

I know the password is correct because when I enter an invalid password I get a message saying the password is invalid.

I tried loging in with earlier versions of Linux but it didn't work.

I also was able to get into the host shell using recovery options and I tried running the upgrade manager again using the command: sudo apt-get updates. This didn't work either.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

On the log in screen, press CTRL + ALT + F1

Log in there and run:

sudo apt-get clean
sudo chown -R $USER:$USER $HOME

You don't need to change the command. It will run as needed as it is

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#2

One it finishes, run:

sudo reboot

Then log in as normal once back to the log in screen

Revision history for this message
Robert Parsons (raparsons1) said :
#3

I did what you suggested and everything ran okay.
The reboot took me to the login screen just as you said it would
But know a luck. It still doesn't let me login.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

If you run:

df -h

Do you have free space on all partitions?

Revision history for this message
Robert Parsons (raparsons1) said :
#5

I have 18 GB on my root partition and 135 GB on my data partition.

So, I don't think the problem is a lack of free space.

Revision history for this message
Albert Narh (antdeshak) said :
#6

Run this:
sudo apt-get purge nvidia*
sudo reboot

Revision history for this message
Robert Parsons (raparsons1) said :
#7

Thanks actionparsnip, that solved my question.