From Gentoo Wiki
Jump to:navigation Jump to:search


"mergence" is Digit's gentoo maintenance scripts.

(as noted in Discussion page:) "Practicing out of the way before making changes elsewhere on the wiki. Tips how to better deploy advice of and welcome"
tldr: premerg syncs, pretence previews, mergence upgrades and extras. Simple package manager wrapper script.
mergence has not been updated for years, and was written by an incomptent newbie (User:Digit). So it was probably wrong back then, and only drifted more wrong in maintenance and development neglect. mergence is provided here "as-is", merely to let Digit practice editing the wiki somewhere out of the way. Do not take it as a serious piece of kit to live by.
Not advisable to attempt to manage a gentoo system with mergence alone. You still need to use the tools mergence uses, tools not in mergence, the handbook/wiki and your brain.

source git:

mergence contains:

mergence itself

a script to update and maintain gentoo.
includes a world emerge, and more
revdep-rebuild, eclean, etc-update, emaint, haskell updater...


+ layman, eix-sync, glsa-check


previews the main bulk of what mergence would do.
just the world emerge preview,
does not include preview of haskell updates etc.

mergence use

using permerg

root #premerg

using pretence

user $pretence
no root privileges required to run pretence

using mergence itself

root #mergence


Get the scripts.

Acquire the scripts, e.g. copy pasta from the web, or, via git:

Copy the scripts

Copy the scripts to somewhere in your $PATH. E.g. if the git command has just been run, simply:

root #cp mergence/mergence /bin/
root #cp mergence/premerg /bin/
root #cp mergence/pretence /bin/
Ensure premerg and mergence are in root user's $PATH.

Make the scripts executable

root #chmod +x /bin/mergence
root #chmod +x /bin/premerg
root #chmod a+x /bin/pretence
sudo is included in the commands by default, so, adjust how you wish to set the executable permissions to suit your system's needs.

Now mergence is installed and ready to use.

Read the scripts before executing, to make sure they are not doing anything you wouldn't want done. It's an easy read. You may want to tweak the commands and their options to better suit your system's needs.