Your problem is related to the fact that removing lirc still leaves its configuration files in place for the case you need them later. In order to remove the package completely together with the config files you need to run 'apt-get purge <packet name>'. The better alternative for you should be just re-running the package reconfiguration. So try to run 'apt-get reconfigure lirc'.
Hope this helps.
I have been away so haven't tried this till now. Purge solved my issue. Thankyou very much for your help.