->-----Original Message-----
->From: John Nilsson [mailto:[EMAIL PROTECTED]]
->Sent: Wednesday, February 05, 2003 10:21 PM
->To: Peter Ruskin
->Cc: [EMAIL PROTECTED]
->Subject: Re: [gentoo-user] how to update all packages
->
->
->On Thu, 2003-02-06 at 03:10, Peter Ruskin wrote:
->> On Thursday 06 Feb 2003 01:56, Ajay Sharma wrote:
->> > On Wed, 5 Feb 2003, Mark D'voo wrote:
->> > > Go here, it has a little script that will put every package you have
->> > > installed including deps into your world file making sure that
->> > > everything get's updated.
->> > >
->> > > http://forums.gentoo.org/viewtopic.php?t=7487&highlight=
->> >
->> > I thought that putting all your files including deps in the world file
->> > was a bad idea??
->> >
->> > Someone tell me if this is wrong:
->> >
->> > Let's say you install packageA and it pulls in the depB,
->depC, and depD
->> > packages as dependencies.  So from my understanding packageA will be
->> > listed in the world file and the depB, depC and depD packages
->won't be.
->> > Running 'emerge -u world' will update the packages listed in the world
->> > file, packages like packageA will get updated while depB, depC, and
->> > depD will stay at their older version.  To update those packages you
->> > need to run 'emerge -u --deep world'.  And if you uninstall packageA,
->> > then it will remove depB, depC, and depD.
->> >
->> > So far so good??
->>
->> Not quite: if you uninstall packageA it will *not* remove depB,
->depC, and
->> depD.
->
->A --depclean would however, Also --update will take a peak att depB
->while --deep will follow down to depC and depD.
->
->If you add the whole system to world a simple `emerge -u world` would
->have to examine every single package, and its first line of deps, for
->updates (I don't know it it optimizes away packages that has already
->been decided on), which would mean that glibc f.ex. would be examined
->about 400 times, could get rather slow I imagine...
->
->/John

I just tried this command, it says that --depclean is an invalid option.

emerge unmerge -p --depclean kde
and
emerge -p --depclean kde

kev


--
[EMAIL PROTECTED] mailing list

Reply via email to