Comment 2 for bug 234498

Revision history for this message
Ville Pilvio (vpilvio) wrote :

As they say, if its broken, betta fix it urself...

FROM :http://ubuntuforums.org/archive/index.php/t-333992.html on doodled-uninstall: found this 1-liner gem:
I managed to fix it myself by changing invoke-rc.d doodled stop || exit $? to /bin/true || exit $? in var/lib/dpkg/info/doodled.prerm and removing some of the leftover files manualy.

Which I modified for irmp3 thus:

a) Create backup:
sudo cp /var/lib/dpkg/info/irmp3.prerm /var/lib/dpkg/info/irmp3.prerm.bk

b) as sudo: Edit the file: /var/lib/dpkg/info/irmp3.prerm

c) change the line: invoke-rc.d irmp3 stop || exit $?
to: /bin/true || exit $?

d) save & uninstall irmp3

e) if it uninstalls, then remove the backup file:
sudo rm /var/lib/dpkg/info/irmp3.prerm.bk

Worked 4 me.... hope this helps someone else!