Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216692 - Configuring Portage: updating portage should be done with --oneshot
Summary: Configuring Portage: updating portage should be done with --oneshot
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Installation Handbook (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: nm (RETIRED)
URL: http://www.gentoo.org/doc/en/handbook...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-07 12:55 UTC by Taylor Bertie
Modified: 2008-04-09 00:03 UTC (History)
2 users (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 Taylor Bertie 2008-04-07 12:55:04 UTC
Under the Configuring Portage Section it currently says:

If you are warned that a new Portage version is available and that you should update Portage, you should do it now using emerge portage command.

In order to prevent portage been added to the world file this should be done with --oneshot.

Reproducible: Always

Steps to Reproduce:
Comment 1 nm (RETIRED) gentoo-dev 2008-04-08 06:51:07 UTC
Thanks for reporting; fixed in CVS.
Comment 2 Davide Cendron (RETIRED) gentoo-dev 2008-04-08 18:26:16 UTC
(In reply to comment #0)
> 
> In order to prevent portage been added to the world file this should be done
> with --oneshot.
> 

False. Portage doesn't add itself to world file, even if i run "emerge portage" without --oneshot.

Try this:

# grep sys-apps/portage /var/lib/portage/world
<no output>

# emerge portage
....
....
....

# grep sys-apps/portage /var/lib/portage/world
<no output>
Comment 3 nm (RETIRED) gentoo-dev 2008-04-08 23:36:08 UTC
(In reply to comment #2)
> False. Portage doesn't add itself to world file, even if i run "emerge portage"
> without --oneshot.

Well, I'll leave the fix as it is in case the behavior changes in the future, when there's more than one supported package manager. You'd think any package explicitly merged without --oneshot *should* be added to world, regardless of what the package is.
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2008-04-09 00:03:59 UTC
Well, --oneshot doesn't hurt ;)