Posts Tagged ‘ apt

Karmic install cannot login (gdm freezes) Nvidia

On a fresh install of karmic, using an Nvidia 7800 GT. When I went to click on my username to log in, some artifacts would appear on the screen, then the system would freeze. hard. Couldnt even ctrl+alt to another console. Installing the Nvidia drivers fixed the issue. To fix it:

  1. Do a hard reset on the machine
  2. When you arrive at the GDM screen, DO NOT CLICK ON ANYTHING.
  3. press CTRL + ALT + F5. Your screen will switch over to a text console.
  4. Log in.
  5. Install the Nvidia glx driver
  6. sudo aptitude install nvidia-glx-new
  7. Reboot the machine.
  8. sudo reboot

apt gives a “Segmentation faulty tree”

when running an update:
sudo aptitude
Ouch!  Got SIGSEGV, dying..

apparently, just remove some files:
sudo rm /var/cache/apt/*.bin

now everything is back to normal.

Uninstall MySQL 5 from Debian

I completely. completely messed up MySQL. Badly. I wiped out the data directory (/var/lib/mysql in Debian) and the went to remove mysql …
apt-get remove --purge mysql-server

That only deleted something like 86K. dissapointing. It looks like “mysql-server” is a shortcut pointing to the latest version of the software. The real software is found  under the name “mysql-server-50″. So what made it happen was:
apt-get remove --purge mysql-server*

That’ll wipe out whatever mysql install is in place.

 

Switch to our mobile site