LinuxCommandLibrary

emaint

Portage system maintenance utility

TLDR

Synchronize repositories set to auto-sync

$ sudo emaint sync [-a|--auto]
copy
Synchronize a specific repository
$ sudo emaint sync [-r|--repo] [repository]
copy
Synchronize all repositories
$ sudo emaint sync [-A|--allrepos]
copy
Clear the Portage resume list
$ sudo emaint cleanresume [-f|--fix]
copy
Clean Portage logs
$ sudo emaint logs [-C|--clean]
copy

SYNOPSIS

emaint module [options]

DESCRIPTION

emaint performs Portage maintenance tasks on Gentoo systems. It handles repository synchronization, database cleanup, log management, and other administrative functions.
Preferred over deprecated `emerge --sync` for repository updates.

PARAMETERS

sync

Synchronize repositories
-a, --auto
Sync auto-sync enabled repos
-r, --repo name
Sync specific repository
-A, --allrepos
Sync all repositories
cleanresume
Clear resume list
logs
Manage log files
-C, --clean
Clean old entries
-f, --fix
Apply fixes

CONFIGURATION

/etc/portage/repos.conf

Repository configuration for Portage, controlling which repositories are synchronized.

CAVEATS

Gentoo Linux specific. Requires root privileges. Part of the Portage package management system.

SEE ALSO

emerge(1), eselect(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community