Debootstrap on arm machine

Help with issues regarding installation of Debian

Debootstrap on arm machine

Postby florin.tanasa » 2019-09-11 15:17

I try it to install on my arm machine, Odroid N2, what run a Debian 9.9 (stretch), because I wish to run wine for x86 application
Code: Select all
florin@yo8tff:~$ uname -a
Linux yo8tff 4.9.190+ #1 SMP PREEMPT Wed Sep 4 08:20:28 CEST 2019 aarch64 GNU/Linux

a version for i386 and/or x86_64 for Debian stretch using debootstrap
Code: Select all
florin@yo8tff:~$ sudo chroot ./chroot-stretch-i386/ /debootstrap/debootstrap --second-stage

but this command stop with next error:
Code: Select all
W: Failure trying to run:  dpkg --force-overwrite --force-confold --skip-same-version --install /var/cache/apt/archives/adduser_3.115_all.deb /var/cache/apt/archives/libapparmor1_2.11.0-3+deb9u2_i386.deb /var/cache/apt/archives/libcryptsetup4_2%3a1.7.3-4_i386.deb /var/cache/apt/archives/libip4tc0_1.6.0+snapshot20161117-6_i386.deb /var/cache/apt/archives/libkmod2_23-2_i386.deb /var/cache/apt/archives/libcap2_1%3a2.25-1_i386.deb /var/cache/apt/archives/libidn11_1.33-1_i386.deb /var/cache/apt/archives/libseccomp2_2.3.1-2.1+deb9u1_i386.deb /var/cache/apt/archives/dmsetup_2%3a1.02.137-2_i386.deb /var/cache/apt/archives/libdevmapper1.02.1_2%3a1.02.137-2_i386.deb /var/cache/apt/archives/libncurses5_6.0+20161126-1+deb9u2_i386.deb /var/cache/apt/archives/libprocps6_2%3a3.3.12-3+deb9u1_i386.deb /var/cache/apt/archives/procps_2%3a3.3.12-3+deb9u1_i386.deb /var/cache/apt/archives/systemd_232-25+deb9u12_i386.deb
W: See //debootstrap/debootstrap.log for details (possibly the package systemd is at fault)

On debootstrap.log I have next, relevant, error:

Code: Select all
Setting up systemd (232-25+deb9u12) ...
Created symlink /etc/systemd/system/ -> /lib/systemd/system/getty@.service.
Created symlink /etc/systemd/system/ -> /lib/systemd/system/
Created symlink /etc/systemd/system/ -> /lib/systemd/system/systemd-timesyncd.service.
Initializing machine ID from random generator.
Adding group `systemd-journal' (GID 101) ...
chfn: PAM: System error
adduser: `/usr/bin/chfn -f systemd Time Synchronization systemd-timesync' returned error code 1. Exiting.
dpkg: error processing package systemd (--install):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Errors were encountered while processing:

How can fix this error, in another arm machine Odroid U2, this is armv7l (32bit), I not have this error.

Thanks in advanced,

The same error and for:
Code: Select all
florin@yo8tff:~$ sudo qemu-debootstrap --arch=i386 stretch i386-stretch
Posts: 1
Joined: 2019-09-11 15:00

Re: Debootstrap on arm machine

Postby ruwolf » 2019-09-14 19:39

Maybe multristrap will help you?
It is recommended in EmDebian: CrossDebootstrap .
User avatar
Posts: 429
Joined: 2008-02-18 05:04
Location: Slovakia, Banovce nad Bebravou, Matice slovenskej 1260/4-7

Return to Installation

Who is online

Users browsing this forum: No registered users and 9 guests