From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 212AC1381F3 for ; Sat, 21 Sep 2013 11:46:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60A76E0CC3; Sat, 21 Sep 2013 11:46:39 +0000 (UTC) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 401B5E0CBD for ; Sat, 21 Sep 2013 11:46:37 +0000 (UTC) Received: by mail-wi0-f172.google.com with SMTP id hn9so538943wib.17 for ; Sat, 21 Sep 2013 04:46:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=vCSdDAJdVXuHVrPX3jkCktsWji8R/NCnMQuCAxYRNAA=; b=IQAdpHw/CBecu86b1XU1z1Vggy0IbAnKrPmTmni46Itxz0Yk07NjvLnc1Qi3BKtIlo fBOmrWI2aYS+hqRoSl8S5lU+uWDned+le02I2MEzuZUgUAgWyqh1r5H0sc35sGPG8aOl bB5QAZFz05KdCxYPRfYWmno/l7bIDxzXzPlTGRwCQUbcujuvm0yUo+a2zvFmOOMVstP0 ioLTJPDmcuHbZBIGkmizk9362ZY+IfZ8U2rPk+kI1cSweBbItDTIjklm4XFKG7pKP+Jr x0dQ7d1k8mC3/G2ecl1gLpgTjQ6/F8R2/uDT2IcFDtU7NR4evjweLhApicWIcFib5rCi tYuA== X-Received: by 10.180.85.197 with SMTP id j5mr6323614wiz.22.1379763996914; Sat, 21 Sep 2013 04:46:36 -0700 (PDT) Received: from [192.168.1.5] (213-154-212-42.static.vega-ua.net. [213.154.212.42]) by mx.google.com with ESMTPSA id q5sm11464966wiz.3.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 21 Sep 2013 04:46:36 -0700 (PDT) Message-ID: <523D8725.2030007@gmail.com> Date: Sat, 21 Sep 2013 14:46:45 +0300 From: Alexander Kapshuk User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130831 Thunderbird/17.0.8 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: emerge --depclean [gentoo-sources] References: <523D7490.6080204@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Archives-Salt: 75a842a8-5314-4a8d-9706-008e7858f21f X-Archives-Hash: c6b4aba620bc1a443c2a4d764b076f2c On 09/21/2013 02:02 PM, Randolph Maaßen wrote: > Hi, > > 2013/9/21 Alexander Kapshuk : >> emerge --depclean wants to remove the gentoo-sources for my old kernel >> [sys-kernel/gentoo-sources-3.8.13] which I want to hang on to for the >> time being. >> >> Is there a way to instruct emerge not to remove them? >> >> emerge(1) >> Packages that are part of the world set will always be kept. They can be >> manually added to this set with emerge --noreplace . >> >> If I understood the instruction above, 'emerge --noreplace >> sys-kernel/gentoo-sources-3.8.13' should have added 'gentoo-sources' to >> /var/lib/portage/world_sets, which it didn't seem to do. > No, this it the wrong file. the file /var/lib/portage/world is THE > world set, it contains all packages you emerged manually (and with > --noreplace). > The file /var/lib/portage/world_sets can contain the name of other > sets that should be included into the world. > >> box0 src # emerge --noreplace sys-kernel/gentoo-sources-3.8.13 >> !!! 'sys-kernel/gentoo-sources-3.8.13' is not a valid package atom. >> !!! Please check ebuild(5) for full details. >> >> >> box0=; ls -l `pwd`/world* >> -rw-r--r-- 1 root portage 920 Sep 20 20:45 /var/lib/portage/world >> -rw-r--r-- 1 root portage 0 Sep 20 20:45 /var/lib/portage/world_sets >> >> Or is it a matter of defining something like this: >> CONFIG_PROTECT_MASK="/usr/src/linux-3.8.13-gentoo" >> in /etc/portage/make.conf? >> >> >> Any pointers would be much appreciated. >> > > Understood. Thanks.