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.

>
> Now if you run that script and put *all* your packages in the world
> file then portage won't know if depB can safely be removed because it's
> now a regular package in the world file instead of just being a
> dependency of packageA?  So now you have stale libraries or other junk
> that you probably don't need because you unmerged packageA a long time
> ago but depB, depC and depD are still on your system taking up space.
>
> Is my thinking correct?  If so this should be spelled out somewhere
> because every few weeks or so there's always a portage misunderstanding
> that comes up on this list.
>

-- 
Gentoo-1.4.3.2 Unstable. KDE: 3.1.0 Qt: 3.1.0
AMD Athlon(tm) XP 1900+ 512MB.  Kernel: 2.4.20-xfs_pre5-pnr.    GCC 3.2.2


--
[EMAIL PROTECTED] mailing list

Reply via email to