From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ruijie Yu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#63757: 29.0.91 order of package paths changed: random old versions of packages in load-path Date: Sun, 04 Jun 2023 17:10:51 +0800 Message-ID: References: <83y1l7gzqw.fsf@gnu.org> <87ilcb2p1l.fsf@posteo.net> <87sfb8g85v.fsf@posteo.net> <83a5xf7pi5.fsf@gnu.org> <831qir7isf.fsf@gnu.org> <83wn0j621b.fsf@gnu.org> Reply-To: Ruijie Yu 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="40566"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.9.22; emacs 30.0.50 Cc: =?UTF-8?Q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9_?= =?UTF-8?Q?=D0=91=D0=BE=D0=B9=D0=BA=D0=BE=D0=B2?= , 63757@debbugs.gnu.org, philipk@posteo.net, monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 04 11:12:25 2023 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 1q5jmi-000AL1-OP for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Jun 2023 11:12:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5jmO-0007JT-52; Sun, 04 Jun 2023 05:12:04 -0400 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 1q5jmM-0007J0-PS for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2023 05:12:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q5jmM-0003LG-Gg for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2023 05:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q5jmM-0003NF-70 for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2023 05:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ruijie Yu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Jun 2023 09:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63757 X-GNU-PR-Package: emacs Original-Received: via spool by 63757-submit@debbugs.gnu.org id=B63757.168586987812907 (code B ref 63757); Sun, 04 Jun 2023 09:12:02 +0000 Original-Received: (at 63757) by debbugs.gnu.org; 4 Jun 2023 09:11:18 +0000 Original-Received: from localhost ([127.0.0.1]:45008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5jld-0003M7-Ja for submit@debbugs.gnu.org; Sun, 04 Jun 2023 05:11:17 -0400 Original-Received: from netyu.xyz ([152.44.41.246]:34658 helo=mail.netyu.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5jla-0003Lx-Nk for 63757@debbugs.gnu.org; Sun, 04 Jun 2023 05:11:15 -0400 Original-Received: from fw.net.yu.netyu.xyz ( [222.248.4.98]) by netyu.xyz (OpenSMTPD) with ESMTPSA id 35e7bb5a (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 4 Jun 2023 09:11:13 +0000 (UTC) In-reply-to: <83wn0j621b.fsf@gnu.org> 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:262924 Archived-At: Eli Zaretskii writes: >> From: =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 =D0=91=D0=BE=D0=B9=D0= =BA=D0=BE=D0=B2 >> Date: Sun, 4 Jun 2023 18:43:13 +1000 >> Cc: monnier@iro.umontreal.ca, philipk@posteo.net, 63757@debbugs.gnu.org >>=20 >> > I wonder how come this issue never came up until now, in all the time >> > since commit fb87d500, 9 months ago? What are you, =D0=95=D0=B2=D0=B3= =D0=B5=D0=BD=D0=B8=D0=B9, do that >> > bumps into this issue, that other people don't do? Or does this >> > affect only very specific packages? >>=20 >> I moved my everyday working emacs instance to 29.0.91 and got almost 2% = completely broken >> packages. >> I rarely delete really old versions from my ~/.emacs.d/elpa. >> If your package-user-dir is cleaned more often, you may not notice that = your loaded packages have >> slightly different old versions. >> This can affect any package if it has few versions. > > So you are saying that other people mostly delete old versions from > ~/.emacs.d/elpa/, and that's why this problem was not reported until > now, is that right? IIRC, from another bug report, someone shared that pressing U in `M-x list-packages' is equivalent to: "for each upgradable pacakge, install the new version and uninstall the old version". So, I think what =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 did was go to t= he package list, find the new version of a package of interest and install it -- _without_ also deleting the old version. > What are our recommendations, if any, for cleaning up old versions of > ELPA packages? --=20 Best, RY