dpkg-fsys-usrunmess - Man Page

undoes the merged-/usr-via-aliased-dirs mess

Synopsis

dpkg-fsys-usrunmess [option...]

Description

dpkg-fsys-usrunmess is a tool to fix up filesystems that have been installed anew with recent installers with unfortunate defaults or migrated to the broken merged /usr via aliased directories layout, which is not supported by dpkg. See the dpkg FAQ.

The program will perform the following overall actions:

Note: When running the program from some shells such as bash(1) or zsh(1), after executing it, you might need to request the shell to forget all remembered executable locations with for example hash -r.

Warning: Note that this operation has the potential to render the system unusable or broken in case of a sudden crash or reboot, unexpected state of the system, or possible bugs in the script. Be prepared with recovery media and consider doing backups beforehand.

Options

-p,  --prompt

Prompt at the time of no return, so that the debug output or the shadow hierarchy can be evaluated before proceeding.

-n,  --no-act
--dry-run

This option enables the dry-run mode, where no destructive action takes place, only the preparatory part.

-?,  --help

Show the usage message and exit.

--version

Show the version and exit.

Environment

DPKG_USRUNMESS_NOACT

This setting defines whether to enable dry-run mode.

See Also

<https://wiki.debian.org/Teams/Dpkg/FAQ#Q:_Does_dpkg_support_merged-.2Fusr-via-aliased-dirs.3F>.

Info

2021-04-13 1.20.9 dpkg suite