From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NlDcE-0007m6-Ej for garchives@archives.gentoo.org; Sat, 27 Feb 2010 03:45:18 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32AAAE096C; Sat, 27 Feb 2010 03:45:09 +0000 (UTC) Received: from mail-gw0-f53.google.com (mail-gw0-f53.google.com [74.125.83.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 1801CE096C for ; Sat, 27 Feb 2010 03:45:09 +0000 (UTC) Received: by gwj19 with SMTP id 19so363750gwj.40 for ; Fri, 26 Feb 2010 19:45:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=UkoRDYkgPj46vs/hsUq00IKqsq+zosfQKFqBg3VqjLk=; b=IOt0s4AYDkegUGmCyG0VuqoDpc7HAJqIAdLg2zl3Yn+prR+JU200URt3fXm3ARV+8P q9rWj0OZQ+GM9wRDAVH66ze423vxfIciI4/b7dIExKpEbIq4awE/NvyI2S7wYioJ0xj4 zTsKjgjEZ2pXOtw8Q1ASsXv6gZFjqKjg2to70= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=jtzIwKIBjHbMSPzwen87CIN3WS7aIekLA0HhmOkfetf30k8syF0a4m/7nBsOCeJ43h 89c98cIknKpndPm1/o9T2qP3m5w2OuMkdzPL6BrB7V1PrMgxlYr97IWBPYFUbO5TnQJP j73bvQXdbxEa4EEqup2bSp8FhvHv2SgUU9lSk= Received: by 10.150.128.29 with SMTP id a29mr2034870ybd.243.1267242308696; Fri, 26 Feb 2010 19:45:08 -0800 (PST) Received: from ?192.168.1.1? (adsl-0-116-64.jan.bellsouth.net [65.0.116.64]) by mx.google.com with ESMTPS id 6sm287503ywc.42.2010.02.26.19.45.05 (version=SSLv3 cipher=RC4-MD5); Fri, 26 Feb 2010 19:45:06 -0800 (PST) Message-ID: <4B88953F.2050407@gmail.com> Date: Fri, 26 Feb 2010 21:45:03 -0600 From: Dale User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100223 Gentoo/2.0.2 SeaMonkey/2.0.2 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Removing KDE 3.5? Or reason to keep it around? References: <306987.3768.qm@web65411.mail.ac4.yahoo.com> <4B875E96.4040203@gmail.com> <332309.70376.qm@web65405.mail.ac4.yahoo.com> <20100226232036.2ecc7260@digimed.co.uk> <897612.13661.qm@web65412.mail.ac4.yahoo.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 32081c3e-9fe3-4371-994e-d702c8aa14db X-Archives-Hash: 774c0a8750453238fd341809f5a1b4a1 chrome://messenger/locale/messengercompose/composeMsgs.properties: > On 02/27/2010 04:15 AM, BRM wrote: >> ----- Original Message ---- >> >>> From: Neil Bothwick To: >>> gentoo-user@lists.gentoo.org On Fri, 26 Feb 2010 06:34:18 -0800 >>> (PST), BRM wrote: >>>> Aside from that, I'm not sure I have ever really run "emerge >>>> --depclean", but I also rarely uninstall anything, but don't >>>> install things left or right to try out either, so typically >>>> upgrades are all I need to do. >>> You should still run --depclean as dependencies change and you >>> could still have plenty of no longer needed ones installed. >> >> Okay - so I ran "emerge --depclean -a" and got the below. I tried >> running "emerge world -vuDNa" as specified, but that didn't resolve >> it either. >> >> I tried looking in the world file (/var/lib/portage/world) but didn't >> find any entries that felt safe to remove. > > "Safe" as to what? If something is in the world file that you didn't > explicitly request, then it doesn't belong there. For example, if you > have "x11-libs/qt-gui" in world, you should delete it. The world file > should not contain dependencies, it should only contain the stuff you > emerged directly. > > To give an example, if you emerge "media-video/smplayer", then that > one will end up in the world file. But smplayer will also pull-in qt > and mplayer. Those do not go in the world file. When you unmerge > smplayer again, qt and mplayer will not be unmerged unless you run > "emerge --depclean". However, if qt and mplayer end up being in the > world file anyway, it means you made a mistake at some point; like > emerging something that is a dependency but forgot to specify the "-1" > (or "--oneshot") option to emerge. > > So if you see something in the world file that you know don't need > directly (and I doubt you need qt directly; KDE for example needs it, > you, as a person, don't) it's safe to remove. > > Of course always make a backup first :P > If I edit the world file and I am not sure, I always run -p --depclean. That should tell you if you are about to make a boo boo. The package you removed will be cleaned out but so will other things. If it starts to remove something that you know you want to keep, then you need to figure out why that entry was there and what can be put in the world file to keep the things you do want. The example Nikos used is a good one. If you decide you don't want smplayer but want to use mplayer, then you would need to add mplayer to the world file so that it will stay but --depclean will remove smplayer when you run --depclean. Nikos is correct on the -1 option tho. That is the same as --oneshot by the way. That is the biggest reason that something ends up in the world file that shouldn't be there. I would just about bet that we have all forgot the -1 option more than once. It doesn't matter how long a person has used Gentoo, it just happens. Dale :-) :-)