Author: Arnt Karlsen Date: To: dng Subject: Re: [DNG] ..usrmerge "upgrade" -> unusable system -> unusable
distro?, was: question re updating
On Thu, 2 Jul 2026 14:37:41 +0200, Lorenz wrote in message
<CAOEhTLyrZKaLdptHJ987K2x7+X0EFCQZ9KmNhopsoXRj7VGQ3g@???>:
> Hi,
>
> On Thu, Jul 2, 2026 at 1:47 PM Svante Signell via Dng
> <dng@???> wrote:
>
> > I'm also stuck at Daedalus for now. However, on GNU/Hurd, I'm not
> > using usrmerge, even when following unstable. The solution is to
> > (revert) patch base-files, patch sysvinit and introducing a few
> > soft links to some few packages.
> >
> > That could also be a future solution for Devuan. More investigations
> > are needed, however.
> >
>
> > See above. Maybe we should try to create a few soft links for
> > selected packages in addition to patching base-files and sysvinit
> > (et al)
>
> Just an idea (and I'm not going to do the work) but do you know
> /usr/bin/dh_movetousr
> from debhelper package? the addon is designed to move files at build
> time to /usr (the opposite of what you want) but I think it's an
> example that shows that you can have a "dh_unmovetousr" or
> "dh_unmerge" that moves an hardcoded lists of files form /usr back
> into their original path (you also probably need to symlink-farm
> into /usr).
>
> >
> > Thanks!
..as a first step, try paste in the below one-liner:
for p in sbin bin lib lib32 lib64 ;do dpkg -S \
$(which $(ls /$p/* )) |cut -d":" -f1 |sort |uniq |wc -l \
;echo "in /$p" ;done ;cat /etc/issue ;dpkg -l |wc -l
..I first tried the above on my old eeepc 900 with a dead
16GB ssd running kanotix32-towelfire-nightly-eeepc4G.iso
off an old 8GB SD card, believing I in the meantime would
have time to watch a youtube video... ;oD
--
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
Scenarios always come in sets of three:
best case, worst case, and just in case.