Results 1 to 10 of 10

Thread: apt-get and synaptic broken

Threaded View

  1. #1
    Join Date
    Oct 2012
    Beans
    19

    Question apt-get and synaptic broken

    Somehow i installed a 32bit deb to 64bit Xubuntu using Ubuntu Software Center. Tho it failed, it breaks my apt-get. Now apt-get stuck, refused to do anything before the problem fixed.

    I tried to fix broken package using Synaptic, resulting in this error:

    dpkg: error processing bandwidthd:i386 (--remove):
    Package is in a very bad inconsistent state - you should
    reinstall it before attempting a removal.
    Errors were encountered while processing:
    bandwidthd:i386
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    A package failed to install. Trying to recover:
    Tried "apt-get -f install", result in other error:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following package was automatically installed and is no longer required:
    libpcap0.8:i386
    Use 'apt-get autoremove' to remove them.
    The following extra packages will be installed:
    libpcap0.8:i386
    The following packages will be REMOVED:
    bandwidthd:i386
    The following NEW packages will be installed:
    libpcap0.8:i386
    0 upgraded, 1 newly installed, 1 to remove and 7 not upgraded.
    1 not fully installed or removed.
    Need to get 0 B/117 kB of archives.
    After this operation, 88.1 kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    dpkg: error processing bandwidthd:i386 (--remove):
    Package is in a very bad inconsistent state - you should
    reinstall it before attempting a removal.
    Errors were encountered while processing:
    bandwidthd:i386
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    So i tried to reinstall as its requested, only to get another error:
    sudo apt-get install bandwidthd:i386
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    bandwidthd:i386 : Depends: libpcap0.8:i386 (>= 0.9.8) but it is not going to be installed
    Depends: ucf:i386 but it is not installable
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    What should i do now?

    - - - - - EDIT, Solved - - - - - -
    sudo gedit /var/lib/dpkg/status

    then remove all segment mentioned the culprit.

    Solved.
    Last edited by kruget; December 2nd, 2012 at 09:13 AM. Reason: add solution

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •