*** This bug is a duplicate of bug 512096 ***
https://bugs.launchpad.net/bugs/512096
** This bug has been marked a duplicate of bug 512096
[MASTER] Exec format error : package failed to install/remove :
installation/removal script returned error exit status 2
* You can subscribe to bug 51
I get exactly the same problem,
sudo apt-get adiumsudo apt-get remove adium-theme-ubuntu --purge
E: Invalid operation adiumsudo
laz...@ubuntu-hp:/usr/share$ sudo apt-get remove adium-theme-ubuntu --purge
Reading package lists... Done
Building dependency tree
Reading state information... Don
Actually,
I decided I would try manually removing all files related to 'adium'.
Figuring that if the apt-get process is failing because of an incomplete
script file, then it would never get fixed by itself.
So I did a "find" over the system, and come up with a list of files, and
then removed them