details as followed
apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/24.7 MB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
dpkg: error processing firefox-mozilla-build (--configure):
package firefox-mozilla-build is not ready for configuration
cannot configure (current status `half-installed')
Errors were encountered while processing:
firefox-mozilla-build
E: Sub-process /usr/bin/dpkg returned an error code (1)

root@linux:~# dpkg --purge firefox-mozilla-build
dpkg: error processing firefox-mozilla-build (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
firefox-mozilla-build


Could anyone tell me how i can remove it ?

thanks