From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Boruch Baum Newsgroups: gmane.emacs.bugs Subject: bug#44306: package-delete exiting on encountering system/dependency packages Date: Sat, 31 Oct 2020 22:35:00 -0400 Message-ID: <20201101023500.q4cwjpggk3ttngfg@E15-2016.optimum.net> References: <20201029125237.t4a5fiwrosfulpev@E15-2016.optimum.net> <87sg9vhn7w.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34879"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: NeoMutt/20180716 Cc: 44306@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 01 03:36:32 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kZ3EN-0008zC-Tn for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Nov 2020 03:36:31 +0100 Original-Received: from localhost ([::1]:51090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZ3EM-0005yl-9c for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Oct 2020 22:36:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZ3Du-0005yO-3Z for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 22:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51870) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZ3Dt-0007gf-Pf for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 22:36:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kZ3Dt-0000OT-Mg for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 22:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Boruch Baum Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Nov 2020 02:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44306 X-GNU-PR-Package: emacs Original-Received: via spool by 44306-submit@debbugs.gnu.org id=B44306.16041981131453 (code B ref 44306); Sun, 01 Nov 2020 02:36:01 +0000 Original-Received: (at 44306) by debbugs.gnu.org; 1 Nov 2020 02:35:13 +0000 Original-Received: from localhost ([127.0.0.1]:35183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ3D7-0000NN-Dr for submit@debbugs.gnu.org; Sat, 31 Oct 2020 22:35:13 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:39279) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ3D3-0000N5-LX for 44306@debbugs.gnu.org; Sat, 31 Oct 2020 22:35:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1604198103; bh=dOLWn3GxkQfhTibpvpu0+jOaHEPrRl+AQi9cjF/AdHc=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:References:In-Reply-To; b=Zvya1FMuSIU4VtpkDA4UZ+Lm4Q+5ATrONAMoFnVVq+dNVnmCd3NxLi6/4Wei849XO UDhiprweDbLQh5bhMJsKqHlhhWT9Kx79x82skacZ3aCLiYeh52jZ1xC0hM+eCSXVXO h6gyOm3+BIMlR7gJn6zfqy0CK1w4GsUjvrTrWEUM= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from E15-2016.optimum.net ([71.105.138.177]) by mail.gmx.com (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MwwZd-1kAkvN4BWF-00yNCj; Sun, 01 Nov 2020 03:35:03 +0100 Content-Disposition: inline In-Reply-To: <87sg9vhn7w.fsf@gnus.org> X-Provags-ID: V03:K1:6FdqV6Z2aNuRxsqWOksireCGfA6YkyN+qV0rsxXq6MbLvY8wvyL Gx4kHgQx8419wFc+CukrAKrRiWa1a1iAe++exOrSMEoAYQ7DllNGJTt71nSupJri5iE0vg9 etjGMGONnuZWUFxMQrMu9YkIYOx544LEc6Au7LVLO3eWFi0cdvvXA8ji9+M1FcNx/TjiMg7 T0OwkimOFslutUbpLOsuA== X-UI-Out-Filterresults: notjunk:1;V03:K0:SYj9BdDINK4=:IjYc3nbPqgyBbCEJArEdvo 4htTqjxZ5vkA61t3zIruc2YvgFbxhTC9A+GYSA7+OcWEfqKtPC1JJ943HO3QX9zDfG6SpzTWq W6BzTC4ko3kTp2KDwn12ekjdSu6hVssTwJ+bjSvRKpo2fWIvDGx9EnyuGt3DWn1R9tQAE7wOr oIL5y0208zTg52xAjfIbjxMfn5WFpS2jsIm/T7kxGN0hp0ChBeK9OyazTMjoEdLwOfQXaeNWC zKVoXHCCycfbPXdQ4VKM21w2EfMRFQD0DgR0NSvWGYRYqU7I0XX85s14lPiuoM6sP1+M6tHf7 upO0vCFzrh027RLp7OXngYT7gZmDTLDr5QG3VgqEuksS2yug+mg9oYahwgQh1H1cIQwV7Be+0 2G1prszSMerIiNgKkKXc7caLofqflgcLfr5OaWHqBZ3dnRjw4GtsVI9rHbYH3lEq0UQ9QtnUw SHZ+SFOLqeAvre5jU1l7m7LKysYjctzK7ni8e9HR3hVigXUDHLByDSseyoc0u5Vp6m1ox94pG 3dU103mOUsNqkMtL2ha2DBwdlqD9C0zJQ3Yx11jXOUVvOKI/qtU5BZEypcgWnz3dnQM3Rxu96 H6u/qzo5ur8d7Ejuv3xdpuYjX9gP6ICzxjGNgowNi3ydkqL29i+nCGEqupvW/j6bmlh6LSILq KVR3l//y1syXiGC8zEg8RlddTHnW2soW3vf+M+Ej11Uj6CvegBaqLu4FgwXrJ1im8LHkTqryd uYEPsNKfTQGQAL1hQikOEDaTKLtWN9kxotAKKBfnPO8sR5+ROL92VcvQ6qU6Ofmnp3ZkztY+ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:192326 Archived-At: On 2020-10-30 14:12, Lars Ingebrigtsen wrote: > Boruch Baum writes: > > > When attempting to perform package-autoremove to clean up obsolete > > packages, my emacs would abort with an error that `foo' is a system > > package. Thus, it had become impossible to perform the operation. I > > altered function package-delete to replace its two calls to function > > `error' with simple `message' and can now clean up the packages. > > It kinda sounds like there something wrong in what package-autoremove is > trying to delete. Exactly the point. > I'm assuming that the package wasn't literally "foo" -- what package was > it that it wanted to remove? 'session', the first item on the remaining list that I included. In my case, each of those 12 packages is described as a 'system' package. As a follow-up, I'm now noticing an additional related bug, which is kind-of a resiliency issue. Let's say several versions of a package accumulate, then what has happened in my case is that package-autoremove only deletes the single most recent obsolete version. For example, in examining my *Messages* buffer, I see that one run of the function reported Package =E2=80=98popup-20200610.317=E2=80=99 deleted. A next run of the function reported Package =E2=80=98popup-20200531.742=E2=80=99 deleted. Finally, the most recent run of the function reported: Package =E2=80=98popup-0.5.8=E2=80=99 is a system package, not deleting =2D- hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0