maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   application broken,can't uninstall [SOLVED] (https://talk.maemo.org/showthread.php?t=66963)

atilla 2010-12-13 21:02

application broken,can't uninstall [SOLVED]
 
1 Attachment(s)
hello fellas.
i have a strange issue with the tar-gnu package.
i tried to uodate it but it didn't work.then i tried to remove it but all i get is=
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.

reinstall didn't work too so whats going on?
thanks

michaaa62 2010-12-13 22:18

Re: application broken,can't uninstall
 
Please try , if this works:
Code:

dpkg --purge --force-remove-reinstreq tar-gnu

atilla 2010-12-14 05:15

Re: application broken,can't uninstall
 
thanks but this gives me the same error

michaaa62 2010-12-14 07:59

Re: application broken,can't uninstall
 
Did you try to download the package
Code:

apt-get install tar-gnu -d
change directories to /var/cache/apt/archives and install it with
Code:

dpkg -i tar-gnu
manually? There are a couple of --force-... options there to apply some more pressure.

atilla 2010-12-14 14:16

Re: application broken,can't uninstall
 
1 Attachment(s)
tried that,had to change the dpkg -i command cause the tar-gnu package has a other name(tar-gnu_.1-2maemo5-armel.deb)
but it still didn't work.
now it gives me even more errors but thans for your assist ;)
heres a new pic:

Rob1n 2010-12-14 14:33

Re: application broken,can't uninstall
 
Quote:

Originally Posted by atilla (Post 896618)
tried that,had to change the dpkg -i command cause the tar-gnu package has a other name(tar-gnu_.1-2maemo5-armel.deb)
but it still didn't work.
now it gives me even more errors but help for your assist ;)
heres a new pic:

Looks like the post-install script is messed up. Checking mine, it appears that maemo-optify has broken it. Try editing the script (/var/lib/dpkg/info/tar-gnu.postinst) and removing the optify line at the end. The documentation isn't actually installed, so it's failing when trying to optify it.

atilla 2010-12-14 17:36

Re: application broken,can't uninstall
 
don`t even have this state folder in var/lib/dpkg/

really strange the whole thing....

Rob1n 2010-12-14 21:45

Re: application broken,can't uninstall
 
Quote:

Originally Posted by atilla (Post 896713)
don`t even have this state folder in var/lib/dpkg/

really strange the whole thing....

Blah. That should be info, not state :o

atilla 2010-12-14 22:23

Re: application broken,can't uninstall
 
ok ereased the last optify line in the scrpt but problem is still there.
isn't there are terminate command to destroy the package??

Rob1n 2010-12-15 09:24

Re: application broken,can't uninstall
 
Quote:

Originally Posted by atilla (Post 896949)
ok ereased the last optify line in the scrpt but problem is still there.
isn't there are terminate command to destroy the package??

Sorry - looks like it was the postrm script that was failing. All that does is remove /usr/bin/gtar if it's a symlink, so you could try checking that with "ls -l /usr/bin/gtar".


All times are GMT. The time now is 08:18.

vBulletin® Version 3.8.8