Le samedi, 1 décembre 2018, 19.29:59 h CET Marc Haber a écrit : > This might sound like a stupid question, what will happen when a package > built on a usrmerged System will be installed on a non-usrmerged system?
FTR, I try to always assume that no question is stupid. Only answers can be. My understanding is that there's no universal answer to this; for a lot of packages, the answer is "nothing"; it will just work. For some packages though, if they embed executable paths such as /usr/bin/grep where only /bin/grep exists on the host system, this will break. > Will binaries move from /usr/bin to /bin? Or will binaries move from > /bin to /usr/bin? A merged-/usr has a /bin → /usr/bin symlink; so a .deb package unpacking /bin/grep will make that binary end up in /usr/bin/grep; but the /bin → /usr/bin symlink ensures that you can either access /usr/bin/grep directly or /bin/grep through the symlink. An open question I think is whether dpkg should/could at one point in the future always unpack binaries to /usr/bin and never in /bin no matter what the package contains (+ setup a convenience symlink in /bin if /bin is a real dir ?). Cheers, OdyX
signature.asc
Description: This is a digitally signed message part.