Control: tags -1 moreinfo On Mon, 2022-09-19 at 11:29 +0200, Andreas Beckmann wrote: > Shouldn't that fail in such a broken environment? > > # apt-get install --reinstall usr-is-merged > Reading package lists... Done > Building dependency tree... Done > Reading state information... Done > 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not > upgraded. > Need to get 0 B/4732 B of archives. > After this operation, 0 B of additional disk space will be used. > debconf: unable to initialize frontend: Dialog > debconf: (No usable dialog-like program is installed, so the dialog > based frontend cannot be used. at > /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78, <> line 1.) > debconf: falling back to frontend: Readline > (Reading database ... 15056 files and directories currently > installed.) > Preparing to unpack .../usr-is-merged_30+nmu1_all.deb ... > Unpacking usr-is-merged (30+nmu1) over (30+nmu1) ... > Setting up usr-is-merged (30+nmu1) ... > # ls -lad /lib{,32,64,x32} > lrwxrwxrwx 1 root root 7 Sep 19 00:35 /lib -> usr/lib > drwxr-xr-x 2 root root 440 Sep 19 08:59 /lib32 > lrwxrwxrwx 1 root root 9 Sep 19 00:35 /lib64 -> usr/lib64 > lrwxrwxrwx 1 root root 10 Sep 19 00:35 /libx32 -> usr/libx32
It should, but I cannot reproduce this? Can you share the exact steps you used to create the chroot? # ls -lad /lib{,32,64,x32} lrwxrwxrwx 1 root root 7 Sep 19 10:20 /lib -> usr/lib drwxr-xr-x 2 root root 4096 Sep 19 10:20 /lib32 lrwxrwxrwx 1 root root 9 Sep 19 10:20 /lib64 -> usr/lib64 lrwxrwxrwx 1 root root 10 Sep 19 10:20 /libx32 -> usr/libx32 # sh -x usrmerge/debian/usr-is-merged.preinst install + fail_if_unmerged + is_merged + directories=/bin /sbin /lib + [ -e /bin ] + readlink -f /bin + [ /usr/bin = /usr/bin ] + [ -e /sbin ] + readlink -f /sbin + [ /usr/sbin = /usr/sbin ] + [ -e /lib ] + readlink -f /lib + [ /usr/lib = /usr/lib ] + arch_directories=/lib64 /lib32 /libo32 /libx32 + [ -e /lib64 ] + readlink -f /lib64 + [ -e /lib32 ] + readlink -f /lib32 + return 1 + [ -e /etc/unsupported-skip-usrmerge-conversion ] + cat ****************************************************************************** * * The usr-is-merged package cannot be installed because this system does * not have a merged /usr. * * Please install the usrmerge package to convert this system to merged-/usr. * * For more information please read https://wiki.debian.org/UsrMerge. * ****************************************************************************** + exit 1 -- Kind regards, Luca Boccassi
signature.asc
Description: This is a digitally signed message part