c588a0bfe59ee104141816e56e7cde0359925921
[portage.git] / man / emaint.1
1 .TH "EMAINT" "1" "Nov 2008" "Portage VERSION" "Portage"
2 .SH NAME
3 emaint \- performs system health checks and maintenance
4 .SH SYNOPSIS
5 .BR emaint
6 [\fIoptions\fR]
7 [\fBall\fR | \fBbinhost\fR | \fBcleanresume\fR | \
8 \fBmovebin\fR | \fBmoveinst\fR | \fBworld\fR]
9 .SH DESCRIPTION
10 The emaint program provides an interface to system health
11 checks and maintenance.
12 .SH COMMANDS
13 .TP
14 .BR all
15 Perform all supported commands.
16 .TP
17 .BR binhost
18 Generate a metadata index for binary packages located in \fBPKGDIR\fR (for
19 download by remote clients). See the \fBPORTAGE_BINHOST\fR documentation in
20 the \fBmake.conf\fR(5) man page for additional information.
21 .TP
22 .BR cleanconfig
23 Discard no longer installed config tracker entries.
24 .TP
25 .BR cleanresume
26 Discard merge lists saved for the \fBemerge\fR(1) \fB--resume\fR action.
27 .TP
28 .BR logs
29 Clean out old logs from the \fBPORT_LOGDIR\fR using the command \fBPORT_LOGDIR_CLEAN\fR
30 See the \fBmake.conf\fR(5) man page for additional information as well as enabling the
31 \fB'clean-logs'\fR feature in emerge to do this automatically.
32 .TP
33 .BR movebin
34 Perform package move updates for binary packages located in \fBPKGDIR\fR.
35 .TP
36 .BR moveinst
37 Perform package move updates for installed packages.
38 .TP
39 .BR world
40 Fix problems in the \fIworld\fR file.
41 .SH DEFAULT OPTIONS 
42 .TP
43 .B \-c, \-\-check
44 Check for any problems that may exist.  (all commands)
45 .TP
46 .B \-f, \-\-fix
47 Fix any problems that may exist.  (not all commands)
48 .SH OPTIONS
49 .TP
50 .B \-C, \-\-clean
51 Cleans the logs from \fBPORT_LOGDIR\fR (logs command only)
52 .TP
53 .B \-p, \-\-pretend
54 Sets pretend mode (same as \-c, \-\-check) for use with the \-C, \-\-clean OPTION (logs command only)
55 .TP
56 .B \-t NUM, \-\-time NUM
57 Changes the minimum age \fBNUM\fR (in days) of the logs to be listed or deleted. (logs command only)
58 .SH "REPORTING BUGS"
59 Please report bugs via http://bugs.gentoo.org/
60 .SH AUTHORS
61 .nf
62 Mike Frysinger <vapier@gentoo.org>
63 Brian Dolbec <dolsen@gentoo.org>
64 .fi
65 .SH "FILES"
66 .TP
67 .B /var/lib/portage/world
68 Contains a list of all user\-specified packages.
69 .TP
70 .B /var/lib/portage/config
71 Contains the paths and md5sums of all the config files being tracked.
72 .SH "SEE ALSO"
73 .BR emerge (1),
74 .BR portage (5)