Skip to content
Snippets Groups Projects

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

Merged Luca Boccassi requested to merge bluca/glibc:usrmerge into sid
1 unresolved thread

There is a corner case on a merged-usr system that affects users installing and then removing a libc6- 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

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading