I have an overlay alone with the default portage. Basically, I want to emerge only the updates from the main portage when I run emerge world -unD, and emerge the extra packages from the overlay explicitly.

But now, each time I run emerge world, I got all the packages from both portage.

I want to know what is the best way to keep enforce update from one portage only.

2 Answers 2


You should edit it in files /etc/portage/* In /etc/portage/provided/package.provided you place files which you do not want to be updated or installed e.g. dev-util/android-sdk-update-manager-20.0.3 dev-java/icedtea-bin- dev-java/icedtea-bin-

In manuals you will find the rest:




I haven't tried it but PORTAGE_OVERLAY="" emerge world -unD should work.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .