dpdug4n/kali_browser

ERROR: Service 'kali' failed to build : Build failed

Opened this issue · 1 comments

root@server-virtual-machine:~/kali_browser# docker-compose up
Creating network "kali_browser_default" with the default driver
Building kali
[+] Building 11.1s (8/15)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 532B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/kalilinux/kali-rolling:latest 1.3s
=> [ 1/11] FROM docker.io/kalilinux/kali-rolling@sha256:b7192b9c0d0c0e31 3.9s
=> => resolve docker.io/kalilinux/kali-rolling@sha256:b7192b9c0d0c0e3140 0.0s
=> => sha256:135b7dd46a44f51f0593d260b50ca912464b3aaf0 53.58MB / 53.58MB 1.5s
=> => sha256:b7192b9c0d0c0e3140d08117a6defc7c82eb1bdacd7 1.08kB / 1.08kB 0.0s
=> => sha256:5decfc4a3654391a58114e7bf1df1c7d97d892df4388bbc 529B / 529B 0.0s
=> => sha256:cc0a6f59877e0b6aaf5e4d12f878fbc449291d94819 2.74kB / 2.74kB 0.0s
=> => extracting sha256:135b7dd46a44f51f0593d260b50ca912464b3aaf03bc7726 2.2s
=> [internal] load build context 0.0s
=> => transferring context: 1.20kB 0.0s
=> [ 2/11] RUN apt-get update 3.0s
=> [ 3/11] RUN apt-get -y upgrade 1.3s
=> ERROR [ 4/11] RUN apt-get -y install kali-linux-core 1.5s

[ 4/11] RUN apt-get -y install kali-linux-core:
#7 0.414 Reading package lists...
#7 1.168 Building dependency tree...
#7 1.288 Reading state information...
#7 1.357 Some packages could not be installed. This may mean that you have
#7 1.357 requested an impossible situation or if you are using the unstable
#7 1.357 distribution that some required packages have not yet been created
#7 1.357 or been moved out of Incoming.
#7 1.357 The following information may help to resolve the situation:
#7 1.357
#7 1.357 The following packages have unmet dependencies:
#7 1.430 libncurses6 : Depends: libtinfo6 (= 6.3-2) but 6.3+20220423-2 is to be installed
#7 1.430 Recommends: libgpm2 but it is not going to be installed
#7 1.430 libncursesw6 : Depends: libtinfo6 (= 6.3-2) but 6.3+20220423-2 is to be installed
#7 1.430 Recommends: libgpm2 but it is not going to be installed
#7 1.435 E: Unable to correct problems, you have held broken packages.


executor failed running [/bin/sh -c apt-get -y install kali-linux-core]: exit code: 100
ERROR: Service 'kali' failed to build : Build failed

Just rebuilt the image didn't have any dependency issues.

It may have been an upstream issue.

I do not manage any of the package dependencies this stack relies on. If the issue persists on your end, contacting the dependency owner or applying some GoogleFu would be your best route.

Also, if your on Windows check out Win-KeX. It provides more functionality than this stack.