attify / firmware-analysis-toolkit

Toolkit to emulate firmware and analyse it for security vulnerabilities
MIT License
1.32k stars 252 forks source link

setup.sh fails on fresh kali install due to lsb-core package missing on OS #75

Open ddorando opened 2 years ago

ddorando commented 2 years ago

Hi, I attempted to run setup.sh today on a kali install I did a few days ago, but it failed due to lsb-core package not existing in the package sources.

I noticed that lsb-core is deprecated, and seems to be removed from the repositories. I'll test whether it's actually required or not...

Hellworold commented 2 years ago

Hi, I attempted to run setup.sh today on a kali install I did a few days ago, but it failed due to lsb-core package not existing in the package sources.

I noticed that lsb-core is deprecated, and seems to be removed from the repositories. I'll test whether it's actually required or not...

Hi ddorando,

Is is possible to install without lsb-core, iam running kali and for some reason my setup.sh stops with and error

Package lsb-core is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'lsb-core' has no installation candidate any idea how i can fix it ? I have tried this work around but still not able to install-: https://stackoverflow.com/questions/71191499/lsb-release-has-no-installation-candidate-while-trying-to-install-on-ubuntu-20-0

ddorando commented 1 year ago

Heya, it is possible to install without lsb-core, however I couldn't get other deps to compile. Just remove lsb-core from https://github.com/attify/firmware-analysis-toolkit/blob/master/setup.sh#L5.

hem675 commented 1 year ago

Hi, I attempted to run setup.sh today on a kali install I did a few days ago, but it failed due to lsb-core package not existing in the package sources.

I noticed that lsb-core is deprecated, and seems to be removed from the repositories. I'll test whether it's actually required or not...

Same problem for me.I use parrot OS. Seems like there are no LSB modules.Please fix this..

ddorando commented 1 year ago

So, sorry for the wait. lsb-core or the lsb-* dependencies seem to be not used at all. I'll just create a PR that removes it. Turns out binwalk uses the lsb_release tool for determining the distro itself and distro version. This PR mentioned just checks whether we still need to download lsb-core or not.