Need to know how to find and fix missing files to get GUI working again
Hi all,
I removed some kernel packages to free up some space on / and now I can not get into my GUI, I get and error "Something went wrong log out to try again" when the GUI starts. I had managed to follow this http://www.cyberciti.biz/howto/debia...y-unix-driver/and it did work before and I had a GUI. Now it tells me I have the wrong version of GCC and to specify the correct version. I have no idea how to do that. So the short version of my question is how do I find out what got removed so I can fix this? I did have the disable-nouveau.conf file created but at boot I was getting getting messages about two tokens needed and only one found, what ever a token is. I am using Windows to get here and have to reboot into linux. So please be patient with me and give thorough directions. |
Do you remember what you removed?
In all honesty, if you are removing kernel related things you must be desperate space wise why the space concern? How did you 'remove'? If it was apt-get simply 'reverse' by using "install" Code:
sudo apt-get update && apt-get dist-upgrade sudo assumes you have 'set it up' If not, do as root (leave off sudo) |
Read your link, one of those 'not so helpful' blogs (seriously, ignore them, , they are seldom useful)
Show us the output of Code:
lspci Deleting /etc/X11/xorg.conf might help At least get you to s GUI (downgraded) |
got it back
lspci
Code:
00:00.0 Host bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL Memory Controller Hub (rev 04) |
how I recovered
I ran
Code:
dpkg --list | grep -i --color nvidia Code:
apt-get purge <package name> Code:
apt-get autoremove I was removing files to try to gain disk space. I am getting pop ups about being out of room on the root File system I am using LVM and the drive is 250 GB I would think I have plenty but apparently not. So next question is how do I clear up some space... SAFELY? |
Got it back?
I assume you got the nvidia drivers for the "gt 640" working |
Yes I can login via the GUI now :D
|
Ahh, ok
If it works fine, leave 'as is' But you may need proprietary drivers for 'full' capability |
I haven't tested the 3d ability yet but Iain't gonna try to fix that yet. I am more worried about getting some disk space available. Any ideas on how to find a way to clear some room on the hard drive??
|
Get familiar with the different disk usage type commands to find out where all your drive space is going.
Code:
df -h When all else fails, bust out some Google-Fu and search for "Debian disk usage commands". Then pick a result and start reading. |
I like ncdu
http://dev.yorhel.nl/ncdu Probably available via your package manager There are gui equivalents available, but I find them to be slower. |
hmm it would appear there is a bug in the disk usage analyzer tool, it pops up warnings about being out of disk space but if I run
Code:
du -hc / Code:
20G total I can't post the complete output of the command because the output is over the limits of this web page. |
20gb seems reasonable
Output of Code:
df -h ncdu is not so easy to cp'n'paste But, 20gb seems about right |
Quote:
|
Speaking of things like log files, have you tried either
Code:
apt-get clean Code:
aptitude clean |
All times are GMT -5. The time now is 05:28 AM. |