e-m-b-a / emba

EMBA - The firmware security analyzer
https://www.securefirmware.de
GNU General Public License v3.0
2.65k stars 231 forks source link

Installer fails due to libssl issues when installing mongodb-org-* stuff #260

Closed HanEmile closed 2 years ago

HanEmile commented 2 years ago

Describe the bug I wanted to try out emba after the talk at troopers, but mongodb org stuff can't be built due to some libssl issued (see the output of the installer at the very bottom of this issue)

To Reproduce Steps to reproduce the behavior:

  1. EMBA installation (dev-mode/default mode) I cloned the repo and executed sudo ./installer.sh -d (It's a yolo vm)
  2. Use the firmware available here:
  3. Start EMBA with the following parameters: sudo ./emba.sh
  4. See error

Expected behavior The installer should run through without problems

Screenshots (output of installer at the very bottom)

Desktop (please complete the following information):

Additional context

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mongodb-org-mongos : Depends: libssl1.1 (>= 1.1.0) but it is not installable
 mongodb-org-server : Depends: libssl1.1 (>= 1.1.0) but it is not installable
 mongodb-org-shell : Depends: libssl1.1 (>= 1.1.0) but it is not installable
E: Unable to correct problems, you have held broken packages.
------------------------------------------------------------------------------------------------
Error detected - status code 100
Command:  echo -e "Command:  $ORANGE$BASH_COMMAND$NC"
Location:  ./installer/IF20_cve_search.sh, line 112
Stack Trace:
    [1] IF20_cve_search(): ./installer/IF20_cve_search.sh, line 112 -> IF20_cve_search
    [2] main(): ./installer.sh, line 191 -> main -d

Important: Consider filling out a bug report at https://github.com/e-m-b-a/emba/issues

------------------------------------------------------------------------------------------------
HanEmile commented 2 years ago

Same for the 1.0.1 release

m-1-k-3 commented 2 years ago

Currently we only support Kali Linux as host (see the prereq here https://github.com/e-m-b-a/emba/wiki/Installation#prerequisites).

But, we are working on supporting Ubuntu also ... And I think your issue is already addressed here https://github.com/e-m-b-a/emba/pull/258

HanEmile commented 2 years ago

maybe then replace the "strongly recommend" phrase in the prerequisites wiki page by "require".

m-1-k-3 commented 2 years ago

Indeed. Will do this. In the meantime you could give the PR a try if this solves your issue

m-1-k-3 commented 2 years ago

The documentation is now fixed. I will do some tests of the PR the next days.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 14 days with no activity.

m-1-k-3 commented 2 years ago

From now on EMBA should install quite fine on Ubuntu ubuntu:jammy (22.04 LTS)