On Nov 6, 2022, at 9:20 AM,
wrote:
> I try to get FreeBSD14 current running with both
> - GNOME
> - SAMBA
> That seems to be impossible ☹ GNOME and SAMBA416 seems to be conflicting !
> I need SAMBA416 since SAMBA413 is simply not working :(
>
> Installing SAMBA does remove GNOME components and vice versa.
>
> How to work around this !!??
> So, that is a squeeze which urgently need repair IMHO
>
> Louis
>
>
> pkg install samba416-4.16.6
> Message from samba416-4.16.6
> [1/4] Deinstalling gnome-shell-42.4_1...
> [1/4] Deleting files for gnome-shell-42.4_1: 100%
> [2/4] Deinstalling gnome-control-center-43.0...
> [2/4] Deleting files for gnome-control-center-43.0: 100%
> [3/4] Deinstalling samba413-4.13.17_4...
> [3/4] Deleting files for samba413-4.13.17_4: 100%
> [4/4] Installing samba416-4.16.6...
> [4/4] Extracting samba416-4.16.6: 100%
>
> And then I have a fatal GNOME problem, and I have to install GNOME shell
> Nov 6 12:29:20 SENIOR pkg[1897]: samba416-4.16.6 deinstalled
> Nov 6 12:29:21 SENIOR pkg[1897]: samba413-4.13.17_4 installed
> Nov 6 12:29:21 SENIOR pkg[1897]: gnome-control-center-43.0 installed
> Nov 6 12:29:21 SENIOR pkg[1897]: gnome-shell-42.4_1 installed
>
> SAMBA and GNOME are both working ….. apart from each other.
> Where SAMBA is not yet 100% ok e.g. it indicates that the config is not ok
> where testparm says it is ok
I am not using GNOME, but I am using Samba 4.16 and it coexists with other
ports for me. I suspect the problem is that GNOME is being built against the
current default for Samba (4.13) and so GNOME has the 4.13 version as a
dependency. Samba 4.16 and 4.13 conflict against each other, so when you try
and install Samba 4.16 it will uninstall Samba 4.13 (and GNOME, which depends
upon it). Conversely, if you install GNOME it will uninstall Samba 4.16 to
make way for its Samba 4.13 dependency.
The way to fix this is to have your ports build against a common default
version of Samba. In my case, I build ports locally using Poudriere and added
"samba=4.16" to the "DEFAULT_VERSIONS" definition in make.conf for that
Poudriere ports jail. So, any ports that build against Samba will use Samba
4.16 as a dependency, not 4.13.
If you are using FreeBSD repositories, you might have to wait for Samba to
switch to 4.16 in /usr/ports/Mk/bsd.default-versions.mk before GNOME/Samba
ports shake out the way you like.
Cheers,
Paul.