From owner-freebsd-pkg@freebsd.org Thu Mar 16 00:49:29 2017 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 47A2DD0C474 for ; Thu, 16 Mar 2017 00:49:29 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3513216A8 for ; Thu, 16 Mar 2017 00:49:29 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: by mailman.ysv.freebsd.org (Postfix) id 2D0CBD0C472; Thu, 16 Mar 2017 00:49:29 +0000 (UTC) Delivered-To: pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2C7E0D0C470; Thu, 16 Mar 2017 00:49:29 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E947F16A1; Thu, 16 Mar 2017 00:49:28 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 815F728496; Thu, 16 Mar 2017 01:49:19 +0100 (CET) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id C53602846D; Thu, 16 Mar 2017 01:49:18 +0100 (CET) To: pkg@FreeBSD.org Subject: ports-mgmt/pkg wrong pkg version info when more repositories are used Cc: FreeBSD Ports From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <58C9E10E.9050700@quip.cz> Date: Thu, 16 Mar 2017 01:49:18 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Mar 2017 00:49:29 -0000 Hi, I have machines configured with more then on repository (two exactly) and "pkg version -vRL =" says "needs updating (remote has..." for packages which exists in both repositories but where installed from one which intentionally does not have newer version. Should not this comparison be tied to repo from which the package were installed? It sometimes show strange results: python-3.5_2,2 > succeeds remote (remote has 2.7_3,2) Because we have installed Python from repo where 3.5 is the default so why pkg compares it with Python 2.7 from second repository? Miroslav Lachman