From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Karpov Newsgroups: gmane.emacs.bugs Subject: bug#20817: 25.0.50; Problems with upgrading of packages Date: Thu, 18 Jun 2015 21:23:17 +0600 Message-ID: <87egl959cq.fsf@openmailbox.org> References: <87y4jhyvjj.fsf@openmailbox.org> <871th9gkri.fsf@openmailbox.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1434641260 25843 80.91.229.3 (18 Jun 2015 15:27:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Jun 2015 15:27:40 +0000 (UTC) To: bruce.connor.am@gmail.com, 20817@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 18 17:27:29 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 1Z5bih-000456-TX for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Jun 2015 17:27:12 +0200 Original-Received: from localhost ([::1]:53301 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5bih-00010T-9Z for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Jun 2015 11:27:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5bid-0000of-Qe for bug-gnu-emacs@gnu.org; Thu, 18 Jun 2015 11:27:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5biZ-0003m8-M9 for bug-gnu-emacs@gnu.org; Thu, 18 Jun 2015 11:27:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5biZ-0003m1-GR for bug-gnu-emacs@gnu.org; Thu, 18 Jun 2015 11:27:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z5biZ-0004vr-AS for bug-gnu-emacs@gnu.org; Thu, 18 Jun 2015 11:27:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mark Karpov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Jun 2015 15:27:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20817 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20817-submit@debbugs.gnu.org id=B20817.143464117918872 (code B ref 20817); Thu, 18 Jun 2015 15:27:03 +0000 Original-Received: (at 20817) by debbugs.gnu.org; 18 Jun 2015 15:26:19 +0000 Original-Received: from localhost ([127.0.0.1]:50944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z5bhq-0004uJ-Jz for submit@debbugs.gnu.org; Thu, 18 Jun 2015 11:26:19 -0400 Original-Received: from smtp29.openmailbox.org ([62.4.1.63]:53720) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z5bho-0004u8-BT for 20817@debbugs.gnu.org; Thu, 18 Jun 2015 11:26:17 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.openmailbox.org (Postfix) with ESMTP id 611F02E009C; Thu, 18 Jun 2015 17:26:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=openmailbox.org; h=content-type:content-type:mime-version:user-agent:message-id :in-reply-to:date:date:references:subject:subject:from:from :received; s=openmailbox; t=1434641170; bh=eSTKYefuHovp7J9Z++3f1 vPRxgMBI6od1xnkfnG7jM4=; b=EOFRgHannLAPYRtW7tCZStcp++4go3noze1tc 4f63Gar/4DUsoiV3XNoHwFZfEecovEH/f4+9GMgwzg/J8Bl0etVPmX2xqwxsxwJ+ 4NGT0CpK7HLmV3vcSylaZFuJuUS77e/pS+tzemxcppV/JQM33vAWAaZznR9VfE7r C0kSKs= X-Virus-Scanned: amavisd-new at openmailbox.org Original-Received: from mail.openmailbox.org ([62.4.1.34]) by localhost (mail.openmailbox.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 0decOn6zwaAc; Thu, 18 Jun 2015 17:26:10 +0200 (CEST) In-Reply-To: (Artur Malabarba's message of "Thu, 18 Jun 2015 16:07:15 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) 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:104094 Archived-At: I have this advice, but I don't see how it can cause any problem: (defun pkgi-filter-args (pkg &optional _dont-select) "How to filter arguments of `package-install' command. PKG is passed to the command, while DONT-SELECT is always T, so one can select any packages only by manually adding them to `package-selected-packages' variable." (list pkg t)) (advice-add 'package-install :filter-args #'pkgi-filter-args) Try to evaluate the code and I've posted previously plus these lines. Note that I've tried to upgrade packages evaluating only code that I've already posted (without the advice). It worked! Bad news are that I'm now unable to test this behavior anymore until there are new versions of some packages on MELPA (it's impossible to revert to older builds AFAIK).