From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Live System User Newsgroups: gmane.emacs.bugs Subject: bug#29614: 25.2; package.el upgrade problem Date: Fri, 08 Dec 2017 09:34:12 -0500 Message-ID: <87wp1xs2zf.fsf@aol.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1512743714 4539 195.159.176.226 (8 Dec 2017 14:35:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 8 Dec 2017 14:35:14 +0000 (UTC) To: 29614@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 08 15:35:09 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1eNJk4-0000yt-51 for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Dec 2017 15:35:08 +0100 Original-Received: from localhost ([::1]:37553 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNJkB-0002dQ-AJ for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Dec 2017 09:35:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNJk3-0002cF-8E for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 09:35:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNJk0-0001Ls-0r for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 09:35:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42867) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eNJjz-0001Lm-T4 for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 09:35:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eNJjy-0000Ct-9A for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 09:35:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Live System User Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Dec 2017 14:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 29614 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.1512743670746 (code B ref -1); Fri, 08 Dec 2017 14:35:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Dec 2017 14:34:30 +0000 Original-Received: from localhost ([127.0.0.1]:51548 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eNJjS-0000By-94 for submit@debbugs.gnu.org; Fri, 08 Dec 2017 09:34:30 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54319) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eNJjQ-0000Bm-Hs for submit@debbugs.gnu.org; Fri, 08 Dec 2017 09:34:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNJjJ-0000mG-TG for submit@debbugs.gnu.org; Fri, 08 Dec 2017 09:34:23 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:56160) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eNJjJ-0000m0-Qv for submit@debbugs.gnu.org; Fri, 08 Dec 2017 09:34:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNJjI-0002Pg-4e for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 09:34:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNJjE-0000hT-Sp for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 09:34:20 -0500 Original-Received: from omr-m020e.mx.aol.com ([204.29.186.20]:48016) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eNJjE-0000gr-Mc for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 09:34:16 -0500 Original-Received: from mtaout-aab01.mx.aol.com (mtaout-aab01.mx.aol.com [172.26.126.205]) by omr-m020e.mx.aol.com (Outbound Mail Relay) with ESMTP id 3B2CD380004D for ; Fri, 8 Dec 2017 09:34:15 -0500 (EST) Original-Received: from localhost.localdomain (c-73-16-70-190.hsd1.ma.comcast.net [73.16.70.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mtaout-aab01.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id 3E42738000087 for ; Fri, 8 Dec 2017 09:34:14 -0500 (EST) x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20150623; t=1512743654; bh=9MY5FrGewBjQnONlDyADuJiLTgVURVURhKuq7SVXsMw=; h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type; b=mSnSkCtyTlpGiRprfGNdWvp4UeD83i2wxw0fJA1APargX7YGmrr/+95f0iHJnHp8y 6ZLN99DPkTEefRZmHOjVgN6y/fpSZECjOaCcWxxlB1bYLCSyBKgDu9ShlgH3urYWqH 8whhV4yX7z13XZwuHRuOYI727eg7emjB6kjKMtzU= x-aol-sid: 3039ac1a7ecd5a2aa2e61919 X-AOL-IP: 73.16.70.190 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:140813 Archived-At: Hi, I ran into the following problem when using package.el to upgrade my installed packages to the latest available versions: 1. M-x package-list-packages 2. U `package-menu-mark-upgrades' A message displaying in the echo-area that 4 packages are marked to be upgraded -- 3 from Gnu Elpa and 1 from Melpa 3. x `package-menu-execute' The upgrades comenced starting with the one from Melpa. After that one finished, I got the following message in the echo-area: elpa.gnu.org/443 Name or service not known I try "x" `package-menu-execute' again and get the same "elpa.gnu.org/443 Name or service not known" message. Must be a transient error at elpa.gnu.org because I can "ping" it: PING elpa.gnu.org (208.118.235.89) 56(84) bytes of data. 64 bytes from elpa.gnu.org (208.118.235.89): icmp_seq=1 ttl=55 time=34.5 ms I'll exit out of package.el's menu and try again later... 4. q `quit-window I look at my ~/.emacs.d/elpa and I see two versions of the Melpa package that I just upgraded -- the old/obsoleted one and the newly upgraded one. Ordinarily, the obsoleted ome is removed at the conclusion of an (successful) upgrade. But since this upgrade wasn't completely successful -- the 3 Gnu Elpa packages failed to be upgraded even though the Melpa one was successfully upgraded -- I'm guessing that's why the obsoleted one wasn't removed. Some time has passed and I try to upgrade my packages again. 5. M-x package-list-packages 6. U `package-menu-mark-upgrades' Now only 3 packages are marked to be upgraded, all from Gnu Elpa, as expected. 7. x `package-menu-execute' This time the upgrades are successful for the Gnu Elpa packages and the obsolete Gnu Elpa packages are removed. However, the obsolete Melpa package remains. How does one deal with this situation with an unwanted obsolete package? Will it remain until a newer version of the package in the future obsoletes today's current version and then remove both/all obsoleted versions? Or will only the previous obsolete version be removed leaving any other ancestor? [I can see that if package.el supports "pinning" a specific version of a package so that it wont be removed might make an automatic removal of obsoleted previous package's ancestor problematic to guard against.] So does this now become a manual removal process in this reported situation? If so, then are there steps to do this within package;el (besides the obvious remove the package compeletely to get rid of ALL versions of the package -- both lastest and ancestors -- and then reinstall the package)? Or will one have to just resort to deleting the package directory of the obsoleted version of the package manually? Thanks. In GNU Emacs 25.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.20.10) of 2017-05-02 built on buildvm-17.phx2.fedoraproject.org Windowing system distributor 'Fedora Project', version 11.0.11803000 Configured using: 'configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 --with-gpm=no --with-xwidgets --with-modules build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' LDFLAGS=-Wl,-z,relro PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES XWIDGETS Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: funcall-interactively: End of buffer Type C-x 1 to delete the help window. funcall-interactively: Beginning of buffer [10 times] funcall-interactively: Text is read-only [2 times] Making completion list... Load-path shadows: None found. Features: (shadow emacsbug eieio-opt speedbar sb-image ezimage dframe find-func pp thingatpt mailalias smtpmail sendmail debug sort gnus-cite smiley ansi-color mail-extr gnus-async gnus-bcklg qp gnus-ml disp-table cursor-sensor nndraft nnmh nndoc mm-archive jka-compr timezone url-http url-gw url-cache url-auth url-handlers utf-7 rfc2104 nnfolder network-stream nsm starttls gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp gnus-cache epa-file epa derived nnreddit mm-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source cl-seq eieio eieio-core cl-macs url-vars json map seq byte-opt bytecomp byte-compile cl-extra cconv gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap cl gv sieve sieve-mode sieve-manage nnir gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc parse-time gnus-spec gnus-int gnus-range message dired format-spec rfc822 mml mml-sec password-cache epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems wid-edit nnoo nnheader gnus-util mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils misearch multi-isearch time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting xwidget-internal move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 217442 50107) (symbols 48 31609 420) (miscs 40 142 569) (strings 32 58115 16037) (string-bytes 1 1783839) (vectors 16 27769) (vector-slots 8 862483 53634) (floats 8 418 1607) (intervals 56 525 320) (buffers 976 47) (heap 1024 60839 44510))