maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   .deb doesn't uninstall (https://talk.maemo.org/showthread.php?t=81345)

marmistrz 2012-01-04 15:42

.deb doesn't uninstall
 
Hi
I made a mistake in a postrm script and now I can neither upgrade nor remove the application.

It says that it failed and nothing more.
Tried with --force-all and still nothing

How to remove the package?

michaaa62 2012-01-04 15:55

Re: .deb doesn't uninstall
 
Try
Code:

dpkg -r --force-remove-reinstreq NAME_OF_PACKAGE

marmistrz 2012-01-04 15:59

Re: .deb doesn't uninstall
 
still, nothing
sudo as root makes the script fail

It also warns me the package should be reinstalled

marmistrz 2012-01-04 16:05

Re: .deb doesn't uninstall
 
If I would be able to access the postrm script of the installed package, I'd be able to fix it and uninstall

michaaa62 2012-01-04 18:52

Re: .deb doesn't uninstall
 
look for /var/lib/dpkg/info/PACKAGE.postrm


All times are GMT. The time now is 09:23.

vBulletin® Version 3.8.8