Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33882 - code example of --emptytree doesn't work
Summary: code example of --emptytree doesn't work
Status: RESOLVED WORKSFORME
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Portage Manual (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: Docs Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-19 17:19 UTC by Harvey Chapman
Modified: 2003-11-21 01:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harvey Chapman 2003-11-19 17:19:20 UTC
Code listing 3.11: Recompile all dependencies too
# emerge --update world --emptytree

On my box using Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1,
2.4.20-gentoo-r6-test), that command reports this:

$ emerge -vpu world --emptytree
!!! Error: --emptytree is an invalid option.

Changed to "emerge -vp --emptytree -u world" and it worked fine.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2003-11-20 17:05:48 UTC
a) order of options/arguments for emerge is not important, so that would be a portage bug
b) copy+pasted your command, worked here (not -r15 here, but the option parser wasn't changed), so are you sure that you typed it correctly ?

(I still see a small doc bug as --update is redundant when used in combination with --emptytree)
Comment 2 Harvey Chapman 2003-11-20 17:25:54 UTC
I did an "emerge -u system" earlier and now I can't reproduce it. Oh well. I guess this can be set to WORKSFORME. Strange. Thanks.
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2003-11-21 01:45:54 UTC
On popular request :)