GNU logs - #44306, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#44306: package-delete exiting on encountering system/dependency packages
Resent-From: Boruch Baum <boruch_baum@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 29 Oct 2020 12:53:01 +0000
Resent-Message-ID: <handler.44306.B.16039759683976 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 44306
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 44306 <at> debbugs.gnu.org
X-Debbugs-Original-To: Emacs Bug Reporting <bug-gnu-emacs@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.16039759683976
          (code B ref -1); Thu, 29 Oct 2020 12:53:01 +0000
Received: (at submit) by debbugs.gnu.org; 29 Oct 2020 12:52:48 +0000
Received: from localhost ([127.0.0.1]:52334 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kY7Q8-000124-6C
	for submit <at> debbugs.gnu.org; Thu, 29 Oct 2020 08:52:48 -0400
Received: from lists.gnu.org ([209.51.188.17]:50474)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <boruch_baum@HIDDEN>) id 1kY7Q6-00011w-CN
 for submit <at> debbugs.gnu.org; Thu, 29 Oct 2020 08:52:46 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:60110)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <boruch_baum@HIDDEN>)
 id 1kY7Q6-0007EK-2u
 for bug-gnu-emacs@HIDDEN; Thu, 29 Oct 2020 08:52:46 -0400
Received: from mout.gmx.net ([212.227.17.22]:38291)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <boruch_baum@HIDDEN>)
 id 1kY7Q3-0004ML-S8
 for bug-gnu-emacs@HIDDEN; Thu, 29 Oct 2020 08:52:45 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1603975960;
 bh=BZtRGE6pu4keE8PPRxbnKPT071hGVb3QssGMD+P/UQE=;
 h=X-UI-Sender-Class:Date:From:To:Subject;
 b=bP7wo3VEPCj6din8BXfb681Mbh9nqyJEeH58lUTTK5u7fMw/HKP7TD9gMTVrNE1QL
 ORKvmB8BPecsQbGPJYsNNm7Xw0QJhDS1YhhzA4P+lGiDFsrzc953z6Y3Sz1hRLT+1k
 5MkNg60vAeZDmmexlhgXz10DyRNOuNPAB5EJR1FM=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from E15-2016.optimum.net ([71.105.138.177]) by mail.gmx.com
 (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id
 1Mqs4f-1k3PEs3H6H-00ms4x for <bug-gnu-emacs@HIDDEN>; Thu, 29 Oct 2020
 13:52:40 +0100
Date: Thu, 29 Oct 2020 08:52:37 -0400
From: Boruch Baum <boruch_baum@HIDDEN>
Message-ID: <20201029125237.t4a5fiwrosfulpev@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: NeoMutt/20180716
X-Provags-ID: V03:K1:7+1It8WZKV5gbN9pv5zWTGM2r5/6zC3RRD3Vv7ONLI/uWQBWZmY
 WUlYQxZLla7FB5Mc6G7ehscdVaZP16Rs2Tt5WduU4LGOCvGb5whFEnBtgf6atdL4cvbAIP8
 TVFctS8g6Syp0SfhmWhDbUBV/HYEKfVZrBMXuIJaYREwUl2NyqQKgzfDUYsM3adcMzLyWSV
 +AlIxC1PKau8ssewBmYsw==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:erZ9ghdj/tY=:rQFr1JH5uzwaV9LGWowgLg
 wtvTbfCajwsLdyu5SXQ1c6SH5VVRs2wSN3Dd1jh2cvuF1epTYjEzNhDhS1cxQBOPPlNb/t1qx
 AH8LpbEV6Cu/xiddxVEs46S5pFg+lH43zIARcBaeRu3ml6u1qZrP3Nw7dW8cmCF0ICkr7MT61
 dATzjIIWh534uho2OHl5PXMjO0Ro51nyILstfnezGACSm+1T3BCRLu+/vLkOKriKH705GdxJL
 GfLpxePhFsG05S8SyDxAY8I0E1Hw/uYcQEhmh9OHv48a8xrUjINcAuuGQtd3o2Zhoje+w2uOr
 yNm7pDLJJn5lugbRLZumgCipuTz2mLMN93+J6byhdj/UfyLMr93O8ZQXgogThtIK4kQL4IzAH
 5yYaOHcEZbRZ6Av+ppnG20m+Wx8HVC8xDodJnO64qYSKoX+T658AijLk7Ge88JNulVfV2o/fA
 Bv4TlLJx9mXJeV7VHJnwuVkFq/QH6pJTYLLay6PkbMwP8Rw1B9oGXyj02CeAWJ+rod78W+7aG
 OrszLOeiLqV58/H2ANxgb0yNf9rUhkNBlkLAWH20kTVzEKHzVm6oD6MMRSMF53qeL00NwHrdu
 vTFfMVfMNEnweFAH4agagBOa2m+cI7PLMiLq2dAsqdS0GTKHV0c2enCkPVRTIKRrG45Od+oP1
 eMLsgdmBa7uoOHcDCz1P/u8Afh0lPVhbVr5EH8Tk148FydDkWg4yQ9AaUJRWhW2Gd4s2QkXNk
 h9zTjYBeTi5FYV7HAiDB2IbsWB4lyozovRnJ7XnLRX2pUcZEBwEOdmgLyhu/f1SMt2Qq7D/85
 fVDmiUw+QQXFBqKuuFmvoMb4aJE3FDn1snveRb+92Dr3xGkomtZ9GIuMyGtW9Zx1UtfxC8Mcs
 AX72irlWeOEou4L1qLjQ==
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=212.227.17.22; envelope-from=boruch_baum@HIDDEN;
 helo=mout.gmx.net
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/29 08:52:40
X-ACL-Warn: Detected OS   = Linux 2.2.x-3.x [generic] [fuzzy]
X-Spam_score_int: -25
X-Spam_score: -2.6
X-Spam_bar: --
X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7,
 RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.6 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

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.

I'm now left with function package-autoremove reporting:

12 packages will be deleted:
session, muttrc-mode, markdown-toc, htmlize, diminish, dictionary,
debian-el, csv-mode, browse-kill-ring, boxquote, bm, magit-popup,
proceed? (y or n) y

All of which are 'system' packages (at least in debian) so they won't
actually be deleted by my hack, but at least the other ~40 were finally
able to be removed.

I have reservations that this hack is a true and correct solution for
the bug because I don't know enough about the 'package package, but it
does seem to do the job...

=2D-
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Boruch Baum <boruch_baum@HIDDEN>
Subject: bug#44306: Acknowledgement (package-delete exiting on
 encountering system/dependency packages)
Message-ID: <handler.44306.B.16039759683976.ack <at> debbugs.gnu.org>
References: <20201029125237.t4a5fiwrosfulpev@HIDDEN>
X-Gnu-PR-Message: ack 44306
X-Gnu-PR-Package: emacs
Reply-To: 44306 <at> debbugs.gnu.org
Date: Thu, 29 Oct 2020 12:53:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 44306 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
44306: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D44306
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#44306: package-delete exiting on encountering system/dependency packages
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 30 Oct 2020 13:13:02 +0000
Resent-Message-ID: <handler.44306.B44306.160406355120311 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 44306
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Boruch Baum <boruch_baum@HIDDEN>
Cc: 44306 <at> debbugs.gnu.org
Received: via spool by 44306-submit <at> debbugs.gnu.org id=B44306.160406355120311
          (code B ref 44306); Fri, 30 Oct 2020 13:13:02 +0000
Received: (at 44306) by debbugs.gnu.org; 30 Oct 2020 13:12:31 +0000
Received: from localhost ([127.0.0.1]:56606 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kYUCk-0005HX-Od
	for submit <at> debbugs.gnu.org; Fri, 30 Oct 2020 09:12:31 -0400
Received: from quimby.gnus.org ([95.216.78.240]:37714)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kYUCi-0005HG-Uk
 for 44306 <at> debbugs.gnu.org; Fri, 30 Oct 2020 09:12:29 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=NEi+EzAel2xeZ7S9PmS2u0ogn+8gPe0oRz4ufzbaivQ=; b=F2CzeKpXZW2WtzqmkZ1lYcCx7B
 CRxTRxUSaKzHy0io+185cvIX+sRt1tvEIDPoBbEDUAv23DSWRnuWmDvzYSPZjm4ybPgCUJoK9vbbm
 rvIytvKbjoF6Hrm/PYaOAm6o43PryXMm14uaCfUFsn8yoVeSbMYVD4kjXIBxs7WWue64=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kYUCa-0000Oz-OI; Fri, 30 Oct 2020 14:12:23 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <20201029125237.t4a5fiwrosfulpev@HIDDEN>
X-Now-Playing: Noveller's _Arrow_: "Canyons"
Date: Fri, 30 Oct 2020 14:12:19 +0100
In-Reply-To: <20201029125237.t4a5fiwrosfulpev@HIDDEN> (Boruch
 Baum's message of "Thu, 29 Oct 2020 08:52:37 -0400")
Message-ID: <87sg9vhn7w.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Boruch Baum <boruch_baum@HIDDEN> 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 oper [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Boruch Baum <boruch_baum@HIDDEN> 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.

I'm assuming that the package wasn't literally "foo" -- what package was
it that it wanted to remove?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#44306: package-delete exiting on encountering system/dependency packages
Resent-From: Stefan Kangas <stefankangas@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 30 Oct 2020 13:36:02 +0000
Resent-Message-ID: <handler.44306.B44306.160406490430863 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 44306
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Lars Ingebrigtsen <larsi@HIDDEN>, Boruch Baum <boruch_baum@HIDDEN>
Cc: 44306 <at> debbugs.gnu.org
Received: via spool by 44306-submit <at> debbugs.gnu.org id=B44306.160406490430863
          (code B ref 44306); Fri, 30 Oct 2020 13:36:02 +0000
Received: (at 44306) by debbugs.gnu.org; 30 Oct 2020 13:35:04 +0000
Received: from localhost ([127.0.0.1]:56681 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kYUYa-00081j-2E
	for submit <at> debbugs.gnu.org; Fri, 30 Oct 2020 09:35:04 -0400
Received: from mail-ed1-f54.google.com ([209.85.208.54]:42527)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1kYUYY-00080x-Iv
 for 44306 <at> debbugs.gnu.org; Fri, 30 Oct 2020 09:35:03 -0400
Received: by mail-ed1-f54.google.com with SMTP id a71so1317456edf.9
 for <44306 <at> debbugs.gnu.org>; Fri, 30 Oct 2020 06:35:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:in-reply-to:references:mime-version:date:message-id:subject:to
 :cc; bh=7BqGeP9kCbWpdD1mg6nA7MRX/sB0mQqAHrnh6eTA1nU=;
 b=shPZj5t+3bayGB5YIk5K9EiUurJnSVAxonmiaReL+kdv7GOZLnNubOqGLcabHV+BFq
 WA1YSd7Sqi2Cu55j4c1gKzOzAIlPo+kW3xbucijSEj3YV7GcLkhgILH+fJARAF9vHLAM
 wzm/KfsBaIwzD4ZkTwvGa9/KEKghbnNSgXYgia654yeRfh6iAoeutHN7EfVkA+WOlvmp
 PVeCSvaSg/7HXiYyCt1fnYyUreKWEm3ffkrpxj0jYbRox4q6ck+KxUK8/O3yJtW3BId7
 l2XHYHxZGplRI2U+JP10dii+LrKYyjdtWDtUH6ouoT8pF7L0sYY0SbgLu6jpEH/H4F0L
 ktUw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:in-reply-to:references:mime-version:date
 :message-id:subject:to:cc;
 bh=7BqGeP9kCbWpdD1mg6nA7MRX/sB0mQqAHrnh6eTA1nU=;
 b=TFRoymglJzf7ECLvjUpj0BulfkZPwkIbWpDkBH2RBxECMbG22OlJQKveJOLlzXxrEJ
 fEHjuYFnEcTNQRRGqFD94gTttzYeth/4OxWvktkOv9FOBZSr3xGrDzrLzIUVtROo7UJY
 UmurhfjoW5qin5wt9SHNFb1EX8JKRy7UDWDs7i/NNI5FIm4/uHG60b1B3hX4K0T9qDbi
 q32Jsokgf3zxN4UOtPtWNn/HF6GMvxroLAZQSppEQhIiFb99H4G6Qx3unvw/+lFrXd2v
 nEmWGpKRZL9/09CZ85tw/QDWszCnbd4g+xmywqRrKqlaCAfW+6X/2H6dOisYtSsSA2LJ
 uuJQ==
X-Gm-Message-State: AOAM531RjYJZxBsygGbr+Vck2MCr9NRVMjy6EFi34tXJRTTWLmWDHuAK
 c/9EQGZEBewsOny700izZm6GQEEKmK4y5prBiyM=
X-Google-Smtp-Source: ABdhPJxSGnI/VADGuiwfQZ/wn9ZL3x9mJf7VqAd3d+XM1rhEApb6zSpR+eybxwc29oz43/aVY/JWDi9bDTgD7rCmOUE=
X-Received: by 2002:aa7:d783:: with SMTP id s3mr2448453edq.214.1604064896593; 
 Fri, 30 Oct 2020 06:34:56 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Fri, 30 Oct 2020 13:34:55 +0000
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <87sg9vhn7w.fsf@HIDDEN>
References: <20201029125237.t4a5fiwrosfulpev@HIDDEN>
 <87sg9vhn7w.fsf@HIDDEN>
MIME-Version: 1.0
Date: Fri, 30 Oct 2020 13:34:55 +0000
Message-ID: <CADwFkmkxA+jxC3rJpa-L+sRQhZ4NjZNfyTmX-Xvk2ARe4wd8wg@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

> Boruch Baum <boruch_baum@HIDDEN> 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.

Indeed.  The question is why these packages are considered for removal
at all.

If we can avoid doing that, the error "Package `%s' is used by `%s' as
dependency, not deleting" seems correct to me - it will catch bugs.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#44306: package-delete exiting on encountering system/dependency packages
Resent-From: Boruch Baum <boruch_baum@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 01 Nov 2020 02:36:01 +0000
Resent-Message-ID: <handler.44306.B44306.16041981131453 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 44306
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Lars Ingebrigtsen <larsi@HIDDEN>
Cc: 44306 <at> debbugs.gnu.org
Received: via spool by 44306-submit <at> debbugs.gnu.org id=B44306.16041981131453
          (code B ref 44306); Sun, 01 Nov 2020 02:36:01 +0000
Received: (at 44306) by debbugs.gnu.org; 1 Nov 2020 02:35:13 +0000
Received: from localhost ([127.0.0.1]:35183 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kZ3D7-0000NN-Dr
	for submit <at> debbugs.gnu.org; Sat, 31 Oct 2020 22:35:13 -0400
Received: from mout.gmx.net ([212.227.15.18]:39279)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <boruch_baum@HIDDEN>) id 1kZ3D3-0000N5-LX
 for 44306 <at> 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
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
Date: Sat, 31 Oct 2020 22:35:00 -0400
From: Boruch Baum <boruch_baum@HIDDEN>
Message-ID: <20201101023500.q4cwjpggk3ttngfg@HIDDEN>
References: <20201029125237.t4a5fiwrosfulpev@HIDDEN>
 <87sg9vhn7w.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
In-Reply-To: <87sg9vhn7w.fsf@HIDDEN>
User-Agent: NeoMutt/20180716
X-Provags-ID: V03:K1:6FdqV6Z2aNuRxsqWOksireCGfA6YkyN+qV0rsxXq6MbLvY8wvyL
 Gx4kHgQx8419wFc+CukrAKrRiWa1a1iAe++exOrSMEoAYQ7DllNGJTt71nSupJri5iE0vg9
 etjGMGONnuZWUFxMQrMu9YkIYOx544LEc6Au7LVLO3eWFi0cdvvXA8ji9+M1FcNx/TjiMg7
 T0OwkimOFslutUbpLOsuA==
X-Spam-Flag: NO
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
 /rrLNEZSejaPMvP2IkGyzTQ8QGopw98isQI1Ul5bE4aX5kO9FAFVy9pHATrbvJpeGcO2tdl2K
 j2qoxHwkd2fPIQOVV9Gw==
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On 2020-10-30 14:12, Lars Ingebrigtsen wrote:
> Boruch Baum <boruch_baum@HIDDEN> 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




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#44306: package-delete exiting on encountering system/dependency packages
Resent-From: Boruch Baum <boruch_baum@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 01 Nov 2020 02:49:02 +0000
Resent-Message-ID: <handler.44306.B44306.16041989192707 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 44306
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Stefan Kangas <stefankangas@HIDDEN>
Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 44306 <at> debbugs.gnu.org
Received: via spool by 44306-submit <at> debbugs.gnu.org id=B44306.16041989192707
          (code B ref 44306); Sun, 01 Nov 2020 02:49:02 +0000
Received: (at 44306) by debbugs.gnu.org; 1 Nov 2020 02:48:39 +0000
Received: from localhost ([127.0.0.1]:35198 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kZ3Q7-0000hb-KO
	for submit <at> debbugs.gnu.org; Sat, 31 Oct 2020 22:48:39 -0400
Received: from mout.gmx.net ([212.227.15.18]:44305)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <boruch_baum@HIDDEN>) id 1kZ3Q5-0000hO-LM
 for 44306 <at> debbugs.gnu.org; Sat, 31 Oct 2020 22:48:38 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1604198911;
 bh=NLDEDKC41wxqtVubRI89LgcI/BUd7VurzrMPh18S4Ik=;
 h=X-UI-Sender-Class:Date:From:To:Cc:Subject:References:In-Reply-To;
 b=XBDXnONWh8AuqvZYy7hiQRaZIG0/ylWNb9qhGFSha4S633/91pI5+JNLB48WdTnBK
 3tMO/P9Mh7QyVtnsOvfg1Mtr6tTVmTr973uAHxFDvI52Qi7xtbQC9jyRp28W5aJa91
 SiS8ljuJRRCPpJ4QPRBoAVMIHufcOvuTKdp0c2ZI=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from E15-2016.optimum.net ([71.105.138.177]) by mail.gmx.com
 (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id
 1N1wlv-1kOVZX2ooL-012GuO; Sun, 01 Nov 2020 03:48:31 +0100
Date: Sat, 31 Oct 2020 22:48:28 -0400
From: Boruch Baum <boruch_baum@HIDDEN>
Message-ID: <20201101024828.7gt3eq4khxclbgk5@HIDDEN>
References: <20201029125237.t4a5fiwrosfulpev@HIDDEN>
 <87sg9vhn7w.fsf@HIDDEN>
 <CADwFkmkxA+jxC3rJpa-L+sRQhZ4NjZNfyTmX-Xvk2ARe4wd8wg@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CADwFkmkxA+jxC3rJpa-L+sRQhZ4NjZNfyTmX-Xvk2ARe4wd8wg@HIDDEN>
User-Agent: NeoMutt/20180716
X-Provags-ID: V03:K1:WNVsLEGCuDtPxBlO1JNrupByOrUd6WGhRR8eBzQLPVVuPmO68aE
 sjF7LBEKWbM8+fsc5Ie/x9Uqn3+QGe8ZB2klICsOP5ts9GdGDoXr5+MMHYLrEU2lEYghSwu
 QyGNNh8TmFb/XKc2cva7jEUr57NMHuDJoB2fH4xatfxh9YfMEXbQVypqA9Qj77MhVn2fES+
 PMIfQWA0rRgy/Hf78ollQ==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:jh3u9iFKT5U=:zjdteF6fy4fhDjVEnSvmDK
 HuU7X84U/CMLu5HJ+nLBMqqXrtDM4cHCHjr9wyYjilHKIzh2ZFb+Cvn3ZHqVRiAm+Izyw0N/C
 I+3ULaBzasDIxOijfiVwaBbhsaTTdNrb8WNbPuQklP5upyix73PAO3Tw52HKf4MHA4vGyyDuj
 8J7dZoKJUW0AUTTrRGSwxP34yyaiRWGrxjYhOFxJldb4Vbs6WWcKSFVd106/JIk2OdR5S7Lk0
 RpVfSTlAIfC1wgC+mR7kCgfzlr+S/7kemgGm9mExscFi3xCYTKiYXFrxOzAkRSlDsPj7UIrb1
 LmDVdNXRo9j7CES7x8gHA57WqIgyCyr1/dUKdh2Is/pHV8fSqJnx+XO4nPjJcARwpZEgDYYGT
 qcXYOzLsc15cM/wGPXXZO4Fc+JSeTQZlrVj3RGMrkjE3Kpzb0ifVQGDIbiYOX9zDjgTjtJAIF
 oaQb9tVHQmpOBjw+TTasPAyI7T7LZwe9tls3s2C6xi1qtLbBhs5mmv7u3n1DZNiKSnBQwMwce
 OQE+b4yudW6h4rPTgc6d2qMLBGwhaSrF7wiw2XWbLBKbxQnyhaPZXTPEmRjKxGuSeZawRhB8f
 OyER7Ae1khwI36L4/i+reHz+3qI/QFZZYBbbsF05twgiYVaJJSrd+uo732sF/bZvRrIyi3CIT
 lZnRZnuZAe24Wt35SzvWphpVDLi8+cYGTjMfng1XqrFAdTWlcOvCeXqux3Q9Tv/pePzTqR2VO
 ShGb/WgPO35jtv8Yy7FTD5nBYUP26dPMrm2EWna7q0CwDxU/lX2RxQISHmycgKmkW3JMEFl6B
 EByOvXggP8/etq4TzFG9bgXO5DuxI/gOOgRNdCiXmaWz8N7hfDNj12CwTqYQ8bxjasSTFiyOl
 MAwYKt+o1pAs0PTcH0hQ==
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On 2020-10-30 13:34, Stefan Kangas wrote:
> Lars Ingebrigtsen <larsi@HIDDEN> writes:
>
> > Boruch Baum <boruch_baum@HIDDEN> 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.
>
> Indeed.  The question is why these packages are considered for removal
> at all.

The function that builds the candidate list, package--removable-packages,
doesn't take into account the criteria used in function 'package-delete'.

> If we can avoid doing that, the error "Package `%s' is used by `%s' as
> dependency, not deleting" seems correct to me - it will catch bugs.

That's not really my point. My point in the bug report is that while
technically the use of function 'error' is correct in this case, it works
out to be counter-productive and should be replaced with a simple use of
the function 'message' logging the condition to the *Messages* buffer.
Using the error function aborts the entire auro-remove process for all
packages on the list, and in this case isn't even useful for the specific
package because the function is written to independently reject further
processing for the package.

=2D-
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#44306: package-delete exiting on encountering system/dependency packages
Resent-From: Stefan Kangas <stefankangas@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 01 Nov 2020 02:51:02 +0000
Resent-Message-ID: <handler.44306.B44306.16041990432922 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 44306
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Boruch Baum <boruch_baum@HIDDEN>, Lars Ingebrigtsen <larsi@HIDDEN>
Cc: 44306 <at> debbugs.gnu.org
Received: via spool by 44306-submit <at> debbugs.gnu.org id=B44306.16041990432922
          (code B ref 44306); Sun, 01 Nov 2020 02:51:02 +0000
Received: (at 44306) by debbugs.gnu.org; 1 Nov 2020 02:50:43 +0000
Received: from localhost ([127.0.0.1]:35202 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kZ3S7-0000l4-1H
	for submit <at> debbugs.gnu.org; Sat, 31 Oct 2020 22:50:43 -0400
Received: from mail-ed1-f47.google.com ([209.85.208.47]:37735)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1kZ3S4-0000ko-Gl
 for 44306 <at> debbugs.gnu.org; Sat, 31 Oct 2020 22:50:41 -0400
Received: by mail-ed1-f47.google.com with SMTP id o18so10667848edq.4
 for <44306 <at> debbugs.gnu.org>; Sat, 31 Oct 2020 19:50:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:in-reply-to:references:mime-version:date:message-id:subject:to
 :cc:content-transfer-encoding;
 bh=nV62nf2QxO9xIHFELdqP4H5A6h8Beu3D5MoeRklJgMg=;
 b=JRdRA+WawmElDoCfsedDHOLA91dbPwR1JUhRYHnzDg8oQV6DG/Yt0m5Q7V/F65ociI
 SqDEo3oBcXGH2AdgSvkM6gkevSEArAnl3TvqosMW12ARMs66/kJL8WwTgo0k6eqfzjQC
 b4pPEeasss/IskevjYMybqZh+z5Urelx1/YTJgjwrxh8LOJ+VBRMTq1f+5e3E9Xr42+n
 sgh2U8rVaCTT2beLqJFC1qb+vP7TNcAeiA7WWfDOYqxHSXu24zRCVv/ySd6pML+iQuYa
 hkTfbOWUlNM77AilKfUMI6lLdM7zNcUUHENB5y0SZ9YBrLweWko4xPVZzIBzIAqDbLe8
 1+lg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:in-reply-to:references:mime-version:date
 :message-id:subject:to:cc:content-transfer-encoding;
 bh=nV62nf2QxO9xIHFELdqP4H5A6h8Beu3D5MoeRklJgMg=;
 b=iAwj7gNS2ZF7wyF47tS16dLwK8FxaLi4Zs6q3dsU/xoR0+ZfQ27VtIvtvQv3wzdFx5
 mvahJffB4mVDfSsRat9vlOsbekPLtBWsp5VnOF2T6gv12snFg9pzJ+JFOOm3IcNzdmpE
 L8vKUdsfyZdX//5VY9x599s+wOaeP9L6q8jgRAzhEeQJy3Qzut1md12v4xAXBNHZWlM3
 1VM0thwamWmSqp8HW+AAAM4LJYJTPXKfwaNu7seQBQRrE1RhYmGbJ2dBvGcg5BreP8gJ
 BvQ0xKVx/vdpFbBfEUX9dyuT7CtYvOklY9UjQprYfdE66Zvic/6uYhSB/XWB9RqhWK+8
 yZQw==
X-Gm-Message-State: AOAM532ZiEOgLG7wiSRuNBa/l77ZJk9FUWoHB7w+npVQ3W0aps+DRVef
 EQza0yzd2hPrD6yNihM8YG/YJiimf0WYMoLCIOA=
X-Google-Smtp-Source: ABdhPJw4d1yWKXQEFhX79ZlpLswpVmlI8Um+dha/IGAS3HMGFLn2utiSDspvMmfL8PM9zaAcylRBvvyqUvq+z7DlrI8=
X-Received: by 2002:aa7:c694:: with SMTP id n20mr10470719edq.160.1604199034536; 
 Sat, 31 Oct 2020 19:50:34 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Sat, 31 Oct 2020 19:50:33 -0700
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <20201101023500.q4cwjpggk3ttngfg@HIDDEN>
References: <20201029125237.t4a5fiwrosfulpev@HIDDEN>
 <87sg9vhn7w.fsf@HIDDEN>
 <20201101023500.q4cwjpggk3ttngfg@HIDDEN>
MIME-Version: 1.0
Date: Sat, 31 Oct 2020 19:50:33 -0700
Message-ID: <CADwFkmnEUvWwn4QDsdovFmEZcAf3QiWQGFaocshtHUE7abZWQg@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Boruch Baum <boruch_baum@HIDDEN> writes:

> 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 deletin=
g

Please submit this bug, including which version(s) you are seeing this
on, as a separate bug report.

Thanks in advance.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#44306: package-delete exiting on encountering system/dependency packages
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 01 Nov 2020 12:45:02 +0000
Resent-Message-ID: <handler.44306.B44306.16042346925136 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 44306
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Boruch Baum <boruch_baum@HIDDEN>
Cc: 44306 <at> debbugs.gnu.org, Stefan Kangas <stefankangas@HIDDEN>
Received: via spool by 44306-submit <at> debbugs.gnu.org id=B44306.16042346925136
          (code B ref 44306); Sun, 01 Nov 2020 12:45:02 +0000
Received: (at 44306) by debbugs.gnu.org; 1 Nov 2020 12:44:52 +0000
Received: from localhost ([127.0.0.1]:35900 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kZCj6-0001Km-Hz
	for submit <at> debbugs.gnu.org; Sun, 01 Nov 2020 07:44:52 -0500
Received: from quimby.gnus.org ([95.216.78.240]:33800)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kZCj4-0001KL-Oh
 for 44306 <at> debbugs.gnu.org; Sun, 01 Nov 2020 07:44:51 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=DwWrYk2YYQBs9yCssCbYF5f2xmMVY9gQ0U7m7kVMc1Y=; b=HKv5n8heXurBvJqAfebZGvusr5
 XjDdH/+k1UAVEViawt8BWt97miKuXQ2eU8pCmCO5vK+NreESKjAxe3IQYV09VCqZhACypZeprnUvD
 nRdG88o6QG1BriMYSgdh+ScSNzC4dw84gC7FzWl0/gyD/PXf5P1xPHB8ZoAyHojsHfcw=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kZCiw-0008TH-Ay; Sun, 01 Nov 2020 13:44:44 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <20201029125237.t4a5fiwrosfulpev@HIDDEN>
 <87sg9vhn7w.fsf@HIDDEN>
 <CADwFkmkxA+jxC3rJpa-L+sRQhZ4NjZNfyTmX-Xvk2ARe4wd8wg@HIDDEN>
 <20201101024828.7gt3eq4khxclbgk5@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEXZ2NDFw7qal4+B
 fXX9/fhuamQaFxWIhHv///8X+IUoAAAAAWJLR0QIht6VegAAAAd0SU1FB+QLAQweBFRbp+IAAAGk
 SURBVDjLddPBUoMwEAZgrBm9FlvHq01ac7YZmyswO+NZKfVsK/Gqibiv7yZYSwD3xORj84cFkoTq
 an2bJOz6wPkiS44FAAW3nEFhPMCxPEiu5QfcmVryzy7ka67RZoYAI3hE1OguhzALcBfgPgarlNp5
 sFHHxpiDUlWpntqldJrSYQno3ndEhcd9kmnSdrRQ/cH0jHVhh53kLmyeB7BpoZZjHUrvTNWHs3RV
 KnWfpqwHUNCT4xLi8iA8fA0h1/plFGi64xCmOwY38h/4NmabsAnnt34h5wt2esAtwPnvrITTn6eR
 EFy2UGhh5XwEZigw7NkHiUKHF9yDDNFZa//C3yjcecgtAefH6aaUdkFfCacvMSuMMawdYigPDtfU
 RAA9kNgEqIewmnt4HYE3D9sRqAlqgEF4Y/aFWUYQ/rFJU1WNqebV/AQBpZB2Zb6Adotggg5xtQfw
 b6gLIsDWw3sXMssFwdKD6YKfIJ2YDUFj47RmkPWgKNUDLVku6SLqoAACidJaGYXrFrik37t3XA8z
 dBrXEZyrhoCitPqIIC99eCZcqdgP/xVBdXbH/HEAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjAtMTEt
 MDFUMTI6MzA6MDQrMDA6MDCAj1pSAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIwLTExLTAxVDEyOjMw
 OjA0KzAwOjAw8dLi7gAAAABJRU5ErkJggg==
X-Now-Playing: A Certain Ratio's _Loco_: "Supafreak"
Date: Sun, 01 Nov 2020 13:44:41 +0100
In-Reply-To: <20201101024828.7gt3eq4khxclbgk5@HIDDEN> (Boruch
 Baum's message of "Sat, 31 Oct 2020 22:48:28 -0400")
Message-ID: <877dr5dz5y.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Boruch Baum <boruch_baum@HIDDEN> writes: > That's not really
 my point. My point in the bug report is that while > technically the use
 of function 'error' is correct in this case,
 it works > out to be counter-productive
 and should be replaced [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Boruch Baum <boruch_baum@HIDDEN> writes:

> That's not really my point. My point in the bug report is that while
> technically the use of function 'error' is correct in this case, it works
> out to be counter-productive and should be replaced with a simple use of
> the function 'message' logging the condition to the *Messages* buffer.

Since it sounds like package-autoremove is making a list of candidates
that includes packages that should not be removed, the `error' there
sounds like exactly the right thing?  Because it's uncovering a bug in
package-autoremove.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





Last modified: Sun, 1 Nov 2020 13:00:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.