joejoe44 Posted Wednesday at 07:43 PM Posted Wednesday at 07:43 PM Build logs: https://paste.armbian.com/razitubusa Hello I am using a Debian 12 VM on Qubes OS 4.2 to attempt to build an Armbian image for a Rockpro64. As you can see by the build logs, these 3 commands are failing: update-binfmts --enable qemu-arm update-binfmts --enable qemu-aarch64 update-binfmts --enable qemu-riscv64 Then arch-test command output causes script to error out with: arm64: not supported on this machine/kernel So far I have attempted to enter the docker container and manually run the command but I get this error: root@1631353b980f:/armbian# update-binfmts --enable qemu-arm update-binfmts: warning: qemu-arm not in database of installed binary formats. update-binfmts: exiting due to previous errors Any help is greatly appreciated as I continue to try solving this, thank you! 0 Quote
Werner Posted Thursday at 03:47 AM Posted Thursday at 03:47 AM Have you tried installing qemu-user-static package manually and retry? 0 Quote
joejoe44 Posted 3 hours ago Author Posted 3 hours ago (edited) By exiting the docker container and installing qemu-user-static in the host system, I was able to run the build again and progress. Appreciate the tip thank you! One final issue that I notice is when I am attempting to use customize-image.sh to install openssh-server package. As you can see by these logs it reaches "Setting up openssh-server (1:9.2p1-2+deb12u6) ..." but then script hangs and never progresses. [🐳|🔨] Fetched 13.0 MB in 5s (2,701 kB/s) [🐳|🔨] Reading package lists... [🐳|🔨] Reading package lists... [🐳|🔨] Building dependency tree... [🐳|🔨] Reading state information... [🐳|🔨] The following additional packages will be installed: [🐳|🔨] libssl3 (3.0.16-1~deb12u1) [🐳|🔨] openssh-client (1:9.2p1-2+deb12u6) [🐳|🔨] openssh-sftp-server (1:9.2p1-2+deb12u6) [🐳|🔨] openssl (3.0.16-1~deb12u1) [🐳|🔨] Suggested packages: [🐳|🔨] keychain (2.8.5-3) [🐳|🔨] libpam-ssh [🐳|🔨] monkeysphere [🐳|🔨] ssh-askpass (1:1.2.4.1-16) [🐳|🔨] molly-guard (0.7.2) [🐳|🔨] ufw (0.36.2-1) [🐳|🔨] Recommended packages: [🐳|🔨] xauth (1:1.1.2-1) [🐳|🔨] The following packages will be upgraded: [🐳|🔨] libssl3 (3.0.15-1~deb12u1 => 3.0.16-1~deb12u1) [🐳|🔨] openssh-client (1:9.2p1-2+deb12u5 => 1:9.2p1-2+deb12u6) [🐳|🔨] openssh-server (1:9.2p1-2+deb12u5 => 1:9.2p1-2+deb12u6) [🐳|🔨] openssh-sftp-server (1:9.2p1-2+deb12u5 => 1:9.2p1-2+deb12u6) [🐳|🔨] openssl (3.0.15-1~deb12u1 => 3.0.16-1~deb12u1) [🐳|🔨] 5 upgraded, 0 newly installed, 0 to remove and 17 not upgraded. [🐳|🔨] Need to get 4,617 kB of archives. [🐳|🔨] After this operation, 1,024 B of additional disk space will be used. [🐳|🔨] Get:1 http://deb.debian.org/debian bookworm/main arm64 libssl3 arm64 3.0.16-1~deb12u1 [1,812 kB] [🐳|🔨] Get:2 http://deb.debian.org/debian bookworm/main arm64 openssh-sftp-server arm64 1:9.2p1-2+deb12u6 [60.7 kB] [🐳|🔨] Get:3 http://deb.debian.org/debian bookworm/main arm64 openssh-server arm64 1:9.2p1-2+deb12u6 [413 kB] [🐳|🔨] Get:4 http://deb.debian.org/debian bookworm/main arm64 openssh-client arm64 1:9.2p1-2+deb12u6 [937 kB] [🐳|🔨] Get:5 http://deb.debian.org/debian bookworm/main arm64 openssl arm64 3.0.16-1~deb12u1 [1,395 kB] [🐳|🔨] Preconfiguring packages ... [🐳|🔨] Fetched 4,617 kB in 1s (6,157 kB/s) (Reading database ... 26620 files and directories currently installed.)e ... [🐳|🔨] Preparing to unpack .../libssl3_3.0.16-1~deb12u1_arm64.deb ... [🐳|🔨] Unpacking libssl3:arm64 (3.0.16-1~deb12u1) over (3.0.15-1~deb12u1) ... [🐳|🔨] Preparing to unpack .../openssh-sftp-server_1%3a9.2p1-2+deb12u6_arm64.deb ... [🐳|🔨] Unpacking openssh-sftp-server (1:9.2p1-2+deb12u6) over (1:9.2p1-2+deb12u5) ... [🐳|🔨] Preparing to unpack .../openssh-server_1%3a9.2p1-2+deb12u6_arm64.deb ... [🐳|🔨] Unpacking openssh-server (1:9.2p1-2+deb12u6) over (1:9.2p1-2+deb12u5) ... [🐳|🔨] Preparing to unpack .../openssh-client_1%3a9.2p1-2+deb12u6_arm64.deb ... [🐳|🔨] Unpacking openssh-client (1:9.2p1-2+deb12u6) over (1:9.2p1-2+deb12u5) ... [🐳|🔨] Preparing to unpack .../openssl_3.0.16-1~deb12u1_arm64.deb ... [🐳|🔨] Unpacking openssl (3.0.16-1~deb12u1) over (3.0.15-1~deb12u1) ... [🐳|🔨] Setting up libssl3:arm64 (3.0.16-1~deb12u1) ... [🐳|🔨] Setting up openssl (3.0.16-1~deb12u1) ... [🐳|🔨] Setting up openssh-client (1:9.2p1-2+deb12u6) ... [🐳|🔨] Setting up openssh-sftp-server (1:9.2p1-2+deb12u6) ... [🐳|🔨] Setting up openssh-server (1:9.2p1-2+deb12u6) ... The command used in customize-image.sh to install is simply: apt-get install -y open-ssh Since I used the -y flag I don't think any user input is needed, so not sure yet what I am missing. Any tips are greatly appreciate as I troubleshoot. Other than this issue with openssh-server, the build worked out ok! I will write some guides and share for other Qubes OS users. Edited 3 hours ago by joejoe44 0 Quote
Werner Posted 2 hours ago Posted 2 hours ago openssh-server should be installed by default on all images/configurations. 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.