From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JSjMX-0001PS-72 for garchives@archives.gentoo.org; Sat, 23 Feb 2008 01:39:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 73C10E0748; Sat, 23 Feb 2008 01:39:35 +0000 (UTC) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.185]) by pigeon.gentoo.org (Postfix) with ESMTP id 26945E0748 for ; Sat, 23 Feb 2008 01:39:35 +0000 (UTC) Received: by fk-out-0910.google.com with SMTP id 18so1410181fkq.2 for ; Fri, 22 Feb 2008 17:39:34 -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=NFRoCa2ftdI0lUA/JH58ulSFvvJDtd2W8FwK64vbSzA=; b=opE41ZzUUbURv3dgP0vtYFG6kC8tOEtiTO5V0HwRTlRe8vU27EeOtNwMw+BAEh0dom2SSL7NtSngXi8JRsjLg9KZQKX8U0f6Lxd7trmVD0nOplO+IzBBGA5jGj/44EUDgeQaPBAR5vn2GB2IjSHiGdSf894Vrlo/ZxzxDV1xuJ0= 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=HRCHV5JM5FJxPra+KDbDbBePoQQZNb9wCkC2vSHfcjsHtSbMhUZO4IbdqgPCCvXdqGow6U8Nb6Yj8Ow8yY3kcgMNGcHMl/ypHeDZnjIJQTqdghnH8AkB1guK/00EdxZ3ANPJ/YmdlFK04j9KGkysLAlLQF26hw69jtI/nQ4g7kM= Received: by 10.82.184.2 with SMTP id h2mr1343450buf.32.1203730773686; Fri, 22 Feb 2008 17:39:33 -0800 (PST) Received: from ?192.168.0.46? ( [87.227.44.92]) by mx.google.com with ESMTPS id b36sm3442989ika.2.2008.02.22.17.39.30 (version=SSLv3 cipher=RC4-MD5); Fri, 22 Feb 2008 17:39:31 -0800 (PST) Message-ID: <47BF79CC.1080708@gmail.com> Date: Sat, 23 Feb 2008 02:41:32 +0100 From: Erik User-Agent: Thunderbird 2.0.0.9 (X11/20071124) 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] "emerge -ef world" and "eclean --destructive distfiles" do not agree References: <47BF69A3.8050302@gmail.com> <200802230237.42636.alan.mckinnon@gmail.com> In-Reply-To: <200802230237.42636.alan.mckinnon@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 35f029ff-abbe-4617-b425-e64d49612737 X-Archives-Hash: 0f592ba55778b664fae5097872b7df5d Alan McKinnon skrev: > On Saturday 23 February 2008, Erik wrote: > >> I am running >> emerge -ef world >> eclean --destructive distfiles' >> emerge -ef world >> eclean --destructive distfiles >> ... >> >> Each time eclean removes the following files: >> * Building file list for distfiles cleaning... >> * Cleaning distfiles... >> [ 258.9 K ] XML-LibXML-1.65.tar.gz >> [ 478.6 K ] klibc-1.5.8.tar.bz2 >> [ 290.2 K ] libassuan-1.0.4.tar.bz2 >> [ 67.7 K ] mftrace-1.2.9.tar.gz >> [ 9.2 M ] patch-2.6.24-rc7.bz2 >> [ 243.4 K ] setuptools-0.6c7.tar.gz >> * Total space that has been freed in distfiles directory: 10.5 M >> >> Then emerge downloads them again. I had expected that those 2 >> programs should agree on which files belong in the set of distfiles. >> > What happens if you use 'emerge -uNDf world" instead of 'emerge -ef > world' > > -e is a special case and does not equate to the same thing as -uND > "emerge -uNDf world" does nothing because the system is up to date. Even if all distfiles are missing, it does nothing (try to move the distfiles directory away while executing it). That command is supposed to "download everything that is missing to update the system". And since the system is up to date, nothing is needed to update it and it will therefore not download anything. What I wanted was "download everything that is missing to reinstall everything that is currently installed". That is what "emerge -ef world" should do. Then I wanted to "remove everything that is not needed to reinstall everything that is currently installed". That is what "eclean --destructive distfiles" should do. Doing both should result in a set of distfiles that is "what is needed and only what is needed to reinstall everything that is currently installed (assuming that the system is up to date)". But since the 2 commands do not agree, something is broken somewhere. -- gentoo-user@lists.gentoo.org mailing list