mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-02 12:43:00 +00:00
30 lines
627 B
Plaintext
30 lines
627 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# emaint
|
|
|
|
> Perform Portage maintenance tasks.
|
|
> More information: <https://wiki.gentoo.org/wiki/Portage#emaint>.
|
|
|
|
- Synchronize repositories that are set to auto-sync (default for most repositories):
|
|
|
|
`sudo emaint sync {{[-a|--auto]}}`
|
|
|
|
- Synchronize a specific repository:
|
|
|
|
`sudo emaint sync {{[-r|--repo]}} {{repository}}`
|
|
|
|
- Synchronize all repositories:
|
|
|
|
`sudo emaint sync {{[-A|--allrepos]}}`
|
|
|
|
- Clear the Portage resume list:
|
|
|
|
`sudo emaint cleanresume {{[-f|--fix]}}`
|
|
|
|
- Clean Portage logs:
|
|
|
|
`sudo emaint logs {{[-C|--clean]}}`
|