Files
cheatsheet-tldr/tldr/linux/emaint
2025-09-25 00:19:09 +00:00

26 lines
554 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}}`
- Clear the Portage resume list:
`sudo emaint cleanresume {{[-f|--fix]}}`
- Clean Portage logs:
`sudo emaint logs {{[-C|--clean]}}`