Active Topics

 


Reply
Thread Tools
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#1
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?
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#2
Try
Code:
dpkg -r --force-remove-reinstreq NAME_OF_PACKAGE
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#3
still, nothing
sudo as root makes the script fail

It also warns me the package should be reinstalled
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#4
If I would be able to access the postrm script of the installed package, I'd be able to fix it and uninstall
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#5
look for /var/lib/dpkg/info/PACKAGE.postrm
 

The Following User Says Thank You to michaaa62 For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 10:52.