PDA

View Full Version : Kali Docker Full Install Error



cyrus104
2015-12-14, 02:28
I started with the docker that Kali offers:
muts@macbook-air:~$ docker pull kalilinux/kali-linux-docker
muts@macbook-air:~$ docker run -t -i kalilinux/kali-linux-docker /bin/bash

The commands I've run so far and my current issue.
apt-get update
apt-get upgrade
apt-get install kali-linux-all

Error:
Processing triggers for menu (2.1.47) ...
Errors were encountered while processing:
uhd-host
gqrx
kali-linux-sdr
kali-linux-full
kali-linux-wireless
kali-linux-all
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@ecaf67e69a63:/# apt-get install uhd-host
Reading package lists... Done
Building dependency tree
Reading state information... Done
uhd-host is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
6 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up uhd-host (3.7.3-1) ...
sysctl: cannot stat /proc/sys/net/core/rmem_max: No such file or directory
sysctl: cannot stat /proc/sys/net/core/wmem_max: No such file or directory
dpkg: error processing package uhd-host (--configure):
subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of gqrx:
gqrx depends on uhd-host; however:
Package uhd-host is not configured yet.

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

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

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

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

dpkg: error processing package kali-linux-all (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
uhd-host
gqrx
kali-linux-sdr
kali-linux-full
kali-linux-wireless
kali-linux-all

powerstorm42
2015-12-14, 20:35
Any luck with fixing this bug? I'm encountering the same issue. The only other thing I found relevant to this is: http://askubuntu.com/questions/673313/how-to-get-fully-options-at-proc-sys-net-in-dockers-ubuntu but it wasn't particularly helpful.

powerstorm42
2015-12-14, 22:22
When setting it up, try running the image with more flags: docker run -it --net="host" --privileged kalilinux/kali-linux-docker /bin/bash

cyrus104
2015-12-15, 02:16
I'm in the process of testing it now. I hope that works but not sure what the net command would do to resolve the errors that we have been getting.

I'm not sure if there is a maximum file size for an image or container.

Ajit
2015-12-17, 09:11
Your problem may be caused by broken packages.