PDA

View Full Version : Error on doing Update & Upgrade in Kali 2017.1



john400
2017-05-19, 03:59
I am using 64-bit Kali Linux 2017.1 . I have installed Kali for the first time.
The output for


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
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


apt-get remove --purge python-libxslt1

and then


apt-get install python-libxslt1

But the same problem exists. The error doesn't go away. I tried many things like


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


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

The output for
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

grid
2017-05-19, 11:50
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.

_defalt
2017-05-19, 12:30
Show the output of cat /etc/apt/sources.list

error.fix
2017-12-30, 07:46
I got same issue today my issue was with dpkg and iceweasel. I had profiles configed for bot i use to run not sure if it was profiles or what. I need to reboot my windows to 64 bit so ill probly just dual boot latest version anyways. Hopefully save some of my notes before i do. Let us know if u have easy fix.

bigbiz
2017-12-31, 05:38
I am using 64-bit Kali Linux 2017.1 . I have installed Kali for the first time.
The output for


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
apt-get update && apt-get upgrade
I was getting these errors at the bottom



So I tried to reinstall python-libxslt1 package using


apt-get remove --purge python-libxslt1

and then


apt-get install python-libxslt1

But the same problem exists. The error doesn't go away. I tried many things like


apt-get install -f

Output: Got error same as the previous one.



and


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

The output for
ifconfig is:



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

Try to uninstall the program CHIRP, and reinstall . Or not even reinstall. This is a progrma for amateur ham radio users, if you dont have a ham radio chances are you wouldnt even use it anyway.