From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs Subject: bug#20836: 25.0.50; package.el doesn't delete old versions anymore Date: Wed, 17 Jun 2015 21:09:20 +0200 Message-ID: <87381qywwv.fsf@gnu.org> References: <87pp4us9it.fsf@gnu.org> <14e028ddf28.27bc.69bc538c4644581689883e654f15bce0@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1434568266 22542 80.91.229.3 (17 Jun 2015 19:11:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Jun 2015 19:11:06 +0000 (UTC) Cc: 20836@debbugs.gnu.org To: Artur Malabarba Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 17 21:10:54 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z5IjX-0007cD-Av for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Jun 2015 21:10:47 +0200 Original-Received: from localhost ([::1]:48694 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5IjR-0007PA-Nr for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Jun 2015 15:10:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Iiw-0006lm-5H for bug-gnu-emacs@gnu.org; Wed, 17 Jun 2015 15:10:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5Iir-0008G1-DU for bug-gnu-emacs@gnu.org; Wed, 17 Jun 2015 15:10:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37803) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Iir-0008Dk-AJ for bug-gnu-emacs@gnu.org; Wed, 17 Jun 2015 15:10:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z5Iip-0004wz-TL for bug-gnu-emacs@gnu.org; Wed, 17 Jun 2015 15:10:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Jun 2015 19:10:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20836 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20836-submit@debbugs.gnu.org id=B20836.143456816718975 (code B ref 20836); Wed, 17 Jun 2015 19:10:03 +0000 Original-Received: (at 20836) by debbugs.gnu.org; 17 Jun 2015 19:09:27 +0000 Original-Received: from localhost ([127.0.0.1]:50000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z5IiE-0004vz-LU for submit@debbugs.gnu.org; Wed, 17 Jun 2015 15:09:27 -0400 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:41873) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z5IiB-0004vp-Gu for 20836@debbugs.gnu.org; Wed, 17 Jun 2015 15:09:25 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 2EEFA20484 for <20836@debbugs.gnu.org>; Wed, 17 Jun 2015 15:09:23 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Wed, 17 Jun 2015 15:09:23 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=vIH9gm9p8RKj4Iv 5GXHUxKu2twU=; b=AWn9SP2xTEtuvC1QclNMuHKPGDbm4MJkRH1C1aJsNK7rU+A 9/lLa8y2blEMLSFTpNj19I7peNYKruXCzS8eRp0CtyUrGR18gtIRStpypOwPjJQS ibmauzBUFF/YM2yizGpOhyG6EMAsxtNWBLk3ZNpotkZxO531nmzoUBcsNAl0= X-Sasl-enc: OuWtRTcKYgrwP6Hxh/Trh0eKce6Eg5bqi/0pzLJGdjbK 1434568162 Original-Received: from thinkpad-t440p (unknown [2.160.171.233]) by mail.messagingengine.com (Postfix) with ESMTPA id 69D0F68010F; Wed, 17 Jun 2015 15:09:22 -0400 (EDT) In-Reply-To: (Artur Malabarba's message of "Wed, 17 Jun 2015 19:45:26 +0100") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:104051 Archived-At: Artur Malabarba writes: >> marked as external. > > Actually, I was talking about the most recent version. Is the most > recent installed version displayed as "external" instead of > "installed"? (I'm guesing probably not, or you would have said > something). I actually don't look at the packages on upgrades. I just do list-packages, U, x, y and be done. Ok, but there are upgradeable packages available again: cider and helm. They show up both as "new". Now I upgraded them with U and x while debug-on-error was t. No error occurred but still I now have drwxr-xr-x 2 horn horn 4,0K 17. Jun 07:38 cider-20150616.1226 drwxr-xr-x 2 horn horn 4,0K 17. Jun 21:01 cider-20150617.753 ... drwxr-xr-x 2 horn horn 4,0K 16. Jun 18:48 helm-20150616.539 drwxr-xr-x 2 horn horn 4,0K 17. Jun 21:01 helm-20150617.545 in ~/.emacs.d/elpa/. Oh, and in the *Packages* buffer's bottom I have cider 20150616.1226 obsolete Clojure Interactiv= e Development Environment that Rocks helm 20150616.539 obsolete Helm is an Emacs i= ncremental and narrowing framework >> I haven't always checked but last time I did, the packages of old >> versions were indeed displayed at the bottom as obsolete. > > Ok, this is a strong indicator that some error happens during deletion > or installation, and so the upgrade is halted before deletion happens. > Check out your Messages buffer next time. As said, no errors during install and delete. Or at least I haven't been put into the debugger with debug-on-error and neither has something with "error" in it been printed in *Messages*. So unless there's nothing in package.el handling or ignoring the error... > Even if you've already deleted the old directories, I think you can > trigger an upgrade by doing the following: > > 1. Go into the file =E2=80=9C~/.emacs.d/elpa/helm-2015NNNN.NNNN/helm-pkg.= el=E2=80=9D, > and decrease the version number in there. > > 2. Rename the actual directory =E2=80=9C~/.emacs.d/elpa/helm-2015NNNN.NNN= N/=E2=80=9D > according to the new version number. > > 3. Restart Emacs. Ah, good to know. Bye, Tassilo