emerge

This is a wiki page. Be bold and improve it!

If you have any questions about the content on this page, don't hesitate to open a new ticket and we'll do our best to assist you.

See also: http://linux.overshoot.tv/wiki/portage

https://wiki.gentoo.org/wiki/Gentoo_Cheat_Sheet

Don't update from within a Desktop Environment
https://forums.gentoo.org/viewtopic-t-1053186-start-0-postdays-0-postord...

Emerging time: see man genlop (app-portage/genlop)
Example:

// How long it took to emerge llvm in the past:
# genlop -t llvm
* sys-devel/llvm
     Fri Feb 27 23:19:32 2015 >>> sys-devel/llvm-3.5.0
       merge time: 10 minutes and 52 seconds.
     Thu Jun 18 15:25:19 2015 >>> sys-devel/llvm-3.5.0
       merge time: 31 minutes and 1 second.
     Wed Dec 30 11:31:05 2015 >>> sys-devel/llvm-3.5.0
       merge time: 1 hour, 7 minutes and 20 seconds.
     Sat Jan  2 22:15:38 2016 >>> sys-devel/llvm-3.5.0
       merge time: 1 hour, 4 minutes and 19 seconds.
     Thu Sep 22 02:00:32 2016 >>> sys-devel/llvm-3.7.1-r3
       merge time: 1 hour, 58 minutes and 55 seconds.
     Sun Oct 16 11:36:02 2016 >>> sys-devel/llvm-3.7.1-r3
       merge time: 1 hour, 53 minutes and 34 seconds.
// How long the current emerge will take:
# genlop -tc
Currently merging 106 out of 126
* sys-devel/llvm-3.7.1-r3
       current merge time: 28 minutes and 58 seconds.
       ETA: 38 minutes and 42 seconds.

See also the compile time estimator:
http://gentoo.linuxhowtos.org/compiletimeestimator/

Troubleshooting

slot conflict

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

Try using --backtrack=10 or with an ever higher number.
man emerge:

--backtrack=COUNT
Specifies an integer number of times to backtrack if dependency calculation fails due to a conflict or an unsatisfied dependency (default: ´3´).