public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] if (world file) then {no add to world when update pkg}
@ 2003-12-11 18:44 Patrick Börjesson
  2003-12-11 19:37 ` Marius Mauch
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Börjesson @ 2003-12-11 18:44 UTC (permalink / raw
  To: gentoo-portage-dev

[-- Attachment #1: Type: text/plain, Size: 1146 bytes --]

I just thought that if portage-ng is to rely on a world file just as
current portage, then one idea would be to not add the packages you
update manually with 'emerge -u <package name>' to it.
There was a thread in gentoo-user today which took up this matter when
someone asked for a way to update all the packages currently installed
on his machine. One method is to run 'emerge -Du `qpkg -I -nc`', but as
someone pointed out, this would add every single package you have on
your system to your world file (which I guess nobody wants) if you
didn't supply the --oneshot flag to emerge. I propose that the default
behaviour for portage-ng would be to check whether the package you're
trying to update is already installed on the system, else do nothing.
And if it's installed it shouldn't add the package to world after the
merging is completed (which it currently does). 
Would there be some negative sides of doing it this way? And if not, why
is this not default behaviour in current portage?
Feedback (in all its forms) appreciated.

Patrick Börjesson

-- 
Public key ID: 4C5AB0BF
Public key available at wwwkeys.pgp.net

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-12-11 20:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-11 18:44 [gentoo-portage-dev] if (world file) then {no add to world when update pkg} Patrick Börjesson
2003-12-11 19:37 ` Marius Mauch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox