Helmut-San,

 Thanks for your suggestion.I can do below with my environment as-is.

 But, please give some days to me, because very busy today (and maybe a
 few days). I will try to reproduce #1105811 issue (parhaps until next
 monday),
inspired by your below suggestion. 

Sorry and please wait.
Ohta.

On Wed, 21 May 2025 16:28:04 +0200
Helmut Grohne <hel...@subdivi.de> wrote:

> On Wed, May 21, 2025 at 09:49:52PM +0900, K.Ohta wrote:
> > *Prereq:
> >  1. I installed Debian GNU/Linux for my PC a long time,
> >    from 2.0 "hamm" or 1.3 "bo".
> >    Of cource, I replaced a PCs a lot, but OS and softwares were
> > inherited beyond PCs, HDDs and SDDs.
> >  2. I added AMD64 archtecture very early timing (perhaps 2005~2006).
> 
> That hints that the situation may be unusual and maybe not worth
> adding more code for.
> 
> > *Instruction (I don't test completely due to my poorly
> >               disk capacity , sorry).
> 
> I don't think you need much disk space. Even a non-minimal
> installation should fit into 1GB and most current systems have
> significantly more RAM (i.e. you may use tmpfs).
> 
> >  1. Install older Debian GNU/Linux (i.e. 8 "jessie") 
> >     both for i386 and amd64 on VM capability to get snapshot.
> >     For example, VirtualBox.
> >     
> >  2. Enable suppot for x32 architecture, see 
> >     https://wiki.debian.org/X32Port .
> >     At least, you should install libc6-x32:amd64 and libc6-dev-x32 .
> >     Using archive.debian.org is useful.
> >     
> >  3. Dist-Upgrade distribution versions step by step.
> >      8.0 -> 9.0 ...
> >     I strongly recommend to get a snapshot of VM 
> >     before apt-get dist-upgrade.
> 
> I hope we can skip all of this.
> 
> >  4. At version 12.0 "bookworm" , you should get snapshot
> >     this point at least.
> 
> If we just need a bookworm snapshot with x32, the following rune may
> work:
> 
>     mmdebstrap \
>       --aptopt='Acquire::Check-Valid-Until "false"' \
>       --keyring=/usr/share/keyrings/debian-archive-keyring.gpg \
>       --keyring=/usr/share/keyrings/debian-ports-archive-keyring.gpg \
>       --variant=apt \
>       --architectures=amd64,x32 \
>       '' \
>       /dev/null \
>       'deb [arch=amd64]
> http://snapshot.debian.org/archive/debian/20230610T162914Z unstable
> main' \ 'deb [arch=x32]
> http://snapshot.debian.org/archive/debian-ports/20230610T162914Z/
> unstable main' \ --chrooted-customize-hook=bash
> 
> Some explanation. mmdebstrap is a fancy alternative for debootstrap.
> You don't have to run it as root. We instruct to ignore signature
> validity (for use with snapshot.d.o), allow the ports archive
> keyring, choose variant apt to install as few packages as possible,
> enable both amd64 and x32 as architectures, do not specify a suite as
> it will be implied from the source, specify /dev/null as output as
> we're only testing things, use snapshots at the time of bookworm's
> release and drop into a root shell.
> 
> >  5. Remove all x32 related programs and libraries before installed.
> >     Then, get snapshot again.
> 
> I attempted installing libc6-x32 and libc6:x32 and removing them in
> either order.
> 
> >  6. Check whether /usr/libx32 and /lib32 are empty.
> >      Then, also get snapshot.
> 
> At no point did I see an empty /usr/libx32. It was either populated or
> absent. Also /libx32 was never dangling.
> 
> Could you go into more detail as to how you got into the problematic
> situation?
> 
> >  7. If empty, "sudo rm -fR /usr/lib32 /lib32" and get snapshot.
> 
> This sounds like you want to have a preinst failure.
> 
> Thus far I see little reason to add support code for the situation at
> hand.
> 
> Helmut
> 
> 

Reply via email to