Skip to content
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

Closed
lkkkiki opened this issue May 21, 2023 · 28 comments
Closed

[BUG] Installation failure on ARM64 #1

lkkkiki opened this issue May 21, 2023 · 28 comments
Assignees
Labels
bug Something isn't working

Comments

@lkkkiki
Copy link

lkkkiki commented May 21, 2023

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

@lkkkiki lkkkiki added the bug Something isn't working label May 21, 2023
@X0RW3LL
Copy link
Owner

X0RW3LL commented May 21, 2023

Hi @lkkkiki, could you please fill out the missing details about your host and/or guest OS?

@lkkkiki
Copy link
Author

lkkkiki commented May 21, 2023

Debian with kali arm64 aarch64 GNU/Linux

@X0RW3LL X0RW3LL changed the title [BUG] INSERT_CONCISE_DESCRIPTION_HERE [BUG] Installation failure on ARM64 May 21, 2023
@X0RW3LL
Copy link
Owner

X0RW3LL commented May 21, 2023

Not sure what you mean by Debian with Kali, but I'm assuming you're running this on Apple Silicon?
I don't have the hardware to test, so you're gonna wanna bear with me as we try to get this right.

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

@lkkkiki
Copy link
Author

lkkkiki commented May 21, 2023

seems it does not build the image
[+] Creating necessary build directories and configuring permissions

[+] Building minimal Ubuntu 16.04 image at: /var/lib/machines/test
[!] This might take a while

E: --foreign is specified with --second-stage, please use only one of those options.

@lkkkiki
Copy link
Author

lkkkiki commented May 21, 2023

running on M1 with parallel desktop

@X0RW3LL
Copy link
Owner

X0RW3LL commented May 21, 2023

Experiment with removing either the --foreign flag, or the --second-stage flag, and update

@lkkkiki
Copy link
Author

lkkkiki commented May 21, 2023

but i didnt include these tags when running ./spawn.sh.

@X0RW3LL
Copy link
Owner

X0RW3LL commented May 21, 2023

Because we're still editing line 34.

@lkkkiki
Copy link
Author

lkkkiki commented May 21, 2023

oh yes. works now. thank you!

@X0RW3LL
Copy link
Owner

X0RW3LL commented May 21, 2023

Which flag did you keep?
Also, please confirm whether or not it works all the way through cross-compilation as well

@lkkkiki
Copy link
Author

lkkkiki commented May 21, 2023

let me try to compile. i keep foreign tag

@lkkkiki
Copy link
Author

lkkkiki commented May 21, 2023

seems gcc is missing.
-bash-4.3# gcc
-bash: gcc: command not found

@X0RW3LL
Copy link
Owner

X0RW3LL commented May 21, 2023

I'll need to see the installation output in a source code snippet

@lkkkiki
Copy link
Author

lkkkiki commented May 21, 2023

I: Retrieving InRelease
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Checking component main on http://archive.ubuntu.com/ubuntu...
I: Retrieving adduser 3.113+nmu3ubuntu4
I: Validating adduser 3.113+nmu3ubuntu4
I: Retrieving apt 1.2.10ubuntu1
I: Validating apt 1.2.10ubuntu1
I: Retrieving base-files 9.4ubuntu4
I: Validating base-files 9.4ubuntu4
I: Retrieving base-passwd 3.5.39
I: Validating base-passwd 3.5.39
I: Retrieving bash 4.3-14ubuntu1
I: Validating bash 4.3-14ubuntu1
I: Retrieving binutils 2.26-8ubuntu2
I: Validating binutils 2.26-8ubuntu2
I: Retrieving bsdutils 1:2.27.1-6ubuntu3
I: Validating bsdutils 1:2.27.1-6ubuntu3
I: Retrieving build-essential 12.1ubuntu2
I: Validating build-essential 12.1ubuntu2
I: Retrieving bzip2 1.0.6-8
I: Validating bzip2 1.0.6-8
I: Retrieving coreutils 8.25-2ubuntu2
I: Validating coreutils 8.25-2ubuntu2
I: Retrieving cpp 4:5.3.1-1ubuntu1
I: Validating cpp 4:5.3.1-1ubuntu1
I: Retrieving cpp-5 5.3.1-14ubuntu2
I: Validating cpp-5 5.3.1-14ubuntu2
I: Retrieving dash 0.5.8-2.1ubuntu2
I: Validating dash 0.5.8-2.1ubuntu2
I: Retrieving debconf 1.5.58ubuntu1
I: Validating debconf 1.5.58ubuntu1
I: Retrieving debianutils 4.7
I: Validating debianutils 4.7
I: Retrieving diffutils 1:3.3-3
I: Validating diffutils 1:3.3-3
I: Retrieving dpkg 1.18.4ubuntu1
I: Validating dpkg 1.18.4ubuntu1
I: Retrieving dpkg-dev 1.18.4ubuntu1
I: Validating dpkg-dev 1.18.4ubuntu1
I: Retrieving e2fslibs 1.42.13-1ubuntu1
I: Validating e2fslibs 1.42.13-1ubuntu1
I: Retrieving e2fsprogs 1.42.13-1ubuntu1
I: Validating e2fsprogs 1.42.13-1ubuntu1
I: Retrieving findutils 4.6.0+git+20160126-2
I: Validating findutils 4.6.0+git+20160126-2
I: Retrieving g++ 4:5.3.1-1ubuntu1
I: Validating g++ 4:5.3.1-1ubuntu1
I: Retrieving g++-5 5.3.1-14ubuntu2
I: Validating g++-5 5.3.1-14ubuntu2
I: Retrieving gcc 4:5.3.1-1ubuntu1
I: Validating gcc 4:5.3.1-1ubuntu1
I: Retrieving gcc-5 5.3.1-14ubuntu2
I: Validating gcc-5 5.3.1-14ubuntu2
I: Retrieving gcc-5-base 5.3.1-14ubuntu2
I: Validating gcc-5-base 5.3.1-14ubuntu2
I: Retrieving gcc-5-multilib 5.3.1-14ubuntu2
I: Validating gcc-5-multilib 5.3.1-14ubuntu2
I: Retrieving gcc-6-base 6.0.1-0ubuntu1
I: Validating gcc-6-base 6.0.1-0ubuntu1
I: Retrieving gcc-multilib 4:5.3.1-1ubuntu1
I: Validating gcc-multilib 4:5.3.1-1ubuntu1
I: Retrieving gnupg 1.4.20-1ubuntu3
I: Validating gnupg 1.4.20-1ubuntu3
I: Retrieving gpgv 1.4.20-1ubuntu3
I: Validating gpgv 1.4.20-1ubuntu3
I: Retrieving grep 2.24-1
I: Validating grep 2.24-1
I: Retrieving gzip 1.6-4ubuntu1
I: Validating gzip 1.6-4ubuntu1
I: Retrieving hostname 3.16ubuntu2
I: Validating hostname 3.16ubuntu2
I: Retrieving init 1.29ubuntu1
I: Validating init 1.29ubuntu1
I: Retrieving init-system-helpers 1.29ubuntu1
I: Validating init-system-helpers 1.29ubuntu1
I: Retrieving initscripts 2.88dsf-59.3ubuntu2
I: Validating initscripts 2.88dsf-59.3ubuntu2
I: Retrieving insserv 1.14.0-5ubuntu3
I: Validating insserv 1.14.0-5ubuntu3
I: Retrieving lib32asan2 5.3.1-14ubuntu2
I: Validating lib32asan2 5.3.1-14ubuntu2
I: Retrieving lib32atomic1 5.3.1-14ubuntu2
I: Validating lib32atomic1 5.3.1-14ubuntu2
I: Retrieving lib32cilkrts5 5.3.1-14ubuntu2
I: Validating lib32cilkrts5 5.3.1-14ubuntu2
I: Retrieving lib32gcc-5-dev 5.3.1-14ubuntu2
I: Validating lib32gcc-5-dev 5.3.1-14ubuntu2
I: Retrieving lib32gcc1 1:6.0.1-0ubuntu1
I: Validating lib32gcc1 1:6.0.1-0ubuntu1
I: Retrieving lib32gomp1 5.3.1-14ubuntu2
I: Validating lib32gomp1 5.3.1-14ubuntu2
I: Retrieving lib32itm1 5.3.1-14ubuntu2
I: Validating lib32itm1 5.3.1-14ubuntu2
I: Retrieving lib32mpx0 5.3.1-14ubuntu2
I: Validating lib32mpx0 5.3.1-14ubuntu2
I: Retrieving lib32quadmath0 5.3.1-14ubuntu2
I: Validating lib32quadmath0 5.3.1-14ubuntu2
I: Retrieving lib32stdc++6 5.3.1-14ubuntu2
I: Validating lib32stdc++6 5.3.1-14ubuntu2
I: Retrieving lib32ubsan0 5.3.1-14ubuntu2
I: Validating lib32ubsan0 5.3.1-14ubuntu2
I: Retrieving libacl1 2.2.52-3
I: Validating libacl1 2.2.52-3
I: Retrieving libapparmor1 2.10.95-0ubuntu2
I: Validating libapparmor1 2.10.95-0ubuntu2
I: Retrieving libapt-pkg5.0 1.2.10ubuntu1
I: Validating libapt-pkg5.0 1.2.10ubuntu1
I: Retrieving libasan2 5.3.1-14ubuntu2
I: Validating libasan2 5.3.1-14ubuntu2
I: Retrieving libatomic1 5.3.1-14ubuntu2
I: Validating libatomic1 5.3.1-14ubuntu2
I: Retrieving libattr1 1:2.4.47-2
I: Validating libattr1 1:2.4.47-2
I: Retrieving libaudit-common 1:2.4.5-1ubuntu2
I: Validating libaudit-common 1:2.4.5-1ubuntu2
I: Retrieving libaudit1 1:2.4.5-1ubuntu2
I: Validating libaudit1 1:2.4.5-1ubuntu2
I: Retrieving libblkid1 2.27.1-6ubuntu3
I: Validating libblkid1 2.27.1-6ubuntu3
I: Retrieving libbz2-1.0 1.0.6-8
I: Validating libbz2-1.0 1.0.6-8
I: Retrieving libc-bin 2.23-0ubuntu3
I: Validating libc-bin 2.23-0ubuntu3
I: Retrieving libc-dev-bin 2.23-0ubuntu3
I: Validating libc-dev-bin 2.23-0ubuntu3
I: Retrieving libc6 2.23-0ubuntu3
I: Validating libc6 2.23-0ubuntu3
I: Retrieving libc6-dev 2.23-0ubuntu3
I: Validating libc6-dev 2.23-0ubuntu3
I: Retrieving libc6-dev-i386 2.23-0ubuntu3
I: Validating libc6-dev-i386 2.23-0ubuntu3
I: Retrieving libc6-dev-x32 2.23-0ubuntu3
I: Validating libc6-dev-x32 2.23-0ubuntu3
I: Retrieving libc6-i386 2.23-0ubuntu3
I: Validating libc6-i386 2.23-0ubuntu3
I: Retrieving libc6-x32 2.23-0ubuntu3
I: Validating libc6-x32 2.23-0ubuntu3
I: Retrieving libcap2 1:2.24-12
I: Validating libcap2 1:2.24-12
I: Retrieving libcap2-bin 1:2.24-12
I: Validating libcap2-bin 1:2.24-12
I: Retrieving libcc1-0 5.3.1-14ubuntu2
I: Validating libcc1-0 5.3.1-14ubuntu2
I: Retrieving libcilkrts5 5.3.1-14ubuntu2
I: Validating libcilkrts5 5.3.1-14ubuntu2
I: Retrieving libcomerr2 1.42.13-1ubuntu1
I: Validating libcomerr2 1.42.13-1ubuntu1
I: Retrieving libcryptsetup4 2:1.6.6-5ubuntu2
I: Validating libcryptsetup4 2:1.6.6-5ubuntu2
I: Retrieving libdb5.3 5.3.28-11
I: Validating libdb5.3 5.3.28-11
I: Retrieving libdebconfclient0 0.198ubuntu1
I: Validating libdebconfclient0 0.198ubuntu1
I: Retrieving libdevmapper1.02.1 2:1.02.110-1ubuntu10
I: Validating libdevmapper1.02.1 2:1.02.110-1ubuntu10
I: Retrieving libdpkg-perl 1.18.4ubuntu1
I: Validating libdpkg-perl 1.18.4ubuntu1
I: Retrieving libfdisk1 2.27.1-6ubuntu3
I: Validating libfdisk1 2.27.1-6ubuntu3
I: Retrieving libgcc-5-dev 5.3.1-14ubuntu2
I: Validating libgcc-5-dev 5.3.1-14ubuntu2
I: Retrieving libgcc1 1:6.0.1-0ubuntu1
I: Validating libgcc1 1:6.0.1-0ubuntu1
I: Retrieving libgcrypt20 1.6.5-2
I: Validating libgcrypt20 1.6.5-2
I: Retrieving libgdbm3 1.8.3-13.1
I: Validating libgdbm3 1.8.3-13.1
I: Retrieving libgmp10 2:6.1.0+dfsg-2
I: Validating libgmp10 2:6.1.0+dfsg-2
I: Retrieving libgomp1 5.3.1-14ubuntu2
I: Validating libgomp1 5.3.1-14ubuntu2
I: Retrieving libgpg-error0 1.21-2ubuntu1
I: Validating libgpg-error0 1.21-2ubuntu1
I: Retrieving libisl15 0.16.1-1
I: Validating libisl15 0.16.1-1
I: Retrieving libitm1 5.3.1-14ubuntu2
I: Validating libitm1 5.3.1-14ubuntu2
I: Retrieving libkmod2 22-1ubuntu4
I: Validating libkmod2 22-1ubuntu4
I: Retrieving liblsan0 5.3.1-14ubuntu2
I: Validating liblsan0 5.3.1-14ubuntu2
I: Retrieving liblz4-1 0.0r131-2ubuntu2
I: Validating liblz4-1 0.0
r131-2ubuntu2
I: Retrieving liblzma5 5.1.1alpha+20120614-2ubuntu2
I: Validating liblzma5 5.1.1alpha+20120614-2ubuntu2
I: Retrieving libmount1 2.27.1-6ubuntu3
I: Validating libmount1 2.27.1-6ubuntu3
I: Retrieving libmpc3 1.0.3-1
I: Validating libmpc3 1.0.3-1
I: Retrieving libmpfr4 3.1.4-1
I: Validating libmpfr4 3.1.4-1
I: Retrieving libmpx0 5.3.1-14ubuntu2
I: Validating libmpx0 5.3.1-14ubuntu2
I: Retrieving libncurses5 6.0+20160213-1ubuntu1
I: Validating libncurses5 6.0+20160213-1ubuntu1
I: Retrieving libncursesw5 6.0+20160213-1ubuntu1
I: Validating libncursesw5 6.0+20160213-1ubuntu1
I: Retrieving libpam-modules 1.1.8-3.2ubuntu2
I: Validating libpam-modules 1.1.8-3.2ubuntu2
I: Retrieving libpam-modules-bin 1.1.8-3.2ubuntu2
I: Validating libpam-modules-bin 1.1.8-3.2ubuntu2
I: Retrieving libpam-runtime 1.1.8-3.2ubuntu2
I: Validating libpam-runtime 1.1.8-3.2ubuntu2
I: Retrieving libpam0g 1.1.8-3.2ubuntu2
I: Validating libpam0g 1.1.8-3.2ubuntu2
I: Retrieving libpcre3 2:8.38-3.1
I: Validating libpcre3 2:8.38-3.1
I: Retrieving libperl5.22 5.22.1-9
I: Validating libperl5.22 5.22.1-9
I: Retrieving libprocps4 2:3.3.10-4ubuntu2
I: Validating libprocps4 2:3.3.10-4ubuntu2
I: Retrieving libquadmath0 5.3.1-14ubuntu2
I: Validating libquadmath0 5.3.1-14ubuntu2
I: Retrieving libreadline6 6.3-8ubuntu2
I: Validating libreadline6 6.3-8ubuntu2
I: Retrieving libseccomp2 2.2.3-3ubuntu3
I: Validating libseccomp2 2.2.3-3ubuntu3
I: Retrieving libselinux1 2.4-3build2
I: Validating libselinux1 2.4-3build2
I: Retrieving libsemanage-common 2.3-1build3
I: Validating libsemanage-common 2.3-1build3
I: Retrieving libsemanage1 2.3-1build3
I: Validating libsemanage1 2.3-1build3
I: Retrieving libsepol1 2.4-2
I: Validating libsepol1 2.4-2
I: Retrieving libsmartcols1 2.27.1-6ubuntu3
I: Validating libsmartcols1 2.27.1-6ubuntu3
I: Retrieving libss2 1.42.13-1ubuntu1
I: Validating libss2 1.42.13-1ubuntu1
I: Retrieving libstdc++-5-dev 5.3.1-14ubuntu2
I: Validating libstdc++-5-dev 5.3.1-14ubuntu2
I: Retrieving libstdc++6 5.3.1-14ubuntu2
I: Validating libstdc++6 5.3.1-14ubuntu2
I: Retrieving libsystemd0 229-4ubuntu4
I: Validating libsystemd0 229-4ubuntu4
I: Retrieving libtinfo5 6.0+20160213-1ubuntu1
I: Validating libtinfo5 6.0+20160213-1ubuntu1
I: Retrieving libtsan0 5.3.1-14ubuntu2
I: Validating libtsan0 5.3.1-14ubuntu2
I: Retrieving libubsan0 5.3.1-14ubuntu2
I: Validating libubsan0 5.3.1-14ubuntu2
I: Retrieving libudev1 229-4ubuntu4
I: Validating libudev1 229-4ubuntu4
I: Retrieving libusb-0.1-4 2:0.1.12-28
I: Validating libusb-0.1-4 2:0.1.12-28
I: Retrieving libustr-1.0-1 1.0.4-5
I: Validating libustr-1.0-1 1.0.4-5
I: Retrieving libuuid1 2.27.1-6ubuntu3
I: Validating libuuid1 2.27.1-6ubuntu3
I: Retrieving libx32asan2 5.3.1-14ubuntu2
I: Validating libx32asan2 5.3.1-14ubuntu2
I: Retrieving libx32atomic1 5.3.1-14ubuntu2
I: Validating libx32atomic1 5.3.1-14ubuntu2
I: Retrieving libx32cilkrts5 5.3.1-14ubuntu2
I: Validating libx32cilkrts5 5.3.1-14ubuntu2
I: Retrieving libx32gcc-5-dev 5.3.1-14ubuntu2
I: Validating libx32gcc-5-dev 5.3.1-14ubuntu2
I: Retrieving libx32gcc1 1:6.0.1-0ubuntu1
I: Validating libx32gcc1 1:6.0.1-0ubuntu1
I: Retrieving libx32gomp1 5.3.1-14ubuntu2
I: Validating libx32gomp1 5.3.1-14ubuntu2
I: Retrieving libx32itm1 5.3.1-14ubuntu2
I: Validating libx32itm1 5.3.1-14ubuntu2
I: Retrieving libx32quadmath0 5.3.1-14ubuntu2
I: Validating libx32quadmath0 5.3.1-14ubuntu2
I: Retrieving libx32stdc++6 5.3.1-14ubuntu2
I: Validating libx32stdc++6 5.3.1-14ubuntu2
I: Retrieving libx32ubsan0 5.3.1-14ubuntu2
I: Validating libx32ubsan0 5.3.1-14ubuntu2
I: Retrieving linux-libc-dev 4.4.0-21.37
I: Validating linux-libc-dev 4.4.0-21.37
I: Retrieving locales 2.23-0ubuntu3
I: Validating locales 2.23-0ubuntu3
I: Retrieving login 1:4.2-3.1ubuntu5
I: Validating login 1:4.2-3.1ubuntu5
I: Retrieving lsb-base 9.20160110
I: Validating lsb-base 9.20160110
I: Retrieving make 4.1-6
I: Validating make 4.1-6
I: Retrieving makedev 2.3.1-93ubuntu1
I: Validating makedev 2.3.1-93ubuntu1
I: Retrieving mawk 1.3.3-17ubuntu2
I: Validating mawk 1.3.3-17ubuntu2
I: Retrieving mount 2.27.1-6ubuntu3
I: Validating mount 2.27.1-6ubuntu3
I: Retrieving multiarch-support 2.23-0ubuntu3
I: Validating multiarch-support 2.23-0ubuntu3
I: Retrieving ncurses-base 6.0+20160213-1ubuntu1
I: Validating ncurses-base 6.0+20160213-1ubuntu1
I: Retrieving ncurses-bin 6.0+20160213-1ubuntu1
I: Validating ncurses-bin 6.0+20160213-1ubuntu1
I: Retrieving passwd 1:4.2-3.1ubuntu5
I: Validating passwd 1:4.2-3.1ubuntu5
I: Retrieving patch 2.7.5-1
I: Validating patch 2.7.5-1
I: Retrieving perl 5.22.1-9
I: Validating perl 5.22.1-9
I: Retrieving perl-base 5.22.1-9
I: Validating perl-base 5.22.1-9
I: Retrieving perl-modules-5.22 5.22.1-9
I: Validating perl-modules-5.22 5.22.1-9
I: Retrieving procps 2:3.3.10-4ubuntu2
I: Validating procps 2:3.3.10-4ubuntu2
I: Retrieving readline-common 6.3-8ubuntu2
I: Validating readline-common 6.3-8ubuntu2
I: Retrieving sed 4.2.2-7
I: Validating sed 4.2.2-7
I: Retrieving sensible-utils 0.0.9
I: Validating sensible-utils 0.0.9
I: Retrieving systemd 229-4ubuntu4
I: Validating systemd 229-4ubuntu4
I: Retrieving systemd-sysv 229-4ubuntu4
I: Validating systemd-sysv 229-4ubuntu4
I: Retrieving sysv-rc 2.88dsf-59.3ubuntu2
I: Validating sysv-rc 2.88dsf-59.3ubuntu2
I: Retrieving sysvinit-utils 2.88dsf-59.3ubuntu2
I: Validating sysvinit-utils 2.88dsf-59.3ubuntu2
I: Retrieving tar 1.28-2.1
I: Validating tar 1.28-2.1
I: Retrieving tzdata 2016d-0ubuntu0.16.04
I: Validating tzdata 2016d-0ubuntu0.16.04
I: Retrieving ubuntu-keyring 2012.05.19
I: Validating ubuntu-keyring 2012.05.19
I: Retrieving util-linux 2.27.1-6ubuntu3
I: Validating util-linux 2.27.1-6ubuntu3
I: Retrieving xz-utils 5.1.1alpha+20120614-2ubuntu2
I: Validating xz-utils 5.1.1alpha+20120614-2ubuntu2
I: Retrieving zlib1g 1:1.2.8.dfsg-2ubuntu4
I: Validating zlib1g 1:1.2.8.dfsg-2ubuntu4
I: Chosen extractor for .deb packages: dpkg-deb
W: Upgrading non-merged-/usr environments post-bookworm is unsupported. Only do this for CI/QA infrastructure that will be re-bootstrapped rather than upgraded.
I: Extracting adduser...
I: Extracting base-files...
I: Extracting base-passwd...
I: Extracting bash...
I: Extracting bsdutils...
I: Extracting coreutils...
I: Extracting dash...
I: Extracting debconf...
I: Extracting debianutils...
I: Extracting diffutils...
I: Extracting dpkg...
I: Extracting e2fslibs...
I: Extracting e2fsprogs...
I: Extracting findutils...
I: Extracting gcc-6-base...
I: Extracting grep...
I: Extracting gzip...
I: Extracting hostname...
I: Extracting init...
I: Extracting init-system-helpers...
I: Extracting initscripts...
I: Extracting insserv...
I: Extracting libacl1...
I: Extracting libapparmor1...
I: Extracting libattr1...
I: Extracting libaudit-common...
I: Extracting libaudit1...
I: Extracting libblkid1...
I: Extracting libbz2-1.0...
I: Extracting libc-bin...
I: Extracting libc6...
I: Extracting libcap2...
I: Extracting libcap2-bin...
I: Extracting libcomerr2...
I: Extracting libcryptsetup4...
I: Extracting libdb5.3...
I: Extracting libdebconfclient0...
I: Extracting libdevmapper1.02.1...
I: Extracting libfdisk1...
I: Extracting libgcc1...
I: Extracting libgcrypt20...
I: Extracting libgpg-error0...
I: Extracting libkmod2...
I: Extracting liblzma5...
I: Extracting libmount1...
I: Extracting libncurses5...
I: Extracting libncursesw5...
I: Extracting libpam-modules...
I: Extracting libpam-modules-bin...
I: Extracting libpam-runtime...
I: Extracting libpam0g...
I: Extracting libpcre3...
I: Extracting libprocps4...
I: Extracting libseccomp2...
I: Extracting libselinux1...
I: Extracting libsemanage-common...
I: Extracting libsemanage1...
I: Extracting libsepol1...
I: Extracting libsmartcols1...
I: Extracting libss2...
I: Extracting libsystemd0...
I: Extracting libtinfo5...
I: Extracting libudev1...
I: Extracting libustr-1.0-1...
I: Extracting libuuid1...
I: Extracting locales...
I: Extracting login...
I: Extracting lsb-base...
I: Extracting makedev...
I: Extracting mawk...
I: Extracting mount...
I: Extracting multiarch-support...
I: Extracting ncurses-base...
I: Extracting ncurses-bin...
I: Extracting passwd...
I: Extracting perl-base...
I: Extracting procps...
I: Extracting sed...
I: Extracting sensible-utils...
I: Extracting systemd...
I: Extracting systemd-sysv...
I: Extracting sysv-rc...
I: Extracting sysvinit-utils...
I: Extracting tar...
I: Extracting tzdata...
I: Extracting util-linux...
I: Extracting zlib1g...
sed: can't read /var/lib/machines/test/etc/shadow: No such file or directory

@X0RW3LL
Copy link
Owner

X0RW3LL commented May 21, 2023

Looks like the process didn't finish successfully. Please try again using another machine name

@X0RW3LL
Copy link
Owner

X0RW3LL commented May 21, 2023

@lkkkiki matter of fact, could you just keep the --arch=amd64 flag, and remove the 2 others we previously included?

@lkkkiki
Copy link
Author

lkkkiki commented May 21, 2023

still cannot use gcc.
I: Target architecture can be executed
W: Cannot check Release signature; keyring file not available /usr/share/keyrings/ubuntu-archive-keyring.gpg
I: Retrieving InRelease
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Checking component main on http://archive.ubuntu.com/ubuntu...
I: Retrieving adduser 3.113+nmu3ubuntu4
I: Validating adduser 3.113+nmu3ubuntu4
I: Retrieving apt 1.2.10ubuntu1
I: Validating apt 1.2.10ubuntu1
I: Retrieving base-files 9.4ubuntu4
I: Validating base-files 9.4ubuntu4
I: Retrieving base-passwd 3.5.39
I: Validating base-passwd 3.5.39
I: Retrieving bash 4.3-14ubuntu1
I: Validating bash 4.3-14ubuntu1
I: Retrieving binutils 2.26-8ubuntu2
I: Validating binutils 2.26-8ubuntu2
I: Retrieving bsdutils 1:2.27.1-6ubuntu3
I: Validating bsdutils 1:2.27.1-6ubuntu3
I: Retrieving build-essential 12.1ubuntu2
I: Validating build-essential 12.1ubuntu2
I: Retrieving bzip2 1.0.6-8
I: Validating bzip2 1.0.6-8
I: Retrieving coreutils 8.25-2ubuntu2
I: Validating coreutils 8.25-2ubuntu2
I: Retrieving cpp 4:5.3.1-1ubuntu1
I: Validating cpp 4:5.3.1-1ubuntu1
I: Retrieving cpp-5 5.3.1-14ubuntu2
I: Validating cpp-5 5.3.1-14ubuntu2
I: Retrieving dash 0.5.8-2.1ubuntu2
I: Validating dash 0.5.8-2.1ubuntu2
I: Retrieving debconf 1.5.58ubuntu1
I: Validating debconf 1.5.58ubuntu1
I: Retrieving debianutils 4.7
I: Validating debianutils 4.7
I: Retrieving diffutils 1:3.3-3
I: Validating diffutils 1:3.3-3
I: Retrieving dpkg 1.18.4ubuntu1
I: Validating dpkg 1.18.4ubuntu1
I: Retrieving dpkg-dev 1.18.4ubuntu1
I: Validating dpkg-dev 1.18.4ubuntu1
I: Retrieving e2fslibs 1.42.13-1ubuntu1
I: Validating e2fslibs 1.42.13-1ubuntu1
I: Retrieving e2fsprogs 1.42.13-1ubuntu1
I: Validating e2fsprogs 1.42.13-1ubuntu1
I: Retrieving findutils 4.6.0+git+20160126-2
I: Validating findutils 4.6.0+git+20160126-2
I: Retrieving g++ 4:5.3.1-1ubuntu1
I: Validating g++ 4:5.3.1-1ubuntu1
I: Retrieving g++-5 5.3.1-14ubuntu2
I: Validating g++-5 5.3.1-14ubuntu2
I: Retrieving gcc 4:5.3.1-1ubuntu1
I: Validating gcc 4:5.3.1-1ubuntu1
I: Retrieving gcc-5 5.3.1-14ubuntu2
I: Validating gcc-5 5.3.1-14ubuntu2
I: Retrieving gcc-5-base 5.3.1-14ubuntu2
I: Validating gcc-5-base 5.3.1-14ubuntu2
I: Retrieving gcc-5-multilib 5.3.1-14ubuntu2
I: Validating gcc-5-multilib 5.3.1-14ubuntu2
I: Retrieving gcc-6-base 6.0.1-0ubuntu1
I: Validating gcc-6-base 6.0.1-0ubuntu1
I: Retrieving gcc-multilib 4:5.3.1-1ubuntu1
I: Validating gcc-multilib 4:5.3.1-1ubuntu1
I: Retrieving gnupg 1.4.20-1ubuntu3
I: Validating gnupg 1.4.20-1ubuntu3
I: Retrieving gpgv 1.4.20-1ubuntu3
I: Validating gpgv 1.4.20-1ubuntu3
I: Retrieving grep 2.24-1
I: Validating grep 2.24-1
I: Retrieving gzip 1.6-4ubuntu1
I: Validating gzip 1.6-4ubuntu1
I: Retrieving hostname 3.16ubuntu2
I: Validating hostname 3.16ubuntu2
I: Retrieving init 1.29ubuntu1
I: Validating init 1.29ubuntu1
I: Retrieving init-system-helpers 1.29ubuntu1
I: Validating init-system-helpers 1.29ubuntu1
I: Retrieving initscripts 2.88dsf-59.3ubuntu2
I: Validating initscripts 2.88dsf-59.3ubuntu2
I: Retrieving insserv 1.14.0-5ubuntu3
I: Validating insserv 1.14.0-5ubuntu3
I: Retrieving lib32asan2 5.3.1-14ubuntu2
I: Validating lib32asan2 5.3.1-14ubuntu2
I: Retrieving lib32atomic1 5.3.1-14ubuntu2
I: Validating lib32atomic1 5.3.1-14ubuntu2
I: Retrieving lib32cilkrts5 5.3.1-14ubuntu2
I: Validating lib32cilkrts5 5.3.1-14ubuntu2
I: Retrieving lib32gcc-5-dev 5.3.1-14ubuntu2
I: Validating lib32gcc-5-dev 5.3.1-14ubuntu2
I: Retrieving lib32gcc1 1:6.0.1-0ubuntu1
I: Validating lib32gcc1 1:6.0.1-0ubuntu1
I: Retrieving lib32gomp1 5.3.1-14ubuntu2
I: Validating lib32gomp1 5.3.1-14ubuntu2
I: Retrieving lib32itm1 5.3.1-14ubuntu2
I: Validating lib32itm1 5.3.1-14ubuntu2
I: Retrieving lib32mpx0 5.3.1-14ubuntu2
I: Validating lib32mpx0 5.3.1-14ubuntu2
I: Retrieving lib32quadmath0 5.3.1-14ubuntu2
I: Validating lib32quadmath0 5.3.1-14ubuntu2
I: Retrieving lib32stdc++6 5.3.1-14ubuntu2
I: Validating lib32stdc++6 5.3.1-14ubuntu2
I: Retrieving lib32ubsan0 5.3.1-14ubuntu2
I: Validating lib32ubsan0 5.3.1-14ubuntu2
I: Retrieving libacl1 2.2.52-3
I: Validating libacl1 2.2.52-3
I: Retrieving libapparmor1 2.10.95-0ubuntu2
I: Validating libapparmor1 2.10.95-0ubuntu2
I: Retrieving libapt-pkg5.0 1.2.10ubuntu1
I: Validating libapt-pkg5.0 1.2.10ubuntu1
I: Retrieving libasan2 5.3.1-14ubuntu2
I: Validating libasan2 5.3.1-14ubuntu2
I: Retrieving libatomic1 5.3.1-14ubuntu2
I: Validating libatomic1 5.3.1-14ubuntu2
I: Retrieving libattr1 1:2.4.47-2
I: Validating libattr1 1:2.4.47-2
I: Retrieving libaudit-common 1:2.4.5-1ubuntu2
I: Validating libaudit-common 1:2.4.5-1ubuntu2
I: Retrieving libaudit1 1:2.4.5-1ubuntu2
I: Validating libaudit1 1:2.4.5-1ubuntu2
I: Retrieving libblkid1 2.27.1-6ubuntu3
I: Validating libblkid1 2.27.1-6ubuntu3
I: Retrieving libbz2-1.0 1.0.6-8
I: Validating libbz2-1.0 1.0.6-8
I: Retrieving libc-bin 2.23-0ubuntu3
I: Validating libc-bin 2.23-0ubuntu3
I: Retrieving libc-dev-bin 2.23-0ubuntu3
I: Validating libc-dev-bin 2.23-0ubuntu3
I: Retrieving libc6 2.23-0ubuntu3
I: Validating libc6 2.23-0ubuntu3
I: Retrieving libc6-dev 2.23-0ubuntu3
I: Validating libc6-dev 2.23-0ubuntu3
I: Retrieving libc6-dev-i386 2.23-0ubuntu3
I: Validating libc6-dev-i386 2.23-0ubuntu3
I: Retrieving libc6-dev-x32 2.23-0ubuntu3
I: Validating libc6-dev-x32 2.23-0ubuntu3
I: Retrieving libc6-i386 2.23-0ubuntu3
I: Validating libc6-i386 2.23-0ubuntu3
I: Retrieving libc6-x32 2.23-0ubuntu3
I: Validating libc6-x32 2.23-0ubuntu3
I: Retrieving libcap2 1:2.24-12
I: Validating libcap2 1:2.24-12
I: Retrieving libcap2-bin 1:2.24-12
I: Validating libcap2-bin 1:2.24-12
I: Retrieving libcc1-0 5.3.1-14ubuntu2
I: Validating libcc1-0 5.3.1-14ubuntu2
I: Retrieving libcilkrts5 5.3.1-14ubuntu2
I: Validating libcilkrts5 5.3.1-14ubuntu2
I: Retrieving libcomerr2 1.42.13-1ubuntu1
I: Validating libcomerr2 1.42.13-1ubuntu1
I: Retrieving libcryptsetup4 2:1.6.6-5ubuntu2
I: Validating libcryptsetup4 2:1.6.6-5ubuntu2
I: Retrieving libdb5.3 5.3.28-11
I: Validating libdb5.3 5.3.28-11
I: Retrieving libdebconfclient0 0.198ubuntu1
I: Validating libdebconfclient0 0.198ubuntu1
I: Retrieving libdevmapper1.02.1 2:1.02.110-1ubuntu10
I: Validating libdevmapper1.02.1 2:1.02.110-1ubuntu10
I: Retrieving libdpkg-perl 1.18.4ubuntu1
I: Validating libdpkg-perl 1.18.4ubuntu1
I: Retrieving libfdisk1 2.27.1-6ubuntu3
I: Validating libfdisk1 2.27.1-6ubuntu3
I: Retrieving libgcc-5-dev 5.3.1-14ubuntu2
I: Validating libgcc-5-dev 5.3.1-14ubuntu2
I: Retrieving libgcc1 1:6.0.1-0ubuntu1
I: Validating libgcc1 1:6.0.1-0ubuntu1
I: Retrieving libgcrypt20 1.6.5-2
I: Validating libgcrypt20 1.6.5-2
I: Retrieving libgdbm3 1.8.3-13.1
I: Validating libgdbm3 1.8.3-13.1
I: Retrieving libgmp10 2:6.1.0+dfsg-2
I: Validating libgmp10 2:6.1.0+dfsg-2
I: Retrieving libgomp1 5.3.1-14ubuntu2
I: Validating libgomp1 5.3.1-14ubuntu2
I: Retrieving libgpg-error0 1.21-2ubuntu1
I: Validating libgpg-error0 1.21-2ubuntu1
I: Retrieving libisl15 0.16.1-1
I: Validating libisl15 0.16.1-1
I: Retrieving libitm1 5.3.1-14ubuntu2
I: Validating libitm1 5.3.1-14ubuntu2
I: Retrieving libkmod2 22-1ubuntu4
I: Validating libkmod2 22-1ubuntu4
I: Retrieving liblsan0 5.3.1-14ubuntu2
I: Validating liblsan0 5.3.1-14ubuntu2
I: Retrieving liblz4-1 0.0r131-2ubuntu2
I: Validating liblz4-1 0.0
r131-2ubuntu2
I: Retrieving liblzma5 5.1.1alpha+20120614-2ubuntu2
I: Validating liblzma5 5.1.1alpha+20120614-2ubuntu2
I: Retrieving libmount1 2.27.1-6ubuntu3
I: Validating libmount1 2.27.1-6ubuntu3
I: Retrieving libmpc3 1.0.3-1
I: Validating libmpc3 1.0.3-1
I: Retrieving libmpfr4 3.1.4-1
I: Validating libmpfr4 3.1.4-1
I: Retrieving libmpx0 5.3.1-14ubuntu2
I: Validating libmpx0 5.3.1-14ubuntu2
I: Retrieving libncurses5 6.0+20160213-1ubuntu1
I: Validating libncurses5 6.0+20160213-1ubuntu1
I: Retrieving libncursesw5 6.0+20160213-1ubuntu1
I: Validating libncursesw5 6.0+20160213-1ubuntu1
I: Retrieving libpam-modules 1.1.8-3.2ubuntu2
I: Validating libpam-modules 1.1.8-3.2ubuntu2
I: Retrieving libpam-modules-bin 1.1.8-3.2ubuntu2
I: Validating libpam-modules-bin 1.1.8-3.2ubuntu2
I: Retrieving libpam-runtime 1.1.8-3.2ubuntu2
I: Validating libpam-runtime 1.1.8-3.2ubuntu2
I: Retrieving libpam0g 1.1.8-3.2ubuntu2
I: Validating libpam0g 1.1.8-3.2ubuntu2
I: Retrieving libpcre3 2:8.38-3.1
I: Validating libpcre3 2:8.38-3.1
I: Retrieving libperl5.22 5.22.1-9
I: Validating libperl5.22 5.22.1-9
I: Retrieving libprocps4 2:3.3.10-4ubuntu2
I: Validating libprocps4 2:3.3.10-4ubuntu2
I: Retrieving libquadmath0 5.3.1-14ubuntu2
I: Validating libquadmath0 5.3.1-14ubuntu2
I: Retrieving libreadline6 6.3-8ubuntu2
I: Validating libreadline6 6.3-8ubuntu2
I: Retrieving libseccomp2 2.2.3-3ubuntu3
I: Validating libseccomp2 2.2.3-3ubuntu3
I: Retrieving libselinux1 2.4-3build2
I: Validating libselinux1 2.4-3build2
I: Retrieving libsemanage-common 2.3-1build3
I: Validating libsemanage-common 2.3-1build3
I: Retrieving libsemanage1 2.3-1build3
I: Validating libsemanage1 2.3-1build3
I: Retrieving libsepol1 2.4-2
I: Validating libsepol1 2.4-2
I: Retrieving libsmartcols1 2.27.1-6ubuntu3
I: Validating libsmartcols1 2.27.1-6ubuntu3
I: Retrieving libss2 1.42.13-1ubuntu1
I: Validating libss2 1.42.13-1ubuntu1
I: Retrieving libstdc++-5-dev 5.3.1-14ubuntu2
I: Validating libstdc++-5-dev 5.3.1-14ubuntu2
I: Retrieving libstdc++6 5.3.1-14ubuntu2
I: Validating libstdc++6 5.3.1-14ubuntu2
I: Retrieving libsystemd0 229-4ubuntu4
I: Validating libsystemd0 229-4ubuntu4
I: Retrieving libtinfo5 6.0+20160213-1ubuntu1
I: Validating libtinfo5 6.0+20160213-1ubuntu1
I: Retrieving libtsan0 5.3.1-14ubuntu2
I: Validating libtsan0 5.3.1-14ubuntu2
I: Retrieving libubsan0 5.3.1-14ubuntu2
I: Validating libubsan0 5.3.1-14ubuntu2
I: Retrieving libudev1 229-4ubuntu4
I: Validating libudev1 229-4ubuntu4
I: Retrieving libusb-0.1-4 2:0.1.12-28
I: Validating libusb-0.1-4 2:0.1.12-28
I: Retrieving libustr-1.0-1 1.0.4-5
I: Validating libustr-1.0-1 1.0.4-5
I: Retrieving libuuid1 2.27.1-6ubuntu3
I: Validating libuuid1 2.27.1-6ubuntu3
I: Retrieving libx32asan2 5.3.1-14ubuntu2
I: Validating libx32asan2 5.3.1-14ubuntu2
I: Retrieving libx32atomic1 5.3.1-14ubuntu2
I: Validating libx32atomic1 5.3.1-14ubuntu2
I: Retrieving libx32cilkrts5 5.3.1-14ubuntu2
I: Validating libx32cilkrts5 5.3.1-14ubuntu2
I: Retrieving libx32gcc-5-dev 5.3.1-14ubuntu2
I: Validating libx32gcc-5-dev 5.3.1-14ubuntu2
I: Retrieving libx32gcc1 1:6.0.1-0ubuntu1
I: Validating libx32gcc1 1:6.0.1-0ubuntu1
I: Retrieving libx32gomp1 5.3.1-14ubuntu2
I: Validating libx32gomp1 5.3.1-14ubuntu2
I: Retrieving libx32itm1 5.3.1-14ubuntu2
I: Validating libx32itm1 5.3.1-14ubuntu2
I: Retrieving libx32quadmath0 5.3.1-14ubuntu2
I: Validating libx32quadmath0 5.3.1-14ubuntu2
I: Retrieving libx32stdc++6 5.3.1-14ubuntu2
I: Validating libx32stdc++6 5.3.1-14ubuntu2
I: Retrieving libx32ubsan0 5.3.1-14ubuntu2
I: Validating libx32ubsan0 5.3.1-14ubuntu2
I: Retrieving linux-libc-dev 4.4.0-21.37
I: Validating linux-libc-dev 4.4.0-21.37
I: Retrieving locales 2.23-0ubuntu3
I: Validating locales 2.23-0ubuntu3
I: Retrieving login 1:4.2-3.1ubuntu5
I: Validating login 1:4.2-3.1ubuntu5
I: Retrieving lsb-base 9.20160110
I: Validating lsb-base 9.20160110
I: Retrieving make 4.1-6
I: Validating make 4.1-6
I: Retrieving makedev 2.3.1-93ubuntu1
I: Validating makedev 2.3.1-93ubuntu1
I: Retrieving mawk 1.3.3-17ubuntu2
I: Validating mawk 1.3.3-17ubuntu2
I: Retrieving mount 2.27.1-6ubuntu3
I: Validating mount 2.27.1-6ubuntu3
I: Retrieving multiarch-support 2.23-0ubuntu3
I: Validating multiarch-support 2.23-0ubuntu3
I: Retrieving ncurses-base 6.0+20160213-1ubuntu1
I: Validating ncurses-base 6.0+20160213-1ubuntu1
I: Retrieving ncurses-bin 6.0+20160213-1ubuntu1
I: Validating ncurses-bin 6.0+20160213-1ubuntu1
I: Retrieving passwd 1:4.2-3.1ubuntu5
I: Validating passwd 1:4.2-3.1ubuntu5
I: Retrieving patch 2.7.5-1
I: Validating patch 2.7.5-1
I: Retrieving perl 5.22.1-9
I: Validating perl 5.22.1-9
I: Retrieving perl-base 5.22.1-9
I: Validating perl-base 5.22.1-9
I: Retrieving perl-modules-5.22 5.22.1-9
I: Validating perl-modules-5.22 5.22.1-9
I: Retrieving procps 2:3.3.10-4ubuntu2
I: Validating procps 2:3.3.10-4ubuntu2
I: Retrieving readline-common 6.3-8ubuntu2
I: Validating readline-common 6.3-8ubuntu2
I: Retrieving sed 4.2.2-7
I: Validating sed 4.2.2-7
I: Retrieving sensible-utils 0.0.9
I: Validating sensible-utils 0.0.9
I: Retrieving systemd 229-4ubuntu4
I: Validating systemd 229-4ubuntu4
I: Retrieving systemd-sysv 229-4ubuntu4
I: Validating systemd-sysv 229-4ubuntu4
I: Retrieving sysv-rc 2.88dsf-59.3ubuntu2
I: Validating sysv-rc 2.88dsf-59.3ubuntu2
I: Retrieving sysvinit-utils 2.88dsf-59.3ubuntu2
I: Validating sysvinit-utils 2.88dsf-59.3ubuntu2
I: Retrieving tar 1.28-2.1
I: Validating tar 1.28-2.1
I: Retrieving tzdata 2016d-0ubuntu0.16.04
I: Validating tzdata 2016d-0ubuntu0.16.04
I: Retrieving ubuntu-keyring 2012.05.19
I: Validating ubuntu-keyring 2012.05.19
I: Retrieving util-linux 2.27.1-6ubuntu3
I: Validating util-linux 2.27.1-6ubuntu3
I: Retrieving xz-utils 5.1.1alpha+20120614-2ubuntu2
I: Validating xz-utils 5.1.1alpha+20120614-2ubuntu2
I: Retrieving zlib1g 1:1.2.8.dfsg-2ubuntu4
I: Validating zlib1g 1:1.2.8.dfsg-2ubuntu4
I: Chosen extractor for .deb packages: dpkg-deb
W: Upgrading non-merged-/usr environments post-bookworm is unsupported. Only do this for CI/QA infrastructure that will be re-bootstrapped rather than upgraded.
I: Extracting adduser...
I: Extracting base-files...
I: Extracting base-passwd...
I: Extracting bash...
I: Extracting bsdutils...
I: Extracting coreutils...
I: Extracting dash...
I: Extracting debconf...
I: Extracting debianutils...
I: Extracting diffutils...
I: Extracting dpkg...
I: Extracting e2fslibs...
I: Extracting e2fsprogs...
I: Extracting findutils...
I: Extracting gcc-6-base...
I: Extracting grep...
I: Extracting gzip...
I: Extracting hostname...
I: Extracting init...
I: Extracting init-system-helpers...
I: Extracting initscripts...
I: Extracting insserv...
I: Extracting libacl1...
I: Extracting libapparmor1...
I: Extracting libattr1...
I: Extracting libaudit-common...
I: Extracting libaudit1...
I: Extracting libblkid1...
I: Extracting libbz2-1.0...
I: Extracting libc-bin...
I: Extracting libc6...
I: Extracting libcap2...
I: Extracting libcap2-bin...
I: Extracting libcomerr2...
I: Extracting libcryptsetup4...
I: Extracting libdb5.3...
I: Extracting libdebconfclient0...
I: Extracting libdevmapper1.02.1...
I: Extracting libfdisk1...
I: Extracting libgcc1...
I: Extracting libgcrypt20...
I: Extracting libgpg-error0...
I: Extracting libkmod2...
I: Extracting liblzma5...
I: Extracting libmount1...
I: Extracting libncurses5...
I: Extracting libncursesw5...
I: Extracting libpam-modules...
I: Extracting libpam-modules-bin...
I: Extracting libpam-runtime...
I: Extracting libpam0g...
I: Extracting libpcre3...
I: Extracting libprocps4...
I: Extracting libseccomp2...
I: Extracting libselinux1...
I: Extracting libsemanage-common...
I: Extracting libsemanage1...
I: Extracting libsepol1...
I: Extracting libsmartcols1...
I: Extracting libss2...
I: Extracting libsystemd0...
I: Extracting libtinfo5...
I: Extracting libudev1...
I: Extracting libustr-1.0-1...
I: Extracting libuuid1...
I: Extracting locales...
I: Extracting login...
I: Extracting lsb-base...
I: Extracting makedev...
I: Extracting mawk...
I: Extracting mount...
I: Extracting multiarch-support...
I: Extracting ncurses-base...
I: Extracting ncurses-bin...
I: Extracting passwd...
I: Extracting perl-base...
I: Extracting procps...
I: Extracting sed...
I: Extracting sensible-utils...
I: Extracting systemd...
I: Extracting systemd-sysv...
I: Extracting sysv-rc...
I: Extracting sysvinit-utils...
I: Extracting tar...
I: Extracting tzdata...
I: Extracting util-linux...
I: Extracting zlib1g...
I: Installing core packages...
I: Unpacking required packages...
I: Unpacking adduser...
I: Unpacking base-files...
I: Unpacking base-passwd...
I: Unpacking bash...
I: Unpacking bsdutils...
I: Unpacking coreutils...
I: Unpacking dash...
I: Unpacking debconf...
I: Unpacking debianutils...
I: Unpacking diffutils...
I: Unpacking dpkg...
I: Unpacking e2fslibs:amd64...
I: Unpacking e2fsprogs...
I: Unpacking findutils...
I: Unpacking gcc-6-base:amd64...
I: Unpacking grep...
I: Unpacking gzip...
I: Unpacking hostname...
I: Unpacking init...
I: Unpacking init-system-helpers...
I: Unpacking initscripts...
I: Unpacking insserv...
I: Unpacking libacl1:amd64...
I: Unpacking libapparmor1:amd64...
I: Unpacking libattr1:amd64...
I: Unpacking libaudit-common...
W: Failure while unpacking required packages. This will be attempted up to five times.
W: See /var/lib/machines/xenial/debootstrap/debootstrap.log for details
I: Unpacking adduser...
I: Unpacking base-files...
I: Unpacking base-passwd...
I: Unpacking bash...
I: Unpacking bsdutils...
I: Unpacking coreutils...
I: Unpacking dash...
I: Unpacking debconf...
I: Unpacking debianutils...
W: Failure while unpacking required packages. This will be attempted up to five times.
W: See /var/lib/machines/xenial/debootstrap/debootstrap.log for details
I: Unpacking adduser...
W: Failure while unpacking required packages. This will be attempted up to five times.
W: See /var/lib/machines/xenial/debootstrap/debootstrap.log for details
I: Unpacking adduser...
I: Unpacking base-files...
I: Unpacking base-passwd...
I: Unpacking bash...
I: Unpacking bsdutils...
I: Unpacking coreutils...
I: Unpacking dash...
I: Unpacking debconf...
I: Unpacking debianutils...
I: Unpacking dpkg...
I: Unpacking e2fslibs:amd64...
I: Unpacking e2fsprogs...
I: Unpacking findutils...
I: Unpacking gcc-6-base:amd64...
I: Unpacking grep...
I: Unpacking gzip...
I: Unpacking hostname...
I: Unpacking init...
I: Unpacking init-system-helpers...
I: Unpacking initscripts...
I: Unpacking insserv...
I: Unpacking libacl1:amd64...
I: Unpacking libapparmor1:amd64...
I: Unpacking libattr1:amd64...
I: Unpacking libaudit-common...
I: Unpacking libaudit1:amd64...
I: Unpacking libblkid1:amd64...
I: Unpacking libbz2-1.0:amd64...
I: Unpacking libc-bin...
I: Unpacking libc6:amd64...
I: Unpacking libcap2:amd64...
I: Unpacking libcap2-bin...
I: Unpacking libcomerr2:amd64...
I: Unpacking libcryptsetup4:amd64...
I: Unpacking libdb5.3:amd64...
I: Unpacking libdebconfclient0:amd64...
I: Unpacking libdevmapper1.02.1:amd64...
I: Unpacking libfdisk1:amd64...
I: Unpacking libgcc1:amd64...
I: Unpacking libgcrypt20:amd64...
I: Unpacking libgpg-error0:amd64...
I: Unpacking libkmod2:amd64...
I: Unpacking liblzma5:amd64...
I: Unpacking libmount1:amd64...
I: Unpacking libncurses5:amd64...
I: Unpacking libncursesw5:amd64...
I: Unpacking libpam-modules:amd64...
I: Unpacking libpam-modules-bin...
I: Unpacking libpam-runtime...
I: Unpacking libpcre3:amd64...
I: Unpacking libprocps4:amd64...
I: Unpacking libseccomp2:amd64...
I: Unpacking libselinux1:amd64...
I: Unpacking libsemanage-common...
I: Unpacking libsemanage1:amd64...
I: Unpacking libsepol1:amd64...
I: Unpacking libsmartcols1:amd64...
I: Unpacking libss2:amd64...
I: Unpacking libsystemd0:amd64...
I: Unpacking libtinfo5:amd64...
I: Unpacking libudev1:amd64...
I: Unpacking libustr-1.0-1:amd64...
I: Unpacking libuuid1:amd64...
I: Unpacking locales...
I: Unpacking login...
I: Unpacking makedev...
I: Unpacking mawk...
I: Unpacking mount...
I: Unpacking ncurses-base...
W: Failure while unpacking required packages. This will be attempted up to five times.
W: See /var/lib/machines/xenial/debootstrap/debootstrap.log for details (possibly the package /var/cache/apt/archives/diffutils_10x0p+03.3-3_amd64.deb is at fault)
I: Unpacking adduser...
I: Unpacking base-passwd...
I: Unpacking bash...
I: Unpacking bsdutils...
I: Unpacking coreutils...
I: Unpacking dash...
I: Unpacking debconf...
I: Unpacking debianutils...
I: Unpacking diffutils...
I: Unpacking dpkg...
W: Failure while unpacking required packages. This will be attempted up to five times.
W: See /var/lib/machines/xenial/debootstrap/debootstrap.log for details (possibly the package /var/cache/apt/archives/diffutils_10x0p+03.3-3_amd64.deb is at fault)

already removed --foreign and --second-stage
root@xenial:# gcc
-bash: gcc: command not found
root@xenial:
#

@X0RW3LL
Copy link
Owner

X0RW3LL commented May 21, 2023

dpkg -l | grep gcc

@lkkkiki
Copy link
Author

lkkkiki commented May 21, 2023

iU gcc-6-base:amd64 6.0.1-0ubuntu1 amd64 GCC, the GNU Compiler Collection (base package)
iU libgcc1:amd64 1:6.0.1-0ubuntu1 amd64 GCC support library

@X0RW3LL
Copy link
Owner

X0RW3LL commented May 21, 2023

ls -l /usr/bin | grep gcc

@lkkkiki
Copy link
Author

lkkkiki commented May 21, 2023

i tried grep before. no gcc is found

@X0RW3LL
Copy link
Owner

X0RW3LL commented May 21, 2023

Let's try including --second-stage this time. Again, apologies, but I have no way of testing this.

@lkkkiki
Copy link
Author

lkkkiki commented May 21, 2023

remove it and build again?

@X0RW3LL
Copy link
Owner

X0RW3LL commented May 21, 2023

Yes, please. Don't forget to include the flag in line 34

@lkkkiki
Copy link
Author

lkkkiki commented May 21, 2023

[+] Creating necessary build directories and configuring permissions

[+] Building minimal Ubuntu 16.04 image at: /var/lib/machines/xenial
[!] This might take a while

cat: /usr/share/debootstrap/suite: No such file or directory

@X0RW3LL
Copy link
Owner

X0RW3LL commented May 21, 2023

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.

@lkkkiki
Copy link
Author

lkkkiki commented May 21, 2023

thank you

@X0RW3LL X0RW3LL pinned this issue May 21, 2023
@X0RW3LL
Copy link
Owner

X0RW3LL commented Jun 16, 2023

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!

@X0RW3LL X0RW3LL closed this as completed Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants