Results 1 to 4 of 4

Thread: Update issue - broken package

  1. #1
    Join Date
    2013-Aug
    Posts
    25

    Update issue - broken package

    Kali 2016.2 x 32


    My laptop shut down unexpectantly while updates were running, and when I try running them again it complains of a broken package I have tried to both install and remove the broken package but not having any luck.

    The package is wfuzz, and when running apt-get upgrade the error is:

    Errors were encountered while processing:
    wfuzz



    Then if I try to remove it using:
    apt-get remove wfuzz

    I get an error:

    dpkg: error processing package wfuzz (--remove):
    package is in a very bad inconsistent state; you should reinstall it before attempting removal




    So then I try:
    apt-get install wfuzz

    and get the exact same error as when I tried to remove it.


    Any suggestions on fixing this issue?


    Thanks in advance.

  2. #2
    Join Date
    2013-Apr
    Location
    Kali forums
    Posts
    805
    I'd manually delete the directory, then run apt-get remove wfuzz, and see if that does the trick

  3. #3
    Join Date
    2013-Aug
    Posts
    25
    Quote Originally Posted by grid View Post
    I'd manually delete the directory, then run apt-get remove wfuzz, and see if that does the trick
    Unfortunately that didn't work, I deleted the directory but still can't remove or install.

  4. #4
    Join Date
    2013-Aug
    Posts
    25
    Finally found something that worked, from here:
    http://askubuntu.com/questions/14871...nt-state-error


    SOLUTION


    Remove the broken package via the following command:
    sudo dpkg --remove --force-remove-reinstreq <package>

    Install the package again:

    sudo apt-get install <package>

Similar Threads

  1. Replies: 0
    Last Post: 2022-06-15, 19:29
  2. Kali broken package
    By Abrarlodhi in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2021-11-05, 13:02
  3. iwlwifi broken after last update
    By grisutheguru in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2020-04-22, 10:17
  4. Broken installation- unmet dependency of package libreoffice
    By mithz in forum TroubleShooting Archive
    Replies: 4
    Last Post: 2017-12-18, 04:02
  5. Need Help with broken package
    By xe1phex in forum General Archive
    Replies: 0
    Last Post: 2014-06-30, 16:45

Posting Permissions

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