This document is a WORK IN PROGRESS.
This is just a quick personal cheat sheet: treat its contents with caution!
dispatch-conf
¶
The dispatch-conf
utility is included with Portage and is used to manage configuration file
updates. It allows system administrators to review then accept or reject upstream configuration
changes, which frequently happens when packages are updated.
Reference(s)
Note
Note that, as alternatives on Portage, etc-update
and cfg-update
also are tools to merge
configuration files. But they are not as simple and fully featured as dispatch-conf
.
Table of contents¶
Install¶
This package should be included by default with Portage.
Config¶
- Enable the
diff --color
switch, which displays the different types of changes in different colors, fordispatch-conf
:
Use¶
-
Run
dispatch-conf
: -
Update (replace) the current config file with the new config file and continue:
-
Zap (delete) the new config file and continue:
-
Skip to the next config file, leaving both the original config file and any
CONFIG_PRO‐TECTed
files: -
Edit the new config file, using the editor defined in EDITOR:
-
Interactively merge the current and new config files (press enter to list the sub commands of the merge tool):
-
Look at the differences between the pre merged and merged config files:
-
Toggle between the merged and pre merged config files (in terms of which should be installed using the u command):
-
Display a help screen:
-
Quit
dispatch-conf
:
If this cheat sheet has been useful to you, then please consider leaving a star here.