View Full Version : application management problem
I tried to downoad and installed zsh. The download went fine, but the installation froze and I had to re-boot. The zsh package is now listed as 'broken but updatable' but when I try updating it I get a 'unable to update' message. I tried uninstalling the package but that did not work either - I got a 'unable to uninstall' message. I tried running it, but that does not work either.
What should I do to either get it running, or at least remove it?
Should I try 'apt-get -f install zsh && apt-get dist-upgrade' or even 'apt-get remove --purge' ?
Thanks for any help!
04-13-2007, 07:21 AM
Try 'dpkg --purge zsh' and see if that works out.
04-13-2007, 08:05 AM
I've got the same problem ... but unfortunally it did not wirk:
/home/user # dpkg --purge zsh
dpkg: error processing zsh (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
Can anyone help?
04-13-2007, 09:11 AM
If apt-get -f install
doesn't fix it then you probably have a corrupted status file. Try this:
mv status status.bad
cp status-old status
That should restore the system's original view of the current state.
Note though that whatever was leftover of the broken zsh installation will still be there somewhere in the filesystem, but most of the time this does no harm.
04-13-2007, 01:26 PM
Thank you for your help, but no luck.
I did not work. I have done everything step by step but ... zsh is stil there.
I have tried it with root access without i did not work. I have also tried to reboot, but after the reboot zsh was stil there :( ...
Any other suggestions?
04-13-2007, 01:47 PM
You said you downloaded and installed zsh. Downloaded from where? I don't have it installed, but as far as I can see it's available in a repository: http://maemo-hackers.org/apt bora main
Try to add that, do an update, and install zsh from either the application manager or apt-get install zsh
That is the repo I got it from... :-(
Also - the application manager keeps telling me that zsh can be updated, but when I try I get the same message informing me that the update failed.
Never had that happen with Debian's Synaptic...
Any suggestions as to what to do next?
08-10-2007, 07:14 AM
I've got the same problem on my tablet. To solve that, I've made these actions as root (using ssh in example) :
rm `find / -name *zsh*`
rm -r /etc/zsh
then edit /var/lib/dpkg/status using vi in example
find out zsh-static (press '/' key and type zsh-static and press enter), you will find these lines :
Status: purge reinstall half-installed
replace the word after purge (reinstall or something like that) by ok
now this looks like :
Status: purge ok half-installed
make the same for zsh package :
Status: purge ok half-installed
dpkg --purge zsh-static
dpkg --purge zsh
Your system will be cleaned ! :)
I tried that, but to no avail :-(
I did not have a zsh-static package, the zsh package did not look the same, still, I tried, and got a bunch of errors. I think that this friggin package really messed up my system, but at least the system still works, so for the time being, I give up. thanks for trying though!
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.