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.
Author Archive
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.
To stay on time, you should really use ntpd. It is a daemon that runs all the time and makes tiny changes to the system clock. All you need to do is install ntp:
aptitude install ntp
after it’s installed, I encourage you to go over to http://www.pool.ntp.org/zone/@ and pick a pool in your continental zone. Debian has some defaults, and they are fine, i just like using the ntp pool. If you want to change where you are syncing to, open up /etc/ntp.conf and change the “server” lines.
nano /etc/ntp.conf
to manually sync Debian’s time, just install “ntpdate”
apt-get install ntpdate
run this:
ntupdate-debian [a ntp server]
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.
scary. I updated freebsd, and i can only think that i messed it up when i tried to “shutdown -h” to get it shutdown so i could reboot. anyways, when i rebooted, i saw this message. apparently there was a kernel dump on my swap drive. But problem is that i didn’t have enough room on /var/crash to make it happen. i redirected the commands ot the /usr/home/ program.
http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html
fsck -p
mount -a -t ufs
make sure /var/crash is writable
savecore /var/crash /dev/ad0b
exit
exit to multi-user