HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

emaint — Perform Portage maintenance tasks. More information: <https://wiki.gentoo.org/wiki/Portage#emaint>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
maintenancecommandportageperformclimoretasksemaint
linux

Problem

How to use the emaint command: Perform Portage maintenance tasks. More information: <https://wiki.gentoo.org/wiki/Portage#emaint>.

Solution

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]}}

Code Snippets

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]}}

Context

tldr-pages: linux/emaint

Revisions (0)

No revisions yet.