It was due to package dependency in kinterbasdb. I always seem to have such a struggle setting up Firebird and Kinterbasdb. I've tried to retrace my steps and look at how I solved the problem in case anyone else gets it. Hopefully hereunder will be a clue for you :)
### Ubuntu 10.04 LTS Lucid Lynx - Add Firebird and kinterbasdb #add Universe and Multiverse repositories sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup echo 'deb http://us.archive.ubuntu.com/ubuntu/ lucid universe deb-src http://us.archive.ubuntu.com/ubuntu/ lucid universe deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ lucid multiverse deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse ' >> /etc/apt/sources.list apt-get install firebird2.1-super dpkg-reconfigure firebird2.1-super apt-get install firebird2.1-dev apt-get install firebird2.1-common wget https://launchpad.net/ubuntu/lucid/+source/python-kinterbasdb/3.3.0-2/+files/python-kinterbasdb_3.3.0.orig.tar.gz tar -zxvf python-kinterbasdb_3.3.0.orig.tar.gz cd kinterbasdb-3.3.0 python setup.py install python setup.py build python -c "import kinterbasdb" /etc/init.d/apache2 restart