public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] --emptytree and slots
@ 2009-02-13 16:34 Helmut Jarausch
  2009-02-13 16:59 ` Nickolas Fortino
  0 siblings, 1 reply; 2+ messages in thread
From: Helmut Jarausch @ 2009-02-13 16:34 UTC (permalink / raw
  To: gentoo-user

Hi,

switching to a new machine is good opportunity to do
house-cleaning.

I wonder what emerge --emptytree does when several versions of some
packages like kde or gcc are installed (in different slots).
The entry in the 'world' file does not contain the slot info.

Is there any danger it will leave my machine with only one version
of each package?

Many thanks for your help,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



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

* Re: [gentoo-user] --emptytree and slots
  2009-02-13 16:34 [gentoo-user] --emptytree and slots Helmut Jarausch
@ 2009-02-13 16:59 ` Nickolas Fortino
  0 siblings, 0 replies; 2+ messages in thread
From: Nickolas Fortino @ 2009-02-13 16:59 UTC (permalink / raw
  To: gentoo-user

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

On Fri, Feb 13, 2009 at 8:34 AM, Helmut Jarausch <
jarausch@igpm.rwth-aachen.de> wrote:

> Hi,
>
> switching to a new machine is good opportunity to do
> house-cleaning.
>
> I wonder what emerge --emptytree does when several versions of some
> packages like kde or gcc are installed (in different slots).
> The entry in the 'world' file does not contain the slot info.
>
> Is there any danger it will leave my machine with only one version
> of each package?
>
> Many thanks for your help,
> Helmut.
>
> --
> Helmut Jarausch
>
> Lehrstuhl fuer Numerische Mathematik
> RWTH - Aachen University
> D 52056 Aachen, Germany
>
>
emerge -e world will re-emerge every package which is a dependency of
packages in your world file. It won't, however, do housecleaning of packages
in separate slots which are not used. To do that:

#usually required to make the next step happy
emerge -uDN world
emerge -p --depclean

Make sure you have the -p option, and sanity check the output of --depclean.
It's almost always correct, but only almost. See man emerge for more
information on other useful things the --depclean can do (in particular, it
does what most people seem to think 'equery depends' does).

Nick

[-- Attachment #2: Type: text/html, Size: 1638 bytes --]

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

end of thread, other threads:[~2009-02-13 16:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-13 16:34 [gentoo-user] --emptytree and slots Helmut Jarausch
2009-02-13 16:59 ` Nickolas Fortino

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