Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a simple way to skip a certain upgrade in emerge -auvD world?

For example, currently there is a broken media-sound/teamspeak-server-bin-3.0.5-r1 marked as stable in the portage tree which breaks the whole upgrade since that package is the first one in the list. Of course I could simply mask this version using the package.mask file, but I'd prefer an environment variable or commandline switch to skip it only right now - it will probably be fixed soon anyway.

Note that I do not want to use emerge -auvD1 list of working packages (i.e. only updating the other packages by specifying all their names).

share|improve this question

2 Answers 2

up vote 15 down vote accepted

Looks like the --exclude option does this:

--exclude ATOMS
A space separated list of package names or slot atoms. Emerge won't install any ebuild or binary package that matches any of the given package atoms.

So this did the job for me:

emerge -auvD --exclude=media-sound/teamspeak-server-bin world
share|improve this answer

If you don't want to mask it you can use the --keep-going option. That makes the emerge reset its list and keep going, without the failed package in the list.

share|improve this answer

Your Answer

 
discard

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.