danielpoliakov / lisa

Sandbox for automated Linux malware analysis.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build fail

mperov opened this issue · comments

Hello LiSa developers,
I cloned your project and tried to build docker, but got error:

$ git clone https://github.com/danieluhricek/lisa
Cloning into 'lisa'...
remote: Enumerating objects: 247, done.
remote: Total 247 (delta 0), reused 0 (delta 0), pack-reused 247
Receiving objects: 100% (247/247), 3.87 MiB | 0 bytes/s, done.
Resolving deltas: 100% (68/68), done.
$ docker-compose build
....
Step 10/11 : RUN pip install -r requirements.txt     && iprange -j data/blacklists/* > data/ipblacklist     && ./docker/worker/maxmind.sh $maxmind_key     && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false     git     gcc     g++     make     patch     && rm -rf /var/lib/apt/lists/*     && rm -rf /radare2/.git
 ---> Running in 5249358453cd
Collecting click==7.0
  Downloading Click-7.0-py2.py3-none-any.whl (81 kB)
Collecting disspcap==1.1.1
  Downloading disspcap-1.1.1.tar.gz (19 kB)
Collecting r2pipe==1.5.3
  Downloading r2pipe-1.5.3.tar.gz (9.1 kB)
Collecting pexpect==4.2.1
  Downloading pexpect-4.2.1-py2.py3-none-any.whl (55 kB)
Collecting geoip2==2.9.0
  Downloading geoip2-2.9.0-py2.py3-none-any.whl (18 kB)
Collecting flask==1.0.2
  Downloading Flask-1.0.2-py2.py3-none-any.whl (91 kB)
Collecting flask-cors===3.0.9
  Downloading Flask_Cors-3.0.9-py2.py3-none-any.whl (14 kB)
ERROR: Could not find a version that satisfies the requirement celery==5.2.2 (from versions: 0.1.2, 0.1.4, 0.1.6, 0.1.7, 0.1.8, 0.1.10, 0.1.11, 0.1.12, 0.1.13, 0.1.14, 0.1.15, 0.2.0, 0.3.0, 0.3.7, 0.3.20, 0.4.0, 0.4.1, 0.6.0, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 2.0.0, 2.0.1, 2.0.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4, 5.0.5, 5.0.6, 5.1.0b1, 5.1.0b2, 5.1.0rc1, 5.1.0, 5.1.1, 5.1.2, 5.2.0b1, 5.2.0b2, 5.2.0b3)
ERROR: No matching distribution found for celery==5.2.2
WARNING: You are using pip version 21.2.4; however, version 21.3.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
ERROR: Service 'worker' failed to build: The command '/bin/sh -c pip install -r requirements.txt     && iprange -j data/blacklists/* > data/ipblacklist     && ./docker/worker/maxmind.sh $maxmind_key     && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false     git     gcc     g++     make     patch     && rm -rf /var/lib/apt/lists/*     && rm -rf /radare2/.git' returned a non-zero code: 1

By the way I use CentOS 7.9

After success updating I got this error:

Step 10/11 : RUN /usr/local/bin/python -m pip install --upgrade pip     && pip install -r requirements.txt     && iprange -j data/blacklists/* > data/ipblacklist     && ./docker/worker/maxmind.sh $maxmind_key     && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false     git     gcc     g++     make     patch     && rm -rf /var/lib/apt/lists/*     && rm -rf /radare2/.git
 ---> Running in bfe1d808dd6d
Requirement already satisfied: pip in /usr/local/lib/python3.6/site-packages (21.2.4)
Collecting pip
  Downloading pip-21.3.1-py3-none-any.whl (1.7 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 21.2.4
    Uninstalling pip-21.2.4:
      Successfully uninstalled pip-21.2.4
Successfully installed pip-21.3.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Collecting click==7.0
  Downloading Click-7.0-py2.py3-none-any.whl (81 kB)
Collecting disspcap==1.1.1
  Downloading disspcap-1.1.1.tar.gz (19 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting r2pipe==1.5.3
  Downloading r2pipe-1.5.3.tar.gz (9.1 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting pexpect==4.2.1
  Downloading pexpect-4.2.1-py2.py3-none-any.whl (55 kB)
Collecting geoip2==2.9.0
  Downloading geoip2-2.9.0-py2.py3-none-any.whl (18 kB)
Collecting flask==1.0.2
  Downloading Flask-1.0.2-py2.py3-none-any.whl (91 kB)
Collecting flask-cors===3.0.9
  Downloading Flask_Cors-3.0.9-py2.py3-none-any.whl (14 kB)
ERROR: Could not find a version that satisfies the requirement celery==5.2.2 (from versions: 0.1.2, 0.1.4, 0.1.6, 0.1.7, 0.1.8, 0.1.10, 0.1.11, 0.1.12, 0.1.13, 0.1.14, 0.1.15, 0.2.0, 0.3.0, 0.3.7, 0.3.20, 0.4.0, 0.4.1, 0.6.0, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.2.6, 2.2.7, 2.2.8, 2.2.9, 2.2.10, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.5, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.0.7, 3.0.8, 3.0.9, 3.0.10, 3.0.11, 3.0.12, 3.0.13, 3.0.14, 3.0.15, 3.0.16, 3.0.17, 3.0.18, 3.0.19, 3.0.20, 3.0.21, 3.0.22, 3.0.23, 3.0.24, 3.0.25, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.1.5, 3.1.6, 3.1.7, 3.1.8, 3.1.9, 3.1.10, 3.1.11, 3.1.12, 3.1.13, 3.1.14, 3.1.15, 3.1.16, 3.1.17, 3.1.18, 3.1.19, 3.1.20, 3.1.21, 3.1.22, 3.1.23, 3.1.24, 3.1.25, 3.1.26.post1, 3.1.26.post2, 4.0.0rc3, 4.0.0rc4, 4.0.0rc5, 4.0.0rc6, 4.0.0rc7, 4.0.0, 4.0.1, 4.0.2, 4.1.0, 4.1.1, 4.2.0rc1, 4.2.0rc2, 4.2.0rc3, 4.2.0rc4, 4.2.0, 4.2.1, 4.2.2, 4.3.0rc1, 4.3.0rc2, 4.3.0rc3, 4.3.0, 4.3.1, 4.4.0rc1, 4.4.0rc2, 4.4.0rc3, 4.4.0rc4, 4.4.0rc5, 4.4.0, 4.4.1, 4.4.2, 4.4.3, 4.4.4, 4.4.5, 4.4.6, 4.4.7, 5.0.0a1, 5.0.0a2, 5.0.0b1, 5.0.0rc1, 5.0.0rc2, 5.0.0rc3, 5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.0.6, 5.1.0b1, 5.1.0b2, 5.1.0rc1, 5.1.0, 5.1.1, 5.1.2, 5.2.0b1, 5.2.0b2, 5.2.0b3)
ERROR: No matching distribution found for celery==5.2.2
ERROR: Service 'worker' failed to build: The command '/bin/sh -c /usr/local/bin/python -m pip install --upgrade pip     && pip install -r requirements.txt     && iprange -j data/blacklists/* > data/ipblacklist     && ./docker/worker/maxmind.sh $maxmind_key     && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false     git     gcc     g++     make     patch     && rm -rf /var/lib/apt/lists/*     && rm -rf /radare2/.git' returned a non-zero code: 1

I resolved it by this patch:

diff --git a/requirements.txt b/requirements.txt
index 92712c0..8e2643d 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -5,7 +5,7 @@ pexpect==4.2.1
 geoip2==2.9.0
 flask==1.0.2
 flask-cors===3.0.9
-celery==5.2.2
+celery
 rabbitmq==0.2.0
 sqlalchemy==1.3.0
 pymysql==0.9.3

Could I commit this change?

commented

I resolved it by this patch:

diff --git a/requirements.txt b/requirements.txt
index 92712c0..8e2643d 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -5,7 +5,7 @@ pexpect==4.2.1
 geoip2==2.9.0
 flask==1.0.2
 flask-cors===3.0.9
-celery==5.2.2
+celery
 rabbitmq==0.2.0
 sqlalchemy==1.3.0
 pymysql==0.9.3

Could I commit this change?

thank you big bro, it works for me.

@coffeehb you are welcome, bro!

I'm using Remnux (Ubuntu 20.04.6 LTS) and had the same problem.
Changing from celery=5.2.2 to celery fixed the problem.