From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.devel Subject: Package updating, and behavior of hangs Date: Fri, 16 Nov 2018 13:46:30 -0800 Message-ID: <87zhu81yrt.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1542404692 19991 195.159.176.226 (16 Nov 2018 21:44:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 16 Nov 2018 21:44:52 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 16 22:44:48 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gNluy-00054U-4R for ged-emacs-devel@m.gmane.org; Fri, 16 Nov 2018 22:44:48 +0100 Original-Received: from localhost ([::1]:47119 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gNlx4-0007cG-Cw for ged-emacs-devel@m.gmane.org; Fri, 16 Nov 2018 16:46:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gNlwv-0007c0-5d for emacs-devel@gnu.org; Fri, 16 Nov 2018 16:46:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gNlws-0004Z0-0R for emacs-devel@gnu.org; Fri, 16 Nov 2018 16:46:49 -0500 Original-Received: from [195.159.176.226] (port=40965 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gNlwr-0004OT-QO for emacs-devel@gnu.org; Fri, 16 Nov 2018 16:46:45 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1gNluc-0004eq-5F for emacs-devel@gnu.org; Fri, 16 Nov 2018 22:44:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:nxld/5XU/CUCZNBL5HtX+bz9BFw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:231203 Archived-At: I get hangs a lot when updating `package-list', and find the bailout behavior weird. My `package-archives' looks like this: (("gnu" . "https://elpa.gnu.org/packages/") ("melpa" . "https://melpa.org/packages/") ("org" . "http://orgmode.org/elpa/")) The "org" entry is the one mostly responsible for my problems. It hangs a lot, and sometimes I have to "C-g" out of it, and then `package--downloads-in-progress' is left with the "melpa" and "gnu" entries, and "Package Menu:Loading" in the status bar, and I can't do anything with the packages. If I `list-processes', I see: elpa.gnu.org -- failed *http elpa.gnu.org:443* -- Main (network connection to elpa.gnu.org) melpa.org -- failed *http melpa.org:443* -- Main (network connection to melpa.org) orgmode.org<1> -- open -- -- Main (network connection to orgmode.org) If I "d" on the orgmode process it just goes away, nothing else happens. If I "d" on either of the other two, I get something like this in *Messages*: error in process sentinel: Error retrieving: https://elpa.gnu.org/packages/archive-contents (error connection-failed "deleted " :host "elpa.gnu.org" :service 443) Then I "d" on the other one, get the same sentinel error, then get "Package update done", and the *Packages* buffer finally refreshes and I have control of that again. I don't really know how this should behave, but it seems like there ought to be a better recovery mechanism for timeouts... Eric