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: Thu, 29 Oct 2020 08:52:37 -0400 Message-ID: <20201029125237.t4a5fiwrosfulpev@E15-2016.optimum.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28682"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: NeoMutt/20180716 To: 44306@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 29 14:03:28 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 1kY7aR-0007Np-St for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Oct 2020 14:03:27 +0100 Original-Received: from localhost ([::1]:42622 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kY7aQ-0002xp-O4 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Oct 2020 09:03:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60146) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kY7QM-0007FY-BV for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2020 08:53:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40788) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kY7QM-0004WF-0h for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2020 08:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kY7QL-00012X-VE for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2020 08:53: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: Thu, 29 Oct 2020 12:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44306 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Emacs Bug Reporting Original-Received: via spool by submit@debbugs.gnu.org id=B.16039759683976 (code B ref -1); Thu, 29 Oct 2020 12:53:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Oct 2020 12:52:48 +0000 Original-Received: from localhost ([127.0.0.1]:52334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kY7Q8-000124-6C for submit@debbugs.gnu.org; Thu, 29 Oct 2020 08:52:48 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:50474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kY7Q6-00011w-CN for submit@debbugs.gnu.org; Thu, 29 Oct 2020 08:52:46 -0400 Original-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 ) id 1kY7Q6-0007EK-2u for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2020 08:52:46 -0400 Original-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 ) id 1kY7Q3-0004ML-S8 for bug-gnu-emacs@gnu.org; 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 Original-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 ; Thu, 29 Oct 2020 13:52:40 +0100 Content-Disposition: inline X-Provags-ID: V03:K1:7+1It8WZKV5gbN9pv5zWTGM2r5/6zC3RRD3Vv7ONLI/uWQBWZmY WUlYQxZLla7FB5Mc6G7ehscdVaZP16Rs2Tt5WduU4LGOCvGb5whFEnBtgf6atdL4cvbAIP8 TVFctS8g6Syp0SfhmWhDbUBV/HYEKfVZrBMXuIJaYREwUl2NyqQKgzfDUYsM3adcMzLyWSV +AlIxC1PKau8ssewBmYsw== 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/8 Received-SPF: pass client-ip=212.227.17.22; envelope-from=boruch_baum@gmx.com; 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-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:191952 Archived-At: 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