BlackArch / blackarch

An ArchLinux based distribution for penetration testers and security researchers.
https://www.blackarch.org
Other
2.78k stars 553 forks source link

add aarch64 compatibility for all dependencies #3338

Open moham96 opened 2 years ago

moham96 commented 2 years ago

Bug description

Can't install blackarch on top of an aarch64 archlinuxarm base (virtual machine)

Steps to reproduce

Expected result: Describe here what should happen after you run the steps above (i.e. what would be the correct behaviour)

The packages should install fine

Screenshots

Info for developers

Device: Apple macbook air m1 2020 GNU/Linux distribution: Host is MacOS 12.2.1 Guest is archlinuxarm inside a UTM virtual machine Tool version: N/A

Link to debug log

https://www.toptal.com/developers/hastebin/ahuhabuyej.yaml

noraj commented 2 years ago

I'm not sure but this section states that it requires a platform listed here and MAC M1 are not.

moham96 commented 2 years ago

@noraj i'm not running it on native m1, it's running as a generic aarch64 VM so it is supported, my guess is there is a problem with the packaging not with anything related to the platform

moham96 commented 2 years ago

Just to be sure I downloaded ArchLinuxARM-aarch64-latest.tar.gz and run it in a chroot inside a Ryzen 5 x86 machine(to find if the m1 is the culprit) and the same problem exists

ikstream commented 2 years ago

Thank you for reporting, we identified the problem, but it will take a moment to address it.

moham96 commented 2 years ago

@ikstream can we have more info about the issue ? is it on blackarch side? on archlinuxarm side? any ETA?

Regards

ikstream commented 2 years ago

It's a problem on our side. While the packages have arch=any they are not in the alarm repos. So we need to package and test them for aarch64. We are currently looking to release a new x86 iso and the aarch64 user share seems to be relatively small so far. Nevertheless we will take care of the issue as soon as possible, but the priority is on x86.

It should be possible to install individual tools however.

noraj commented 2 years ago

Never do pacman -S blackarch it is useless and will never work anyway on any platform as there will always be at least one tool failing among 2800+ tools.

ikstream commented 2 years ago

As this is still an issue we need to address and not all dependencies are available on aarch64, I would keep this issue open until it's fixed.

moham96 commented 2 years ago

Never do pacman -S blackarch it is useless and will never work anyway on any platform as there will always be at least one tool failing among 2800+ tools.

pacman -S blackarch is mentioned in the docs, if it doesn't work it shouldn't be there. There should not be a tool failing to install since we are not building from source so every tool should ideally be possible to install with no problem.

Regards

ikstream commented 2 years ago

You are not building from source, but we do for packaging (for some).

There is a discussion to remove the mentioned line from docs.

noraj commented 2 years ago

pacman -S blackarch has been removed from the doc https://github.com/BlackArch/blackarch-site/pull/152