Hi,

I am a newbie to Drupal and web development. I read the documentation available and could install Drupal 6 successfully. I used the 'sudo apt-get install drupal6' command. I then used the Site Building and Site configuration, Create content menus and was trying things out. Which is when I lost the Login menu ( I deleted the left side bar ) ...and was not able to access the site again.

Ever since I have been trying to delete Drupal and do a fresh install. No matter what method I use, I always end up with below error.

dbconfig-common: writing config to /etc/dbconfig-common/drupal6.conf
Not replacing deleted config file /etc/dbconfig-common/drupal6.conf
unable to read input file /etc/dbconfig-common/drupal6.conf
dpkg: error processing drupal6 (--configure):
subprocess installed post-installation script returned error exit status 1

The steps I took to un-install Drupal are
1. sudo apt-get autoremove drupal6
2. Then I used 'find' command and deleted every Drupal file or directory I could find.

Pl. advice how I should proceed from here.

Many thanks,
Arati.

Comments

alexrayu’s picture

Dont use Synaptic or apt-get for it. Now, do this:
1. Uninstall with synaptic or apt-get everything you can (meaning Drupal 6)
2. look in /var/www as a root (gksu nautilus) and wipe everything inside www folder.
3. in Firefox, go to http://localhost/phpmyadmin and delete the database

To install Drupal 6 in a good way, install php5, apache, and mysql with required dependencies from Synaptic, create a database from phpmyadmin, download Drupal drom drupal.org and extract it into the www folder.