From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-144358-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 92E751383CE for <garchives@archives.gentoo.org>; Thu, 10 Jan 2013 18:09:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A522821C012; Thu, 10 Jan 2013 18:09:01 +0000 (UTC) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E18B621C028 for <gentoo-user@lists.gentoo.org>; Thu, 10 Jan 2013 18:07:08 +0000 (UTC) Received: by mail-vc0-f173.google.com with SMTP id f13so625290vcb.32 for <gentoo-user@lists.gentoo.org>; Thu, 10 Jan 2013 10:07:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=w9WpFGfwJqKjLPV6yVN8yz4cnoAv1rx3y200WWudGh4=; b=lRiE9D+DsrwRwXmLiPmGIc5YpBEMCxO64u5qfijFtL2VetWa+uU0XKjumRb+j7igxM QFEYx4shPBICgASJc95ex6THpD0fkPjFssx70ry0/bzQN5UiJNHw0Md5BxhWIW+Gnye+ ImTty5ubyhVKVd9aiMUSnhOREqP1NT7YB8NI1PBRuITW7b8asqv0u1KJ4O/sWl4W6XSM okHWdPI5TAJ2kzK3iYI3WFFqKox2AOrSw2XJIDAEDARJ1Y6ZliZrEA0TW/zAnm1S5i02 b5DGrGVOfaeNtM9C79gG9bx7x3IT87dUGYNniMy4Heuy97IvGzV1vGA+OF/iE24umIgS 4eRw== Received: by 10.220.115.133 with SMTP id i5mr90357024vcq.42.1357841228078; Thu, 10 Jan 2013 10:07:08 -0800 (PST) Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Sender: paul.hartman@gmail.com Received: by 10.58.217.195 with HTTP; Thu, 10 Jan 2013 10:06:47 -0800 (PST) In-Reply-To: <50EEF377.5030705@gmail.com> References: <50EEF377.5030705@gmail.com> From: Paul Hartman <paul.hartman+gentoo@gmail.com> Date: Thu, 10 Jan 2013 12:06:47 -0600 X-Google-Sender-Auth: FsvGlNp_3-rc97rNMheI2J54BwA Message-ID: <CAEH5T2OnND+dC6OMYPV_2PoohU--S=WJmkMesF==i6aXwR=W_w@mail.gmail.com> Subject: Re: [gentoo-user] How to get rid of old gcc? To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: 0be826b7-413f-418e-8452-b26a887fff3f X-Archives-Hash: 9d117fe824918caa0d757331c2e0b54b On Thu, Jan 10, 2013 at 10:59 AM, Jarry <mr.jarry@gmail.com> wrote: > Hi Gentoo users, > > I just updated gcc from 4.5.4 to 4.6.3, switched compiler > version, rebuilt libtool, but "emerge --depclean" still > does not want to remove old gcc. "equery list gcc" shows > both are still installed: > > [IP-] [ ] sys-devel/gcc-4.5.4:4.5 > [IP-] [ ] sys-devel/gcc-4.6.3:4.6 > > So how can I now remove the old gcc? I checked again > "Gentoo GCC Upgrade Guide", but did not find a single > word about it... If they are in slots, the newer version won't necessarily obsolete the older version. You can use "emerge --depclean -p -v gcc:4.5" to view any remaining dependencies on that slotted version. You can use "emerge -C gcc:4.5" to remove only that slot's version of gcc.