Comment 28 for bug 107648

Revision history for this message
Ryan Kavanagh (ryanakca) wrote :

--force-remove-essential doesn't even work... I'm stumped!

┌─(ryan@sigma)(11:26:20)
└─(~/deb/insanity-1.0)-> sudo dpkg -r --force-remove-essential insanity
(Reading database ... 251656 files and directories currently installed.)
Removing insanity ...
Unable to remove insanity: Essential to Ubuntu Community

Any ideas? My guess is that we need to scrap the insanity module in the kernel and run this script...

#!\bin\sh
# RUN THIS SCRIPT AT YOUR OWN RISK! I am not responsible for any damages incurred. You'll need to fix the hashbang in order to run it.
# If you don't know what that means, this script is dangerous to your system, you'll need to find a cure to your insanity from a professional. :D

echo `whoami` > /dev/asylum

if [ `whoami` = `cat /dev/asylum` ]
then
  echo 'The value of /dev/asylum is: '
  echo `cat /dev/asylum`
  echo 'moving /dev/asylum to /dev/sanity'
  sleep 2
  mv /dev/asylum /dev/sanity
  echo 'The value of /dev/sanity is: '
  echo `cat /dev/sanity`
  rm /dev/sanity
  echo 'You are cured from insanity, Go take some fresh air'
fi