:~$ sudo apt-get remove xulrunner-1.9 --purge
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
g++-4.3 java-common sun-java6-bin libx264-65 sun-java6-jre
libstdc++6-4.3-dev liblrdf0
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED
xulrunner-1.9*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 26.8MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 138408 files and directories currently installed.)
Removing xulrunner-1.9 ...
update-alternatives: error or eof reading /var/lib/dpkg/alternatives/xulrunner for version ()
dpkg: error processing xulrunner-1.9 (--purge):
subprocess pre-removal script returned error exit status 2
Errors were encountered while processing:
xulrunner-1.9
E: Sub-process /usr/bin/dpkg returned an error code (1)
Should have posted this with my comment above
:~$ sudo apt-get remove xulrunner-1.9 --purge +6-4.3- dev liblrdf0 alternatives: error or eof reading /var/lib/ dpkg/alternativ es/xulrunner for version ()
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
g++-4.3 java-common sun-java6-bin libx264-65 sun-java6-jre
libstdc+
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED
xulrunner-1.9*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 26.8MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 138408 files and directories currently installed.)
Removing xulrunner-1.9 ...
update-
dpkg: error processing xulrunner-1.9 (--purge):
subprocess pre-removal script returned error exit status 2
Errors were encountered while processing:
xulrunner-1.9
E: Sub-process /usr/bin/dpkg returned an error code (1)