Date: Sun, 21 Apr 2019 13:13:50 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 237437] ports-mgmt/pkg: "pkg install" picks wrong repository Message-ID: <bug-237437-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237437-7788>