LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > elementary OS
User Name
Password
elementary OS This forum is for the discussion of elementary Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 02-26-2016, 08:24 AM   #1
vtlx
LQ Newbie
 
Registered: Feb 2016
Posts: 2

Rep: Reputation: Disabled
Messed up Elementary OS completely. Now can't log in.


Hi,
I did something very stupid and now trying to get my system back to work (not successful so far)! Need your help guys.
Yesterday I was trying to make deepin player work and found some bug report that suggested to install libgtk2.0 and lib...2.4 something (don't remember exactly). So I did. It didn't help, but my Firefox started crushing. I figured it could have been because of those two packages. So, I did very dumb thing: In terminal I wrote
Code:
sudo apt-get purge libgtk2.0 lib...2.4
When I noticed this command removing everything and icons started disappearing from my computer I stopped it, but after rebooting I couldn't pass the login screen. When I enter my password and push ENTER nothing happens.
I've already tried fixing things in recovery mode. Here's what I did:
In the recovery terminal connected to the internet and tried to repair broken packages.
I've tried
Code:
apt-get update
apt-get dist-upgrade
apt-get autoremove
apt-get clean
apt-get build-dep build-essential
I also did
Code:
apt-get install -f
and to find packs with broken dependencies
Code:
dpkg --configure -a
then dpkg --configure -a --force-depends

I've tried to reinstall elementary environment by
Code:
apt-get install --reinstall elementary-desktop
and
Code:
apt-get install gala pantheon-files pantheon
But nothing helped. Can someone please give me some anvise how to get everything back?

P.S. Now when I enter dpkg --configure -a I get something about bluez and the file invoke-rc.d with invalid instance.
 
Old 02-26-2016, 06:20 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
reinstall

and next time look at what you typed before you hit < enter >
 
Old 02-28-2016, 02:41 AM   #3
vtlx
LQ Newbie
 
Registered: Feb 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi,
in case someone will have this kind of a situation:
I removed completely elementary-environment with
Code:
sudo apt-get remove --purge elementary-environment
then did

Code:
sudo apt-get install gala
And to my surprise everything worked out well. Of course after logging in I had to reinstall several missing apps but that's fine with me.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Elementary Studio GTK Theme - Fusion of Elementary and Ubuntu Studio Themes LXer Syndicated Linux News 0 01-18-2011 08:21 PM
LXer: What is Nautilus Elementary And How to Install Nautilus Elementary in Ubuntu Lu LXer Syndicated Linux News 0 05-21-2010 01:10 AM
I messed up with up Grub....I can not log in Windows or Ubuntu need help badly dstar101 Linux - Newbie 14 03-24-2008 01:31 PM
Linux completely messed something up... gates_2 Linux - General 7 07-12-2005 09:41 PM
messed up my password cant log in Dark_Sniper* Linux - Security 6 05-23-2005 10:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > elementary OS

All times are GMT -5. The time now is 06:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration