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 how to get help
GonzoV159
Level 1
Level 1
Posts: 5
Joined: Mon Feb 04, 2013 12:57 am

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

Postby GonzoV159 » 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

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

Postby GonzoV159 » 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.

User avatar
dagon
Level 7
Level 7
Posts: 1670
Joined: Mon Dec 06, 2010 4:33 am
Location: Kungälv, Sweden
Contact:

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

Postby dagon » 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

User avatar
jungle_boy
Level 7
Level 7
Posts: 1662
Joined: Thu Aug 19, 2010 2:51 pm
Location: Amazon Rain Forest Land

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

Postby jungle_boy » 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.1 Cinnamon (PC) and 17.3 Cinnamon (Laptop) with AMD Catalyst
HP Pavilion g4-1316br, AMD Quad Core, 1,5 GHz, Radeon 6520G/7450M,
Image
Linuxcounter Registered User #506065 (2008)

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 GonzoV159 » 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.


Return to “Installation & Boot”

Who is online

Users browsing this forum: austin.texas and 21 guests