e-m-b-a / embark

EMBArk - The firmware security scanning environment
https://www.securefirmware.de
MIT License
319 stars 46 forks source link

Installation does not work #145

Closed torabi12 closed 1 year ago

torabi12 commented 1 year ago

Describe the bug I used a new Ubuntu Server 22.04.3 VM for EMBArk installation, but at the beginning (Dependency check section) it gave the prompt back with these errors:

kép

To Reproduce Steps to reproduce the behavior:

  1. EMBArk installation (default mode)
  2. See error

Expected behavior Installation should go on.

Screenshots See above.

Desktop (please complete the following information):

BenediktMKuehne commented 1 year ago

Will check that as soon as I'm able too

BenediktMKuehne commented 1 year ago

The problem here is the wrong EMBA version

Do a: git submodule init followed by git submodule update --remote

before installing

0rShemesh commented 1 year ago

The problem here is the wrong EMBA version

Do a: git submodule init followed by git submodule update --remote

before installing

Doesn't work. still same problem.

BenediktMKuehne commented 1 year ago

Could you provide me with the installation log. Either the terminal output OR emba/install.log

torabi12 commented 1 year ago

I did also the same but got the above errors again.

kép

$ sudo ./installer.sh -d

kép

kép

and the log file from the system: install.log

0rShemesh commented 1 year ago

I did also the same but got the above errors again.

kép

$ sudo ./installer.sh -d

kép

kép

and the log file from the system: install.log

Turns out that the command file not built-in command on Ubuntu Server 22.04.3 LTS and you should install that before installing EMBA.ark (file command requires by EMBA) By:

sudo apt-get install -y file

But installing file solve part of the problem.

@BenediktMKuehne I've the same error as @torabi12 when I'm trying to reinstall in the second attempt.

After reinstall EMBArk the apt become corrupted (no matter how many I've changed the sources.list it still not work)

BenediktMKuehne commented 1 year ago

I did also the same but got the above errors again.

kép

$ sudo ./installer.sh -d

kép

kép

and the log file from the system: install.log

That's an issue with your apt package manager and not directly related to EMBA or EMBArk.

All I can do is recommend switching to the main ubuntu update servers. As long as sudo apt update doesn't work the installation will not work correctly.

BenediktMKuehne commented 1 year ago

This might help: image image

0rShemesh commented 1 year ago

I did also the same but got the above errors again. kép $ sudo ./installer.sh -d kép kép and the log file from the system: install.log

That's an issue with your apt package manager and not directly related to EMBA or EMBArk.

All I can do is recommend switching to the main ubuntu update servers. As long as sudo apt update doesn't work the installation will not work correctly.

That's incorrect it related to EMBA . After EMBA failed to install this error accured .

Edit: I guess the error accured because one of the Installers: https://github.com/e-m-b-a/emba/tree/master/installer

BenediktMKuehne commented 1 year ago

@0rShemesh please open a separate (new) issue for the file dependency

The issues might be related, but don't appear to be the same.

torabi12 commented 1 year ago

I did also the same but got the above errors again. kép $ sudo ./installer.sh -d kép kép and the log file from the system: install.log

Turns out that the command file not built-in command on Ubuntu Server 22.04.3 LTS and you should install that before installing EMBA.ark (file command requires by EMBA) By:

sudo apt-get install -y file

But installing file solve part of the problem.

@BenediktMKuehne I've the same error as @torabi12 when I'm trying to reinstall in the second attempt.

After reinstall EMBArk the apt become corrupted (no matter how many I've changed the sources.list it still not work)

It seems to me that file is available by default on Ubuntu Server 22.04.3: kép

torabi12 commented 1 year ago

I did also the same but got the above errors again. kép $ sudo ./installer.sh -d kép kép and the log file from the system: install.log

That's an issue with your apt package manager and not directly related to EMBA or EMBArk.

All I can do is recommend switching to the main ubuntu update servers. As long as sudo apt update doesn't work the installation will not work correctly.

I think the apt works fine on my side: kép

torabi12 commented 1 year ago

This might help: image image

I tried the us.archive.ubuntu.com and the main server also but did not work, I got the same errors like before and the EMBArk installation terminated. This is the log from emba: install.log

Before EMBArk installation the apt update / apt upgrade commands work fine for HU, US and Main mirrors, but in the EMBA installer don't on my side.

0rShemesh commented 1 year ago

After check EMBAark the Automated install doesn't work on Kali-Linux latest clean image

torabi12 commented 1 year ago

After check EMBAark the Automated install doesn't work on Kali-Linux latest clean image

EMBArk needs Ubuntu Server OS, see the wiki: https://github.com/e-m-b-a/embark/wiki/Installation#prerequisites

0rShemesh commented 1 year ago

After check EMBAark the Automated install doesn't work on Kali-Linux latest clean image

EMBArk needs Ubuntu Server OS, see the wiki: https://github.com/e-m-b-a/embark/wiki/Installation#prerequisites

Yah but the Automated installation broken on ubuntu. I'm just trying to boot it up.

torabi12 commented 1 year ago

I think this will solve the problem soon: https://github.com/e-m-b-a/emba/issues/765

torabi12 commented 1 year ago

EMBArk installation on Ubuntu Server is working again:) install.log

Thank you the fix!

0rShemesh commented 1 year ago

Currently I've bug with the cve-search It always fails to find it