• Re: Another usrmerge complication

    From Guillem Jover@21:1/5 to Simon Richter on Sun Mar 17 17:20:02 2024
    Hi!

    On Sun, 2024-03-17 at 11:23:28 +0900, Simon Richter wrote:
    because life isn't hard enough as it is: When /bin is a symlink to usr/bin, and I install two packages, where one installs /bin/foo and the other installs /usr/bin/foo, then, if both are installed in the same dpkg invocation, the contents of the first package end up being installed, while in two separate invocations, the second package's contents win.

    So for any undetected file conflict, which file now exists now depends on whether apt decided to install both packages during the same installation round or not.

    Yes, but this has been known though? To me it seems implicit in the
    "dpkg will fail to notice conflicts so there will be silent file
    overwrites" from the Dpkg/MergedUsr wiki page for example.

    Once I can deploy fsys metadata, then I'll simply make dpkg reject
    installing pathnames through a directory symlink, as I've mentioned
    before. Unfortunately this is currently blocked by the merged-/usr
    move transition (among other things).

    Thanks,
    Guillem

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)