← 返回命令列表

Linux command

emaint 命令

安全

涉及管道、覆盖或删除,执行前请先确认路径和参数。

常用示例

Example

sudo emaint sync [-a|--auto]

Example

sudo emaint sync [-r|--repo] [repository]

Example

sudo emaint sync [-A|--allrepos]

Clear

sudo emaint cleanresume [-f|--fix]

Clean

sudo emaint logs [-C|--clean]

说明

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.

参数

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

FAQ

What is the emaint command used for?

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.

How do I run a basic emaint example?

Run `sudo emaint sync [-a|--auto]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does sync do in emaint?

Synchronize repositories