MrMEEE / ironhide

Optimus Support for Linux Through VirtualGL - PPA version also available: https://launchpad.net/~mj-casalogic/+archive/ironhide
http://www.martin-juhl.dk
88 stars 0 forks source link

Uninstalling on Oneiric Ocelot -- E: ironhide: subprocess installed post-removal script returned error exit status 6 #169

Open damrbaby opened 12 years ago

damrbaby commented 12 years ago

I am having a very difficult time trying to remove ironhide from my system (Ubuntu 11.10).

I have tried removing it before and sometimes leaves my packages in a half broken state. Any help would be much appreciated.

This is the result of removing it in package manager:

(Reading database ... 246642 files and directories currently installed.) Removing ironhide ... groupdel: group 'ironhide' does not exist dpkg: error processing ironhide (--remove): subprocess installed post-removal script returned error exit status 6 No apport report written because MaxReports is reached already Processing triggers for ureadahead ... Errors were encountered while processing: ironhide E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover:

damrbaby commented 12 years ago

I just solved the problem by following the instructions at the following link: http://askubuntu.com/questions/76070/i-cant-uninstall-ironhide-or-install-any-other-packages

Edited the file /var/lib/dpkg/info/ironhide.postrm

Commented out the lines:

if [ `cat /etc/group |grep ironhide |wc -l` > 0 ]; then
    groupdel ironhide
fi

I was then able to successfully run:

$ sudo apt-get remove ironhide