Skip to content
Snippets Groups Projects
Commit cf50a0b4 authored by Luca Boccassi's avatar Luca Boccassi
Browse files

libc6-<arch>: create merged-usr symlinks via preinst

There is a corner case on a merged-usr system that affects users
installing and then removing a libc6-<arch> package: the top-level
symlink gets removed, as the library is usually the last package to
install files there.

Add a preinst snippet that, if the system is merged-usr, creates the
top-level symlink used by the package. This way if it gets installed
and then removed, and then installed again, everything will work.
Note that this does not implement the full conversion, as that's the
responsibility of the usrmerge package (moving files, etc) - this
simply deals with the common case of the missing symlink.

Once all packages ship only files under /usr, hopefully in Trixie,
this can be removed.

Closes: #926699
parent e42ad945
No related branches found
No related tags found
1 merge request!11libc6-<arch>: create merged-usr symlinks via preinst
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment