From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Mendler via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74556: 30.0.92; Package upgrade can fail and results in deleted package Date: Wed, 27 Nov 2024 12:37:17 +0100 Message-ID: <87plmgq55e.fsf@daniel-mendler.de> Reply-To: Daniel Mendler 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="40367"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Philip Kaludercic To: 74556@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 27 12:38:20 2024 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 1tGGN9-000AOD-VT for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 Nov 2024 12:38:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tGGMv-0005Py-HN; Wed, 27 Nov 2024 06:38:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tGGMt-0005Og-Ha for bug-gnu-emacs@gnu.org; Wed, 27 Nov 2024 06:38:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tGGMs-0001Vj-Vp for bug-gnu-emacs@gnu.org; Wed, 27 Nov 2024 06:38:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=/M9YoESi8b6+GH+qlaSkVv1Ydu40QUVTXJyDBD275NM=; b=BXDFPWoR8vzVb8MXa1ths3aeaS6X1/L5MQDzcdKIAB2fK+sn1J/7GNjcP3xGive84m+B1PE9D/9jywjJK4wcpcMjwzm65hmK4ZR8Kj8gYcIZBiZX//WAsx6m/IwBc/3odYAE1ooMKuuKmduNYvm1Y7MABM1Q7vuUhRl2+5ZFcwb4YpZA7BSapsavGIPc4p7llZLbzG2ORq9lHb22U0pjLoYTHPRKlXl83ewvqg7jK4FcUEZf2aFYc2vWIXVOGaemDOafzy1KBIk65doP7t6oTQExH2vbK4qJTf7LDfRNECORa4C0kZyB+fRFJq+O7on8FXLeWGqILNyuEYx8rlgM/Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tGGMs-0000xn-KG; Wed, 27 Nov 2024 06:38:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Mendler Original-Sender: "Debbugs-submit" Resent-CC: philipk@posteo.net, bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Nov 2024 11:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74556 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: Philip Kaludercic Original-Received: via spool by submit@debbugs.gnu.org id=B.17327074673676 (code B ref -1); Wed, 27 Nov 2024 11:38:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Nov 2024 11:37:47 +0000 Original-Received: from localhost ([127.0.0.1]:60792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGGMd-0000xD-AI for submit@debbugs.gnu.org; Wed, 27 Nov 2024 06:37:47 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:55034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGGMb-0000x5-TU for submit@debbugs.gnu.org; Wed, 27 Nov 2024 06:37:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tGGMX-0005LC-WF for bug-gnu-emacs@gnu.org; Wed, 27 Nov 2024 06:37:42 -0500 Original-Received: from server.qxqx.de ([2a01:4f8:c012:9177::1] helo=mail.qxqx.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tGGMW-0001No-0y for bug-gnu-emacs@gnu.org; Wed, 27 Nov 2024 06:37:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=daniel-mendler.de; s=key; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/M9YoESi8b6+GH+qlaSkVv1Ydu40QUVTXJyDBD275NM=; b=uGsK54Mq5Y9hDVn3PyJWUmZ/eM xkMSV/KF7WjWFRn9Rl4HwYKrAqghCLUoMrXjF/37j7sED2t9I6DS5rSY2JC3Qr/xTF6Iv9pq96JE7 Fy6WJYtlZsE596hhij4kbZz3UDMchULneF6lecxYXpxSl8QWxqZu9ZdX2lAGfAV5wRb0=; Received-SPF: pass client-ip=2a01:4f8:c012:9177::1; envelope-from=mail@daniel-mendler.de; helo=mail.qxqx.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:296029 Archived-At: Package upgrade can fail when the package metadata is out of sync. The upgrade process first deletes the package, tries to download the new version. If the download fails for some reason (metadata out of sync or the file not available), the upgrade aborts but the earlier package deletion is not rolled back as one would expect for an upgrade transaction. Ideally the download would be performed first such that the upgrade process wouldn't lead to a missing package. I just executed M-x package-upgrade-all. The following messages appeared in the log: Package =E2=80=98-=E2=80=99 deleted. Contacting host: elpa.gnu.org:443 package--with-response-buffer-1: https://elpa.gnu.org/devel/-.tar: No Data