On Thu, 2022-09-22 at 02:33 +0200, Samuel Thibault wrote: > Samuel Thibault, le mer. 21 sept. 2022 23:46:09 +0000, a ecrit: > > Can't exec "cp": No such file or directory at > > /usr/lib/usrmerge/convert-usrmerge line 418. > > > > FATAL ERROR: > > Failed to execute cp --no-dereference --preserve=all --reflink=auto > > --sparse=always /lib/ld.so.1 /usr/lib/ld.so.1: No such file or directory > > > > You can try correcting the errors reported and running again > > /usr/lib/usrmerge/convert-usrmerge until it will complete without errors. > > Do not install or update other Debian packages until the program > > has been run successfully. > > > > E: usrmerge failed. > > > > > > Apparently it is trying to move ld.so but fails to do it properly. I > > didn't find which code takes care of doing it properly? > > It seems the code is cautious about symlinks, but only at one level of > recursion. The attached patch fixes it by continuing deferring symlinks > whose eventual target still doesn't exist yet.
Thanks for the patch - just to clarify, you can confirm it fixes the issue and the conversion completes successfully with it on hurd? -- Kind regards, Luca Boccassi
signature.asc
Description: This is a digitally signed message part