maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   How to fix half-installed Application? (https://talk.maemo.org/showthread.php?t=6238)

luketoh 2007-05-09 18:33

How to fix half-installed Application?
 
I tried to install ZSH (Z Shell) using the Application Manager however it the App Manager hung mid-way. Now ZSH is half-installed. It says it's updateable but when I try to upgrade it, it still fails. I cannot remove it either.

I've tried apt-get and it doesn't remove or upgrade or install.

How can I fix this now?



Luke

yerga 2007-05-09 20:54

Re: How to fix half-installed Application?
 
Try 'apt-get install -f'.


Cheers.

geneven 2007-05-09 22:05

Re: How to fix half-installed Application?
 
Someone should get rid of zsh, or fix it. As is, it's just a trap; I don't know who it works for.

SeRi@lDiE 2007-05-09 22:31

Re: How to fix half-installed Application?
 
Dont even try to reinstall zsh..... zsh is broken just remove it...

luketoh 2007-05-10 03:26

Re: How to fix half-installed Application?
 
How to remove it? It doesn't want to be removed. Says that it's badly broken and advises me to reinstall it.

But reinstalling and upgrading both don't work.

alvindd 2007-05-10 03:40

Re: How to fix half-installed Application?
 
Could this help?
http://www.internettablettalk.com/fo...ighlight=purge post #4 #5 #6

geneven 2007-05-10 05:04

Re: How to fix half-installed Application?
 
I guess that it would be mean to ask why it's out there if it causes problems for 770 and 800 users. Who benefits from its being available? Why isn't it removed till it's fixed? It has obviously been reported as a problem many times.

luketoh 2007-05-10 14:12

Re: How to fix half-installed Application?
 
Nope, the steps taken

http://www.internettablettalk.com/fo...ighlight=purge

Do not help me at all. Stupid ZSH is still around and I cannot remove it!

I can say for certain, that a normal user would have given up by now and start to hate the N800.

I will continue to try removing the file, but I need more help!


Luke

geneven 2007-05-10 14:38

Re: How to fix half-installed Application?
 
My memory is a bit hazy, but i deleted all the files that had zsh in their names, and then when I ran Application Manager I got a message saying that zsh didn't exist, would I like to delete it from the catalog, and I answered yes. Something like that. If that doesn't work for you, I give up.

luketoh 2007-05-10 14:50

Re: How to fix half-installed Application?
 
OK, I managed to get it removed!

Whew
sudo gainroot

cd /var/lib/dpkg/
mv status status.bad
cp status-old status

then

apt-get clean
apt-get update
apt-get install zsh

which will hang...close Xterm

Open and sudo gainroot again

dpkg --configure -a

1) Go to /var/lib/dpkg/info
2) edit zsh.postrm. There are two lines in the script that cause problems:
a) remove-shell /bin/zsh
b) remove-shell /usr/bin/zsh

apt-get remove zsh

Did whatever was left in

http://www.internettablettalk.com/fo...ighlight=purge


That was indeed a crappy experience!!


Luke


All times are GMT. The time now is 21:44.

vBulletin® Version 3.8.8