Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707924 - emerge --update should not add atom arguments to world file
Summary: emerge --update should not add atom arguments to world file
Status: RESOLVED DUPLICATE of bug 287869
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-02 13:43 UTC by Ulenrich
Modified: 2020-02-02 23:00 UTC (History)
0 users

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 Ulenrich 2020-02-02 13:43:30 UTC
I happily can 
emerge -u @world
whithout my world file growing, but 
it happens otherwise and feels wrong:
--- example with stable portage:

# emerge -u $(qlist -IC sys-apps)

These are the packages that would be merged, in order:

Calculating dependencies  ..... ... done!
[ebuild     U  ] sys-apps/gentoo-functions-0.13::gentoo [0.12::gentoo] 12 KiB
[ebuild     U  ] sys-apps/kbd-2.2.0-r2::gentoo [2.0.4::gentoo] USE="nls pam -test" 1.090 KiB
[ebuild     U  ] sys-apps/smartmontools-7.1::gentoo [7.0-r1::gentoo] USE="-caps -daemon (-selinux) -static systemd -update_drivedb" 949 KiB
[ebuild     U  ] sys-apps/hwids-20191025::gentoo [20190818::gentoo] USE="net pci udev usb" 3.364 KiB
[ebuild     U  ] sys-apps/sed-4.8::gentoo [4.7::gentoo] USE="acl nls (-selinux) -static" 0 KiB
[ebuild     U  ] sys-apps/shadow-4.8.1::gentoo [4.6::gentoo] USE="acl audit -bcrypt% -cracklib nls pam (-selinux) -skey (split-usr) su%* xattr" 1.574 KiB

Total: 6 packages (6 upgrades), Size of downloads: 6.986 KiB

Would you like to merge these packages? [Yes/No] y
>>> Recording sys-apps/acl in "world" favorites file...
>>> Recording sys-apps/baselayout-java in "world" favorites file...
>>> Recording sys-apps/bubblewrap in "world" favorites file...
>>> Recording sys-apps/debianutils in "world" favorites file...
>>> Recording sys-apps/ed in "world" favorites file...
>>> Recording sys-apps/gentoo-systemd-integration in "world" favorites file...
>>> Recording sys-apps/gnome-disk-utility in "world" favorites file...
>>> Recording sys-apps/groff in "world" favorites file...
>>> Recording sys-apps/help2man in "world" favorites file...
>>> Recording sys-apps/man-db in "world" favorites file...
>>> Recording sys-apps/man-pages-posix in "world" favorites file...
>>> Recording sys-apps/sandbox in "world" favorites file...
>>> Recording sys-apps/texinfo in "world" favorites file...
>>> Recording sys-apps/xdg-dbus-proxy in "world" favorites file...
>>> Verifying ebuild manifests
>>> Emerging  ....
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2020-02-02 13:58:57 UTC
(In reply to Ulenrich from comment #0)
> I happily can 
> emerge -u @world
> whithout my world file growing, but 
> it happens otherwise and feels wrong:
> --- example with stable portage:
> 
> # emerge -u $(qlist -IC sys-apps)

Try this:
 emerge -u1 $(qlist -IC sys-apps)


Problem solved?
Comment 2 Zac Medico gentoo-dev 2020-02-02 23:00:39 UTC
You can make --oneshot behavior default by setting --select=n in EMERGE_DEFAULT_OPTS.

Coupling --oneshot with --update is too disruptive. We've tried it before and then reverted it (see bug 190781).

*** This bug has been marked as a duplicate of bug 287869 ***