Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 May 2017 13:03:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 219036] ports-mgmt/pkg:  pkg confused, installs older version over newer
Message-ID:  <bug-219036-32340-CV1btCW7jW@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-219036-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-219036-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219036

Baptiste Daroussin <bapt@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|pkg@FreeBSD.org             |freebsd-bugs-ports@FreeBSD.
                   |                            |org

--- Comment #2 from Baptiste Daroussin <bapt@FreeBSD.org> ---
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<version> 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<version>/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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219036-32340-CV1btCW7jW>