From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 64A581396D0 for ; Wed, 30 Aug 2017 13:04:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4FCB2E0D8F; Wed, 30 Aug 2017 13:04:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 09DE0E0D49 for ; Wed, 30 Aug 2017 13:04:30 +0000 (UTC) Received: from [192.168.1.100] (c-98-218-46-55.hsd1.md.comcast.net [98.218.46.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mjo) by smtp.gentoo.org (Postfix) with ESMTPSA id 79733341673 for ; Wed, 30 Aug 2017 13:04:29 +0000 (UTC) Subject: Re: [gentoo-dev] Of death and prerm To: gentoo-dev@lists.gentoo.org References: <09043e39-bcec-f73b-683e-17de59b8e5d5@gentoo.org> <20170830100455.1c4fbccf@gentoo.org> From: Michael Orlitzky Message-ID: <6a5d1a8d-43c1-507d-8041-1891ed68e522@gentoo.org> Date: Wed, 30 Aug 2017 09:04:23 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: <20170830100455.1c4fbccf@gentoo.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Archives-Salt: 1163e48a-edd5-4482-93a5-a0e17e54c5e9 X-Archives-Hash: 2f7a0a64ee2557f7952410cccbaf7655 On 08/30/2017 04:04 AM, Alexis Ballier wrote: > > Is there any point in dying in any phase after (or during) > pkg_postinst ? > files are already live by then; what would this achieve ? > I was hoping that die() called in pkg_prerm would have a similar effect as pressing Ctrl-C when portage is doing it's countdown thing before you "emerge -C" package. Basically, to stop what it's doing, and to leave the package installed. If the uninstall was part of an upgrade, the corresponding installation (of the new version) would also fail.