Josch, I downloaded the latest sysimage-v3. I’m installing to a USB device LUKS/LVM with reformvg-root and reformvg-swap partitions (ext4, swap).
TL;DR - The installation fails to update-initramfs, and fails dependency check that it ought to pass. Full details below, and I apologize for the length. My time to work on this comes in spurts where I can get a lot done, then have to go do “paid work” for a while… so I try to get as much in at a time. Thank you for all you do for the project, the code, the upstream distro, and for your advice to me here.
Error snippet follows from
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-5.19.0-reform2-arm64
W: No zstd in /usr/bin:/sbin:/bin, using gzip
cryptsetup: WARNING: Couldn't determine root device
cryptsetup: ERROR: Couldn't resolve device /dev/dm-1
Warning: root device /dev/mmcblk1p2 does not exist
W: Couldn't identify type of root file system for fsck hook
grep: warning: stray \ before #
Note: this is fixed after an
apt-get update && apt-get upgrade
The grep warning is due to the use of egrep instead of grep -e. This occurs also many times in a subsequent
apt-get upgrade following the
The cryptsetup I haven’t looked at the code.
The zstd warning could be fixed by adding the
zstd package to any of the many
apt-get install being called, or so I thought, but after adding it and verifying it’s at
/usr/bin/zstd the same warning appears on run #2.
Number 2 (fatal): Note: Extra lines up top so you can easily tell where this happened:
I: automatically chosen mode: root
I: chroot architecture arm64 is equal to the host's architecture
I: automatically chosen format: tar
I: using /usr/local/bin/reform-system-image-sysimage-v3-20220830/reform2-imx8mq/mmdebstrap.jMMrPJdRC9 as tempdir
I: running --setup-hook in shell: sh -c 'mmtarfilter "--path-exclude=/dev/*" < target-userland.tar | tar -C "$1" -x' exec /usr/local/bin/reform-system-image-sysimage-v3-20220830/reform2-imx8mq/mmdebstrap.jMMrPJdRC9
tar: Ignoring unknown extended header keyword 'hdrcharset'
I: running apt-get update...
I: nothing to download -- skipping...
I: nothing to extract -- skipping...
I: no essential packages -- skipping...
I: running --customize-hook in shell: sh -c 'rm -f "$1"/etc/motd' exec /usr/local/bin/reform-system-image-sysimage-v3-20220830/reform2-imx8mq/mmdebstrap.jMMrPJdRC9
I: running --customize-hook in shell: sh -c 'ln -s motd-full "$1"/etc/motd' exec /usr/local/bin/reform-system-image-sysimage-v3-20220830/reform2-imx8mq/mmdebstrap.jMMrPJdRC9
I: running --customize-hook in shell: sh -c 'mv "$1"/etc/apt/apt.conf.d/10apt-listbugs "$1"/etc/apt/apt.conf.d/10apt-listbugs.bak' exec /usr/local/bin/reform-system-image-sysimage-v3-20220830/reform2-imx8mq/mmdebstrap.jMMrPJdRC9
I: running --customize-hook in shell: sh -c 'chroot "$1" apt-get install --yes git libreoffice libreoffice-gtk3 inkscape firefox-esr chromium emacs gimp wmaker x11-utils imagemagick-6.q16' exec /usr/local/bin/reform-system-image-sysimage-v3-20220830/reform2-imx8mq/mmdebstrap.jMMrPJdRC9
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
inkscape : Depends: libpoppler118 (>= 22.02.0) but it is not installable
E: Unable to correct problems, you have held broken packages.
E: run_chroot failed: E: command failed: chroot "$1" apt-get install --yes git libreoffice libreoffice-gtk3 inkscape firefox-esr chromium emacs gimp wmaker x11-utils imagemagick-6.q16
W: listening on child socket failed:
I: removing tempdir /usr/local/bin/reform-system-image-sysimage-v3-20220830/reform2-imx8mq/mmdebstrap.jMMrPJdRC9...
E: mmdebstrap failed to run
So after all that,
Comment: it once again downloads hundreds packages. I’d like to set up a build environment that downloads them once and keeps them. Is there an easy way to do that?
So, run #2 ended the same way, despite having adding
zstd and doing the
apt-get install -f
170 packages held back, everything else good.
170 new, 24 upgrades, and we try again.
Fyi before this libpoppler was
22.0-3 which the upgrade said was not
Same failure. Wishful thinking on my part that installing zstd and updating the packages would fix something