From owner-freebsd-pkg@freebsd.org Sun Apr 21 13:13:53 2019 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8702158CEF6 for ; Sun, 21 Apr 2019 13:13:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 8FB3771912 for ; Sun, 21 Apr 2019 13:13:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 50A38158CEF0; Sun, 21 Apr 2019 13:13:52 +0000 (UTC) Delivered-To: pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2C7C1158CEEF for ; Sun, 21 Apr 2019 13:13:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A2D1D7190E for ; Sun, 21 Apr 2019 13:13:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id CF1C012A14 for ; Sun, 21 Apr 2019 13:13:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3LDDo6D071725 for ; Sun, 21 Apr 2019 13:13:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3LDDogH071724 for pkg@FreeBSD.org; Sun, 21 Apr 2019 13:13:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 237437] ports-mgmt/pkg: "pkg install" picks wrong repository Date: Sun, 21 Apr 2019 13:13:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dominik.lisiak@bemsoft.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.29 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: Sun, 21 Apr 2019 13:13:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237437 Bug ID: 237437 Summary: ports-mgmt/pkg: "pkg install" picks wrong repository Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: pkg@FreeBSD.org Reporter: dominik.lisiak@bemsoft.pl Flags: maintainer-feedback?(pkg@FreeBSD.org) Assignee: pkg@FreeBSD.org I have configured 2 repositories for pkg: default - current version of all ports installed on the machine, priority 0 ossec-hids - future versions of ossec-hids* ports (I am the maintainer), priority 1 The ossec-hids* ports in "default" repository have version 3.1.0 and in "ossec-hids" repository have version 3.2.0. Other ports (dependencies) that exist in both repositories have the same version. All ports that exist in b= oth repositories have same options. # pkg install ossec-hids-server-config gives proper result trying to install the newer version of ossec-hids, but strangely postgresql10-client dependency is incorrectly taken from "default" repository: New packages to be INSTALLED: ossec-hids-server-config: 3.2.0 [ossec-hids] ossec-hids-server: 3.2.0 [ossec-hids] openssl: 1.0.2r,1 [ossec-hids] expect: 5.45.4_1,1 [ossec-hids] tcl86: 8.6.9_1 [ossec-hids] libinotify: 20180201_1 [ossec-hids] postgresql10-client: 10.7_2 [default] perl5: 5.28.1_1 [ossec-hids] readline: 8.0.0 [ossec-hids] indexinfo: 0.3.1 [ossec-hids] # pkg install security/ossec-hids-server-config gives wrong result trying to install old version of ossec-hids, but surprisingly the postgresql10-client dependency is correctly taken from "ossec-hids" repository: New packages to be INSTALLED: ossec-hids-server-config: 3.1.0_1 [default] ossec-hids-server: 3.1.0_3 [default] openssl: 1.0.2r,1 [default] expect: 5.45.4_1,1 [default] tcl86: 8.6.9_1 [default] readline: 8.0.0 [default] indexinfo: 0.3.1 [default] libinotify: 20180201_1 [default] postgresql10-client: 10.7_2 [ossec-hids] perl5: 5.28.1_1 [default] Note that the postgresql10-client is the same in both repositories so selec= tion of the wrong repository does little harm in this particular case. --=20 You are receiving this mail because: You are the assignee for the bug.=