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 D5B301396D9 for ; Wed, 11 Oct 2017 16:20:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E4B9F2BC007; Wed, 11 Oct 2017 16:20:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 94E74E0BF9 for ; Wed, 11 Oct 2017 16:20:51 +0000 (UTC) Received: from katipo2.lan (unknown [203.86.205.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kentnl) by smtp.gentoo.org (Postfix) with ESMTPSA id 3C5C233C27B for ; Wed, 11 Oct 2017 16:20:50 +0000 (UTC) Date: Thu, 12 Oct 2017 05:20:24 +1300 From: Kent Fredric To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] pkg_rm_pretend? Message-ID: <20171012052024.19de672b@katipo2.lan> Organization: Gentoo X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) 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 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/KWabYsJMu3P2i0d8u=7Qm/a"; protocol="application/pgp-signature" X-Archives-Salt: 9c5c09e7-cac8-4bf7-9a12-170570507b50 X-Archives-Hash: a52c7e9740b8c8fb86a22b71fdd61e74 --Sig_/KWabYsJMu3P2i0d8u=7Qm/a Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable TL;DR: It would be very nice if when I did: emerge --depclean -va=20 That important packages like say, Postgres could go "hey, that's ... probably gonna break things, you haven't migrated, are you sure?" Seeing notices *after* removing postgres that my system is now broken is no= t too inspiring. In part, because you *CANT* perform a postgres migration after you remove t= he old version: 1. You can't stop the old service, because the init script is gone. 2. pg_upgrade doesn't work, because there's no binaries in the path passed = to '-b' , as per: https://wiki.gentoo.org/wiki/PostgreSQL/QuickStart#Migrating_PostgreSQL This is especially annoying as: 1. Its very easy to overlook one package in a 400 package depclean notice. = ... 2. Its not that postgres is no longer in world, but it got upgraded, and you all know what that means when *slots* are involved. Now imagine where I'd be if the version of postgres I just removed, I had no way of reinstalling. Related: It would also be nice if pkg_pretend ( or something like it ) happened *BEF= ORE* offering the [Y/N] prompt with `emerge -va `, not, as it currently does, wait until after you press "y" to execute those checks. Being able to generate notices, but not producing them until after you appr= ove emerge is just daft. --Sig_/KWabYsJMu3P2i0d8u=7Qm/a Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEPZazbI/qrFT1o9rn6FQySxNmqCAFAlneRNUACgkQ6FQySxNm qCDBfxAAjGlrg2LkagubNnFX65CDlzcyZ2DlRcyJuumRnNghYx/uANDhUiGqjuTV guMrAZZyG19AtYCVFcmsdLa51Qv3qPD4awE1ibHaB6zdHOQxWzB/m0YK4Z3phV33 0aw5nLk/mPoZGz4SqBINcaceuKNW4asnsOPKVISe6N4WiV/pBzVj32Qg4/GmI8Ca c18yUB/qI1HF1q0EATvuaszhUTHYptrRFhiK7v0N2X5s0BbuKc/NoGDMIwrPhL27 zjUXdcIh7nvuP7DxRihLZuMHniIg7SOt3EAhgGsKtBLotBEOEKzTYV7Qrz4d5rMl AoBPdcL9YFDtV8lSRxrkghCLFm0z8qLNO7oGXM8RKBgdOfsiqYEF0SHeLZPCTks7 AsGTlq1XqkJcxNSS/gXjJ+WqL6SVlxfp0GLA6jVZvWHXf4La6+JKOrpzDBOsOrap bRstKamKOMYBrP3Qe1sFTNFbCI1xeaxfdiSRAJel0xmmN9/K9iPNqN22n+n5YUDY PTp3St36mj9sN5el83T+O+5M6laZSrrz4Se3j/oDtaY6siXxTWN0Pv2a7T2be1E5 V05lESadBdp7c6b5DPs6kGNWd7bqQAWI+MoYO6xmZ1hq+kVTH11+d3eFN4DwACtu F6+Yxk0o3VRLrkp1B9Kirw62Zvy+FrtQzgpkSHNw/8jxgu31wAY= =H/4S -----END PGP SIGNATURE----- --Sig_/KWabYsJMu3P2i0d8u=7Qm/a--