From owner-freebsd-pkg@freebsd.org Wed May 3 13:03:27 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 6A737D5B8F2 for ; Wed, 3 May 2017 13:03:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 5419D1DA7 for ; Wed, 3 May 2017 13:03:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5389CD5B8F1; Wed, 3 May 2017 13:03:27 +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 532ADD5B8F0 for ; Wed, 3 May 2017 13:03:27 +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 mx1.freebsd.org (Postfix) with ESMTPS id 428C41DA6 for ; Wed, 3 May 2017 13:03:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v43D3Q6h044450 for ; Wed, 3 May 2017 13:03:27 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 219036] ports-mgmt/pkg: pkg confused, installs older version over newer Date: Wed, 03 May 2017 13:03:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Some People X-Bugzilla-Who: bapt@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs-ports@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: 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.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: Wed, 03 May 2017 13:03:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219036 Baptiste Daroussin changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|pkg@FreeBSD.org |freebsd-bugs-ports@FreeBSD. | |org --- Comment #2 from Baptiste Daroussin --- this is not a pkg bug, but an infrastructure bug. samba44 is not an older version of samba46 from pkg point of view this is 2 different software: 2 different names. the library provided by samba44 and samba46 cannot be replaced on binaries = as they are do not have the same ABI (iirc). The right solution to avoid such situation is to have a package (only one providing) the default client part: only libraries might be ok. and the oth= er samba ports to be installed elsewhere: /usr/local/samba or with a symlink in /usr/local/bin for all the binaries (suffixed by the version) so they don't conflict with each others and their binaries using a proper RPAT= H so they find their libs in /usr/local/samba/lib before anything else. That way the user could decide which version of samba they want to install/= use and whatever is the version of the libsmb used by default by other packages. --=20 You are receiving this mail because: You are the assignee for the bug.=