Active Topics

 


Reply
Thread Tools
vees's Avatar
Posts: 95 | Thanked: 6 times | Joined on Apr 2007 @ the Imperial Homeland
#1
Hi,

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!

VS
__________________
Motto: chown -R linux:GNU world
http://vineyardsaker.blogspot.com/
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#2
Try 'dpkg --purge zsh' and see if that works out.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
Posts: 15 | Thanked: 1 time | Joined on Apr 2007
#3
Hi

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?
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#4
If apt-get -f install
doesn't fix it then you probably have a corrupted status file. Try this:

cd /var/lib/dpkg/
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.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
Posts: 15 | Thanked: 1 time | Joined on Apr 2007
#5
Hi!

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?
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#6
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
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
vees's Avatar
Posts: 95 | Thanked: 6 times | Joined on Apr 2007 @ the Imperial Homeland
#7
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?
__________________
Motto: chown -R linux:GNU world
http://vineyardsaker.blogspot.com/
 
Posts: 2 | Thanked: 0 times | Joined on Aug 2007
#8
Hi !

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 :
Package: zsh-static
Status: purge reinstall half-installed
...


replace the word after purge (reinstall or something like that) by ok
now this looks like :
Package: zsh-static
Status: purge ok half-installed
...


make the same for zsh package :
Package: zsh
Status: purge ok half-installed
...


finally :
dpkg --purge zsh-static
dpkg --purge zsh


Your system will be cleaned !

Josh
 
vees's Avatar
Posts: 95 | Thanked: 6 times | Joined on Apr 2007 @ the Imperial Homeland
#9
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!
__________________
Motto: chown -R linux:GNU world
http://vineyardsaker.blogspot.com/
 
Reply


 
Forum Jump


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