← All tools

Tatsh/upkeep

Popularity 65 Updated Development & Build

Portage update helper commands.

githubauto-collected

Installation

A directly usable install command is not verified yet. Check the project documentation or releases.

Easier Gentoo system maintenance

This is a set of commands to simplify maintaining a Gentoo system.

Installation

Poetry

poetry add upkeep

Pip

pip install upkeep

Commands

Everything lives under a single upkeep command:

| Command | Purpose | | ----------------------- | ------------------------------------------------------------- | | upkeep all | Sync, update, and clean in one pass. | | upkeep emerges | Update Portage, @world, and the kernel. | | upkeep ecleans | Remove build leftovers, unused packages, and stale distfiles. | | upkeep upgrade-kernel | Select the newest kernel and build it. | | upkeep rebuild-kernel | Rebuild the currently selected kernel. |

-d/--debug enables debug logging and is accepted on either side of the subcommand name, so upkeep -d all and upkeep all -d are equivalent. Pass --help to any subcommand to see its options.

all

A single command for a full maintenance pass:

  • emerge --sync, wrapped by any configured hooks. Skip it with --no-sync.
  • Everything upkeep emerges does, including the kernel upgrade.
  • Everything upkeep ecleans does. Skip it with --no-clean.
upkeep all --no-sync

emerges

This command will do the following:

  • Update Portage
  • Update @world with options --with-bdeps=y, --update, --deep,