Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest docker kali versions seems to have removed python3.9 which breaks make compose #1215

Open
jeanphi72 opened this issue Mar 17, 2023 · 1 comment

Comments

@jeanphi72
Copy link

git clone https://github.com/owtf/owtf
cd owtf
make compose

Expected Behavior

It should compile and finish successfully

Current Behavior

I have the same problem on Ubuntu and MacOS M1 Ventura.

I tried to browse kali for an older tag here:
$ make compose
=> ERROR [ 4/17] RUN apt-get -y install xvfb xserver-xephyr libxml2-dev libxslt-dev libssl-dev zlib1g-dev gcc python-all-dev postgresql-server-dev-all postgresql-client postgresql-client-common postgresq 1.0s

[ 4/17] RUN apt-get -y install xvfb xserver-xephyr libxml2-dev libxslt-dev libssl-dev zlib1g-dev gcc python-all-dev postgresql-server-dev-all postgresql-client postgresql-client-common postgresql libcurl4-openssl-dev proxychains tor ca-certificates libpq-dev libxslt1-dev libldap2-dev libsasl2-dev libffi-dev net-tools lsof locales-all libyaml-dev python3.9 python3.9-dev build-essential python3.9-venv python3-lxml python3-impacket golang-go python3-pip:
#0 0.201 Reading package lists...
#0 0.733 Building dependency tree...
#0 0.845 Reading state information...
#0 1.012 E: Unable to locate package python3.9
#0 1.012 E: Couldn't find any package by glob 'python3.9'
#0 1.012 E: Couldn't find any package by regex 'python3.9'
#0 1.013 E: Unable to locate package python3.9-dev
#0 1.013 E: Couldn't find any package by glob 'python3.9-dev'
#0 1.013 E: Couldn't find any package by regex 'python3.9-dev'
#0 1.013 E: Unable to locate package python3.9-venv
#0 1.013 E: Couldn't find any package by glob 'python3.9-venv'
#0 1.013 E: Couldn't find any package by regex 'python3.9-venv'

Possible Solution

I wanted to fix the version of kali but it seems kali do not maintain older versions:
curl -L -s 'https://registry.hub.docker.com/v2/repositories/kalilinux/kali-rolling/tags?page_size=1024' |jq '."results"[]["name"]'

"latest"
"amd64"
"arm64"
"armhf"
"armel"
"i386"

Steps to Reproduce (for bugs)

git clone https://github.com/owtf/owtf
cd owtf
make compose

Context

I want to evaluate owtf

Your Environment

I tried on Mac OS Ventura M1 and Ubuntu (latest release)

@1n1t6Sh3ll
Copy link

1n1t6Sh3ll commented Mar 27, 2023

/assign i have made a PR with fix.
Just change version from 3.9 to 3 in Docker/Dockerfile

@ph1ne4s ph1ne4s mentioned this issue Mar 28, 2023
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants