Results 1 to 3 of 3

Thread: Error on doing Update & Upgrade in Kali 2017.1

  1. #1
    Junior Member
    Join Date
    May 2017
    Posts
    1

    Exclamation Error on doing Update & Upgrade in Kali 2017.1

    I am using 64-bit Kali Linux 2017.1 . I have installed Kali for the first time.
    The output for

    Code:
    uname -a
    Linux codex 4.6.0-kali1-amd64 #1 SMP Debian 4.6.4-1kali1 (2016-07-21) x86_64 GNU/Linux

    After running
    Code:
    apt-get update && apt-get upgrade
    I was getting these errors at the bottom

    dpkg: error processing package python-libxslt1 (--configure):
    package is in a very bad inconsistent state; you should
    reinstall it before attempting configuration
    Processing triggers for gnome-menus (3.13.3-9) ...
    dpkg: dependency problems prevent configuration of chirp:
    chirp depends on python-libxslt1; however:
    Package python-libxslt1 is not configured yet.

    dpkg: error processing package chirp (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of kali-linux-full:
    kali-linux-full depends on chirp; however:
    Package chirp is not configured yet.

    dpkg: error processing package kali-linux-full (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    python-libxslt1
    chirp
    kali-linux-full
    So I tried to reinstall python-libxslt1 package using

    Code:
    apt-get remove --purge python-libxslt1
    and then

    Code:
    apt-get install python-libxslt1
    But the same problem exists. The error doesn't go away. I tried many things like

    Code:
    apt-get install -f
    Output: Got error same as the previous one.

    dpkg: error processing package python-libxslt1 (--configure):
    package is in a very bad inconsistent state; you should
    reinstall it before attempting configuration
    dpkg: dependency problems prevent configuration of chirp:
    chirp depends on python-libxslt1; however:
    Package python-libxslt1 is not configured yet.

    dpkg: error processing package chirp (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of kali-linux-full:
    kali-linux-full depends on chirp; however:
    Package chirp is not configured yet.

    dpkg: error processing package kali-linux-full (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    python-libxslt1
    chirp
    kali-linux-full
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    and

    Code:
    dpkg --configure -a
    But the same error as previous one.

    The output for
    Code:
    ifconfig
    is:

    eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
    ether c8:0a:a9:d2:bf:d3 txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10<host>
    loop txqueuelen 1 (Local Loopback)
    RX packets 18 bytes 1058 (1.0 KiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 18 bytes 1058 (1.0 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 192.168.0.5 netmask 255.255.255.0 broadcast 192.168.0.255
    inet6 fe80::7ae4:ff:fe6f:e0e6 prefixlen 64 scopeid 0x20<link>
    ether 78:e4:00:6f:e0:e6 txqueuelen 1000 (Ethernet)
    RX packets 178182 bytes 248471844 (236.9 MiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 101087 bytes 10917012 (10.4 MiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    but it was of no use. I also checked other dpkg errors question here but it wasn't of much help.I can't understand why does it show error even on a new installation. If any further edits are required please tell me so that I can quickly edit the post. Any help will be appreciated. I am getting frustrated of seeing the error again and again.Thanks

  2. #2
    Senior Member
    Join Date
    Apr 2013
    Location
    in a computer
    Posts
    654
    While it's a rather brutal approach, you can try apt install kali-linux-full, which should fix things. I'd back up any crucial data first.

  3. #3
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    619
    Show the output of cat /etc/apt/sources.list

Tags for this Thread

Posting Permissions

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