Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 1 down vote accepted

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:



share|improve this answer

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.