I ran “apt-get dist upgrade” and now can't log in

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

I ran “apt-get dist upgrade” and now can't log in

Postby GonzoV159 on Mon Feb 04, 2013 1:12 am

I ran sudo apt-get dist upgrade. Apparently everything went well except that when it was done, in the terminal said there was an error. I didn't mind about it and shut system down. When I turn computer on again, everything was "ok" and then the screen sessions was in front of me... I selected my session, gave my password, pressed enter and it took me back to the sessions list. With every session happens the same: I can't log in. I noticed the mouse was not working. I connected one in another usb port and worked but nothing was clickable. There were some changes in the environment: different font, different bar color on top...

I don't know what to do. I tried to use a previous version (the one shown in the start) and happens the same. I really need to get this fix. Don't remember what was the error shown in terminal.

it's linux mint maya 12. I'm new using linux. Didn't know exactly what I was doing when I ran that in terminal.
GonzoV159
Level 1
Level 1
 
Posts: 5
Joined: Mon Feb 04, 2013 12:57 am

Linux Mint is funded by ads and donations.
 

Re: I ran “apt-get dist upgrade” and now can't log in

Postby GonzoV159 on Mon Feb 04, 2013 1:18 am

And also I'm new at the forum... so, excuse me if I'm not posting this in the right place.
GonzoV159
Level 1
Level 1
 
Posts: 5
Joined: Mon Feb 04, 2013 12:57 am

Re: I ran “apt-get dist upgrade” and now can't log in

Postby dagon on Mon Feb 04, 2013 6:32 pm

Hi and welcome to the forum!

You posted in the right place. I removed the duplicate.
Unfortunately I can't answer your question.

Some notes on upgrade/dist-upgrade:
http://askubuntu.com/questions/81585/what-is-dist-upgrade-and-why-does-it-upgrade-more-than-upgrade
Image
User avatar
dagon
Level 7
Level 7
 
Posts: 1690
Joined: Mon Dec 06, 2010 4:33 am
Location: Kungälv, Sweden

Re: I ran “apt-get dist upgrade” and now can't log in

Postby jungle_boy on Mon Feb 04, 2013 7:57 pm

GonzoV159 wrote:I ran sudo apt-get dist upgrade. Apparently everything went well except that when it was done, in the terminal said there was an error. I didn't mind about it and shut system down. When I turn computer on again, everything was "ok" and then the screen sessions was in front of me... I selected my session, gave my password, pressed enter and it took me back to the sessions list. With every session happens the same: I can't log in. I noticed the mouse was not working. I connected one in another usb port and worked but nothing was clickable. There were some changes in the environment: different font, different bar color on top...

I don't know what to do. I tried to use a previous version (the one shown in the start) and happens the same. I really need to get this fix. Don't remember what was the error shown in terminal.

it's linux mint maya 12. I'm new using linux. Didn't know exactly what I was doing when I ran that in terminal.


Reinstall LInux Mint and don't run sudo apt-get dist upgrade.
LM17 Cinnamon (PC and Notebook) with AMD Catalyst
HP Pavilion g4-1316br, AMD Quad Core, 1,5 GHz, Radeon 6520G/7450M,
Image
Linuxcounter Registered User #506065 (2008)
User avatar
jungle_boy
Level 6
Level 6
 
Posts: 1213
Joined: Thu Aug 19, 2010 2:51 pm
Location: Amazon Rain Forest, Brazil

Re: I ran “apt-get dist upgrade” and now can't log in

Postby GonzoV159 on Tue Feb 05, 2013 4:55 pm

I fixed it!

I selected the "root Drop to root shell prompt" in the recovery mode. I tried to uninstall the kernel that was messing up writing the following:

sudo apt-get purge linux-image-x.x.x* (the x were specific numbers of the version that was messing up)

A message appeared and said I need it to run a command. I ran it (don't remember which one, was something about "configure". After a few minutes the thing that was doing, was done. I run exit command to exit recovery mode and then selected "resume normal boot" option. I was able to login to my desktop but everything looked different. I opened the terminal and ran "sudo apt-get update" & "sudo apt-get upgrade" after a few hours of downloading and installing packages, the computer went back to normal, except the desktop configuration. Running Cinnamon now, don't know which one was there before crashing.
GonzoV159
Level 1
Level 1
 
Posts: 5
Joined: Mon Feb 04, 2013 12:57 am


Return to Installation & Boot

Who is online

Users browsing this forum: Google Adsense [Bot], MM007 and 21 guests