Tried with the latest mmdebstrap and xenial is still failing to build: ``` $ mmdebstrap xenial xenial.tar http://archive.ubuntu.com/ubuntu [...] Setting up systemd (229-4ubuntu21.31) ... Created symlink /etc/systemd/system/getty.target.wants/[email protected], pointing to /lib/systemd/system/[email protected]. Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target, pointing to /lib/systemd/system/remote-fs.target. Created symlink /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service, pointing to /lib/systemd/system/systemd-timesyncd.service. Initializing machine ID from random generator. Adding group `systemd-journal' (GID 101) ... Done. chfn: PAM: Critical error - immediate abort 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 Setting up libpam-runtime (1.1.8-3.2ubuntu2.3) ... Setting up login (1:4.2-3.1ubuntu5.4) ... Setting up ncurses-bin (6.0+20160213-1ubuntu1) ... Setting up sed (4.2.2-7) ... Setting up libdebconfclient0:amd64 (0.198ubuntu1) ... Setting up base-passwd (3.5.39) ... Setting up libc-bin (2.23-0ubuntu11.3) ... dpkg: init: dependency problems, but configuring anyway as you requested: init depends on systemd-sysv | upstart-sysv; however: Package upstart-sysv is not installed.
Setting up init (1.29ubuntu4) ... dpkg: systemd-sysv: dependency problems, but configuring anyway as you requested: systemd-sysv depends on systemd; however: Package systemd is not configured yet. Setting up systemd-sysv (229-4ubuntu21.31) ... Errors were encountered while processing: systemd ``` and trusty fails as well: ``` $ mmdebstrap trusty trusty.tar http://archive.ubuntu.com/ubuntu I: automatically chosen mode: unshare I: chroot architecture amd64 is equal to the host's architecture I: finding correct signed-by value... done I: automatically chosen format: tar I: using /tmp/mmdebstrap.w0v46VeV27 as tempdir I: running apt-get update... done I: downloading packages with apt... done I: extracting archives... done I: installing essential packages... done dpkg: error: failed to open package info file `/var/lib/dpkg/available' for reading: No such file or directory E: setup failed: E: env --unset=APT_CONFIG --unset=TMPDIR chroot /tmp/mmdebstrap.w0v46VeV27 dpkg --install --force-depends --status-fd=<$fd> /var/cache/apt/archives/gcc-4.9-base_4.9.3-0ubuntu4_amd64.deb /var/cache/apt/archives/multiarch-support_2.19-0ubuntu6.15_amd64.deb /var/cache/apt/archives/libc6_2.19-0ubuntu6.15_amd64.deb /var/cache/apt/archives/libgcc1_1%3a4.9.3-0ubuntu4_amd64.deb /var/cache/apt/archives/mawk_1.3.3-17ubuntu2_amd64.deb /var/cache/apt/archives/base-files_7.2ubuntu5.6_amd64.deb /var/cache/apt/archives/sensible-utils_0.0.9ubuntu0.14.04.1_all.deb /var/cache/apt/archives/debianutils_4.4_amd64.deb /var/cache/apt/archives/libbz2-1.0_1.0.6-5_amd64.deb /var/cache/apt/archives/liblzma5_5.1.1alpha+20120614-2ubuntu2_amd64.deb /var/cache/apt/archives/libpcre3_1%3a8.31-2ubuntu2.3_amd64.deb /var/cache/apt/archives/libselinux1_2.2.2-1ubuntu0.1_amd64.deb /var/cache/apt/archives/zlib1g_1%3a1.2.8.dfsg-1ubuntu1.1_amd64.deb /var/cache/apt/archives/libattr1_1%3a2.4.47-1ubuntu1_amd64.deb /var/cache/apt/archives/libacl1_2.2.52-1_amd64.deb /var/cache/apt/archives/tar_1.27.1-1ubuntu0.1_amd64.deb /var/cache/apt/archives/dpkg_1.17.5ubuntu5.8_amd64.deb /var/cache/apt/archives/dash_0.5.7-4ubuntu1_amd64.deb /var/cache/apt/archives/libtinfo5_5.9+20140118-1ubuntu1_amd64.deb /var/cache/apt/archives/bash_4.3-7ubuntu1.7_amd64.deb /var/cache/apt/archives/coreutils_8.21-1ubuntu5.4_amd64.deb /var/cache/apt/archives/diffutils_1%3a3.3-1_amd64.deb /var/cache/apt/archives/e2fslibs_1.42.9-3ubuntu1.3_amd64.deb /var/cache/apt/archives/libaudit-common_1%3a2.3.2-2ubuntu1_all.deb /var/cache/apt/archives/libaudit1_1%3a2.3.2-2ubuntu1_amd64.deb /var/cache/apt/archives/perl-base_5.18.2-2ubuntu1.7_amd64.deb /var/cache/apt/archives/debconf_1.5.51ubuntu2_all.deb /var/cache/apt/archives/libpam0g_1.1.8-1ubuntu2.2_amd64.deb /var/cache/apt/archives/libsemanage-common_2.2-1_all.deb /var/cache/apt/archives/libsepol1_2.2-1ubuntu0.1_amd64.deb /var/cache/apt/archives/libustr-1.0-1_1.0.4-3ubuntu2_amd64.deb /var/cache/apt/archives/libsemanage1_2.2-1_amd64.deb /var/cache/apt/archives/libdb5.3_5.3.28-3ubuntu3.1_amd64.deb /var/cache/apt/archives/libpam-modules-bin_1.1.8-1ubuntu2.2_amd64.deb /var/cache/apt/archives/libpam-modules_1.1.8-1ubuntu2.2_amd64.deb /var/cache/apt/archives/passwd_1%3a4.1.5.1-1ubuntu9.5_amd64.deb /var/cache/apt/archives/libuuid1_2.20.1-5.1ubuntu20.9_amd64.deb /var/cache/apt/archives/libblkid1_2.20.1-5.1ubuntu20.9_amd64.deb /var/cache/apt/archives/libcomerr2_1.42.9-3ubuntu1.3_amd64.deb /var/cache/apt/archives/libss2_1.42.9-3ubuntu1.3_amd64.deb /var/cache/apt/archives/libncurses5_5.9+20140118-1ubuntu1_amd64.deb /var/cache/apt/archives/libslang2_2.2.4-15ubuntu1_amd64.deb /var/cache/apt/archives/lsb-base_4.1+Debian11ubuntu6.2_all.deb /var/cache/apt/archives/tzdata_2019a-0ubuntu0.14.04_all.deb /var/cache/apt/archives/insserv_1.14.0-5ubuntu2_amd64.deb /var/cache/apt/archives/sysv-rc_2.88dsf-41ubuntu6.3_all.deb /var/cache/apt/archives/sysvinit-utils_2.88dsf-41ubuntu6.3_amd64.deb /var/cache/apt/archives/util-linux_2.20.1-5.1ubuntu20.9_amd64.deb /var/cache/apt/archives/e2fsprogs_1.42.9-3ubuntu1.3_amd64.deb /var/cache/apt/archives/findutils_4.4.2-7_amd64.deb /var/cache/apt/archives/grep_2.16-1_amd64.deb /var/cache/apt/archives/gzip_1.6-3ubuntu1_amd64.deb /var/cache/apt/archives/hostname_3.15ubuntu1_amd64.deb /var/cache/apt/archives/libpam-runtime_1.1.8-1ubuntu2.2_all.deb /var/cache/apt/archives/login_1%3a4.1.5.1-1ubuntu9.5_amd64.deb /var/cache/apt/archives/libmount1_2.20.1-5.1ubuntu20.9_amd64.deb /var/cache/apt/archives/mount_2.20.1-5.1ubuntu20.9_amd64.deb /var/cache/apt/archives/ncurses-bin_5.9+20140118-1ubuntu1_amd64.deb /var/cache/apt/archives/sed_4.2.2-4ubuntu1_amd64.deb /var/cache/apt/archives/libdebconfclient0_0.187ubuntu1_amd64.deb /var/cache/apt/archives/base-passwd_3.5.33_amd64.deb /var/cache/apt/archives/bsdutils_1%3a2.20.1-5.1ubuntu20.9_amd64.deb /var/cache/apt/archives/libc-bin_2.19-0ubuntu6.15_amd64.deb /var/cache/apt/archives/ncurses-base_5.9+20140118-1ubuntu1_all.deb failed: process exited with 2 and error in console output W: hooklistener errored out: E: received eof on socket I: main() received signal PIPE: waiting for setup... I: removing tempdir /tmp/mmdebstrap.w0v46VeV27... E: mmdebstrap failed to run ``` ** Also affects: systemd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2158250 Title: mmdebstrap fails to build images for xenial and older To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/adduser/+bug/2158250/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
