From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#16762: Installed packages are not considered part of the archive contents Date: Mon, 24 Mar 2014 16:32:29 +0200 Message-ID: <533041FD.5070606@yandex.ru> References: <87lhw4nj42.fsf@yandex.ru> <532CC639.6000309@yandex.ru> <532E9868.60207@yandex.ru> <532FCEC0.4020304@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1395671593 12676 80.91.229.3 (24 Mar 2014 14:33:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Mar 2014 14:33:13 +0000 (UTC) Cc: Johan Andersson , 16762@debbugs.gnu.org To: Stefan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 24 15:33:22 2014 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 1WS5wG-0004AU-EX for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Mar 2014 15:33:20 +0100 Original-Received: from localhost ([::1]:36696 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WS5wG-0004h2-2d for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Mar 2014 10:33:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44466) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WS5w6-0004gT-7n for bug-gnu-emacs@gnu.org; Mon, 24 Mar 2014 10:33:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WS5vy-0006RP-4T for bug-gnu-emacs@gnu.org; Mon, 24 Mar 2014 10:33:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46550) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WS5vy-0006RL-0s for bug-gnu-emacs@gnu.org; Mon, 24 Mar 2014 10:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WS5vx-00040z-IV for bug-gnu-emacs@gnu.org; Mon, 24 Mar 2014 10:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Mar 2014 14:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16762 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16762-submit@debbugs.gnu.org id=B16762.139567155815392 (code B ref 16762); Mon, 24 Mar 2014 14:33:01 +0000 Original-Received: (at 16762) by debbugs.gnu.org; 24 Mar 2014 14:32:38 +0000 Original-Received: from localhost ([127.0.0.1]:47732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WS5vZ-00040C-MU for submit@debbugs.gnu.org; Mon, 24 Mar 2014 10:32:37 -0400 Original-Received: from mail-bk0-f45.google.com ([209.85.214.45]:60451) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WS5vX-000404-H4 for 16762@debbugs.gnu.org; Mon, 24 Mar 2014 10:32:36 -0400 Original-Received: by mail-bk0-f45.google.com with SMTP id na10so515667bkb.4 for <16762@debbugs.gnu.org>; Mon, 24 Mar 2014 07:32:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=bF8J6M4AuHr5RNAoztjjD4rIAmqvqGc7sJQNKT0XHek=; b=drM49wKdx0HTbk/HtfjC3rK9xEWWSvPybDuBYDpGPATDWRQEId11uZKcsjO7JYO22/ cdvcq9ZsYgE6IKylz2x4C5DzXeC6aPjfQYcGqYh+TtSQErhQ4P2FEgdmU8lMEQkoJvgr i8c2NHjIYoL3YhHk+g7zyM3ZgwaXwuVWFQNbNlt0LnWRRcxhI13sfANVQ7vLqyIfFs8e uuFLsEMsBt8+0LD/AUCdiweUQYYhmOdJ4SSwbz/waeGK8oOzWp2alc3JcavZtv1VfuAo sjmvq3Y/dUhCJ9zFS9O3sDYPjubu7abidmCwz0RQ2j8U4MS6ANkGNKJnh8yQSqOJJaLj nMaA== X-Received: by 10.204.173.75 with SMTP id o11mr1381409bkz.35.1395671554205; Mon, 24 Mar 2014 07:32:34 -0700 (PDT) Original-Received: from [192.168.10.2] ([93.109.138.177]) by mx.google.com with ESMTPSA id m4sm14615520bkj.4.2014.03.24.07.32.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 24 Mar 2014 07:32:33 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 In-Reply-To: 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:87305 Archived-At: On 24.03.2014 15:07, Stefan wrote: > Doesn't the above package-installed-p mean that we can't complete the > name of an already installed package we want to upgrade? Before the patch, `package-install' would be a no-op for a currently installed package, even if a new version is available (because when the PKG argument is not a pkg-desc, it's passed to `package-compute-transaction' in the list of requirements without version, and it's immediately satisfied, requiring no package installation). Considering that `package-install' wouldn't remove the currently installed version, I don't think we'd want it to work for upgrades, anyway.