-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Installation failure on ARM64 #1
Comments
Hi @lkkkiki, could you please fill out the missing details about your host and/or guest OS? |
Debian with kali arm64 aarch64 GNU/Linux |
Not sure what you mean by Debian with Kali, but I'm assuming you're running this on Apple Silicon? Please edit line 34 as follows: - debootstrap --variant=minbase --include=binutils,make,gcc-5,build-essential,gcc-multilib xenial /var/lib/machines/"$container" http://archive.ubuntu.com/ubuntu
+ debootstrap --variant=minbase --arch=amd64 --foreign --second-stage --include=binutils,make,gcc-5,build-essential,gcc-multilib xenial /var/lib/machines/"$container" http://archive.ubuntu.com/ubuntu Let me know if this does it for you |
seems it does not build the image [+] Building minimal Ubuntu 16.04 image at: /var/lib/machines/test E: --foreign is specified with --second-stage, please use only one of those options. |
running on M1 with parallel desktop |
Experiment with removing either the |
but i didnt include these tags when running ./spawn.sh. |
Because we're still editing line 34. |
oh yes. works now. thank you! |
Which flag did you keep? |
let me try to compile. i keep foreign tag |
seems gcc is missing. |
I'll need to see the installation output in a source code snippet |
I: Retrieving InRelease |
Looks like the process didn't finish successfully. Please try again using another machine name |
@lkkkiki matter of fact, could you just keep the |
still cannot use gcc. already removed --foreign and --second-stage |
|
iU gcc-6-base:amd64 6.0.1-0ubuntu1 amd64 GCC, the GNU Compiler Collection (base package) |
|
i tried grep before. no gcc is found |
Let's try including |
remove it and build again? |
Yes, please. Don't forget to include the flag in line 34 |
[+] Creating necessary build directories and configuring permissions [+] Building minimal Ubuntu 16.04 image at: /var/lib/machines/xenial cat: /usr/share/debootstrap/suite: No such file or directory |
There's not really much I can do atm without access to hardware. Please feel free to try other options like Docker or the likes, and I'll see if I can ask someone for help with testing. |
thank you |
I can't get this to support ARM atm, so I'm afraid I will have to close this issue for now. Apologies for the inconvenience! |
Describe the bug
Couldn't download http://archive.ubuntu.com/ubuntu/dists/xenial/main/binary-arm64/Packages when run ./spawn.sh test
To Reproduce
└─$ sudo ./spawn.sh test
[+] Installing required packages
Hit:1 http://kali.cs.nycu.edu.tw/kali kali-rolling InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
[+] Creating necessary build directories and configuring permissions
[+] Building minimal Ubuntu 16.04 image at: /var/lib/machines/test
[!] This might take a while
I: Target architecture can be executed
W: Cannot check Release signature; keyring file not available /usr/share/keyrings/ubuntu-archive-keyring.gpg
I: Retrieving Packages
I: Retrieving Packages
I: Retrieving Packages
E: Couldn't download http://archive.ubuntu.com/ubuntu/dists/xenial/main/binary-arm64/Packages
The text was updated successfully, but these errors were encountered: