Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    application management problem

    Reply
    vees | # 1 | 2007-04-12, 18:45 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    TA-t3 | # 2 | 2007-04-13, 11:21 | Report

    Try 'dpkg --purge zsh' and see if that works out.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Garfield360 | # 3 | 2007-04-13, 12:05 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    TA-t3 | # 4 | 2007-04-13, 13:11 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Garfield360 | # 5 | 2007-04-13, 17:26 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    TA-t3 | # 6 | 2007-04-13, 17:47 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    vees | # 7 | 2007-04-13, 18:35 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    joshuameurey | # 8 | 2007-08-10, 11:14 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    vees | # 9 | 2007-08-10, 12:58 | Report

    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!

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout