Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Nov 2022 09:44:03 -0500
From:      Paul Mather <paul@gromit.dlib.vt.edu>
To:        louis.freebsd@xs4all.nl
Cc:        "<freebsd-current@freebsd.org>" <freebsd-current@FreeBSD.org>
Subject:   Re: SAMBA 416-4.16.6 ad GNOME together is impossible :( 
Message-ID:  <6012509C-F755-4406-BB72-6F1DE32BFF25@gromit.dlib.vt.edu>
In-Reply-To: <000401d8f1ea$eb57c9f0$c2075dd0$@xs4all.nl>
References:  <000401d8f1ea$eb57c9f0$c2075dd0$@xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_6BBF53DD-8D7D-4370-A2D3-8FE3605FB868
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

On Nov 6, 2022, at 9:20 AM, <louis.freebsd@xs4all.nl> =
<louis.freebsd@xs4all.nl> wrote:

> I try to get FreeBSD14 current running with both
> - GNOME
> - SAMBA
> That seems to be impossible =E2=98=B9  GNOME and SAMBA416 seems to be =
conflicting !=20
> I need SAMBA416 since SAMBA413 is simply not working :(
> =20
> Installing SAMBA does remove GNOME components and vice versa.
> =20
> How to work around this !!??
> So, that is a squeeze which urgently need repair IMHO
> =20
> Louis
> =20
> =20
> 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%
> =20
> 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
> =20
> SAMBA and GNOME are both working =E2=80=A6.. apart from each other.=20
> Where SAMBA is not yet 100% ok e.g. it indicates that the config is =
not ok where testparm says it is ok=20


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=3D4.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.=

--Apple-Mail=_6BBF53DD-8D7D-4370-A2D3-8FE3605FB868
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;">On Nov 6, =
2022, at 9:20 AM, &lt;louis.freebsd@xs4all.nl&gt; =
&lt;louis.freebsd@xs4all.nl&gt; wrote:<br><div><br><blockquote =
type=3D"cite"><span style=3D"font-family: Calibri, sans-serif; =
font-size: 11pt;">I try to get FreeBSD14 current running with =
both</span><br><div><div class=3D"WordSection1" style=3D"page: =
WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 14px; font-style: normal; font-variant-caps: normal; =
font-weight: 400; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;"><div style=3D"margin: 0cm; font-size: 11pt; font-family: Calibri, =
sans-serif;"><span lang=3D"EN-US">- GNOME<o:p></o:p></span></div><div =
style=3D"margin: 0cm; font-size: 11pt; font-family: Calibri, =
sans-serif;"><span lang=3D"EN-US">- SAMBA<o:p></o:p></span></div><div =
style=3D"margin: 0cm; font-size: 11pt; font-family: Calibri, =
sans-serif;"><span lang=3D"EN-US">That seems to be impossible<span =
class=3D"Apple-converted-space">&nbsp;</span></span><span lang=3D"EN-US" =
style=3D"font-family: &quot;Segoe UI Emoji&quot;, =
sans-serif;">=E2=98=B9</span><span lang=3D"EN-US"><span =
class=3D"Apple-converted-space">&nbsp;</span>&nbsp;GNOME and SAMBA416 =
seems to be conflicting !<span =
class=3D"Apple-converted-space">&nbsp;</span><o:p></o:p></span></div><div =
style=3D"margin: 0cm; font-size: 11pt; font-family: Calibri, =
sans-serif;"><span lang=3D"EN-US">I need SAMBA416 since SAMBA413 is =
simply not working :(<o:p></o:p></span></div><div style=3D"margin: 0cm; =
font-size: 11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-US"><o:p>&nbsp;</o:p></span></div><div style=3D"margin: 0cm; =
font-size: 11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-US">Installing SAMBA does remove GNOME components and vice =
versa.<o:p></o:p></span></div><div style=3D"margin: 0cm; font-size: =
11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-US"><o:p>&nbsp;</o:p></span></div><div style=3D"margin: 0cm; =
font-size: 11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-US">How to work around this !!??<o:p></o:p></span></div><div =
style=3D"margin: 0cm; font-size: 11pt; font-family: Calibri, =
sans-serif;"><span lang=3D"EN-US">So, that is a squeeze which urgently =
need repair IMHO<o:p></o:p></span></div><div style=3D"margin: 0cm; =
font-size: 11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-US"><o:p>&nbsp;</o:p></span></div><div style=3D"margin: 0cm; =
font-size: 11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-US">Louis<o:p></o:p></span></div><div style=3D"margin: 0cm; =
font-size: 11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-US"><o:p>&nbsp;</o:p></span></div><div style=3D"margin: 0cm; =
font-size: 11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-US"><o:p>&nbsp;</o:p></span></div><div style=3D"margin: 0cm; =
font-size: 11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-US">pkg install samba416-4.16.6<o:p></o:p></span></div><div =
style=3D"margin: 0cm; font-size: 11pt; font-family: Calibri, =
sans-serif;"><span lang=3D"EN-US">Message from =
samba416-4.16.6<o:p></o:p></span></div><div style=3D"margin: 0cm; =
font-size: 11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-US">[1/4] Deinstalling =
gnome-shell-42.4_1...<o:p></o:p></span></div><div style=3D"margin: 0cm; =
font-size: 11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-US">[1/4] Deleting files for gnome-shell-42.4_1: =
100%<o:p></o:p></span></div><div style=3D"margin: 0cm; font-size: 11pt; =
font-family: Calibri, sans-serif;"><span lang=3D"EN-US">[2/4] =
Deinstalling gnome-control-center-43.0...<o:p></o:p></span></div><div =
style=3D"margin: 0cm; font-size: 11pt; font-family: Calibri, =
sans-serif;"><span lang=3D"EN-US">[2/4] Deleting files for =
gnome-control-center-43.0: 100%<o:p></o:p></span></div><div =
style=3D"margin: 0cm; font-size: 11pt; font-family: Calibri, =
sans-serif;"><span lang=3D"EN-US">[3/4] Deinstalling =
samba413-4.13.17_4...<o:p></o:p></span></div><div style=3D"margin: 0cm; =
font-size: 11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-US">[3/4] Deleting files for samba413-4.13.17_4: =
100%<o:p></o:p></span></div><div style=3D"margin: 0cm; font-size: 11pt; =
font-family: Calibri, sans-serif;"><span lang=3D"EN-US">[4/4] Installing =
samba416-4.16.6...<o:p></o:p></span></div><div style=3D"margin: 0cm; =
font-size: 11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-US">[4/4] Extracting samba416-4.16.6: =
100%<o:p></o:p></span></div><div style=3D"margin: 0cm; font-size: 11pt; =
font-family: Calibri, sans-serif;"><span =
lang=3D"EN-US"><o:p>&nbsp;</o:p></span></div><div style=3D"margin: 0cm; =
font-size: 11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-US">And then I have a fatal GNOME problem, and I have to =
install GNOME shell<o:p></o:p></span></div><div style=3D"margin: 0cm; =
font-size: 11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-US">Nov&nbsp; 6 12:29:20 SENIOR pkg[1897]: samba416-4.16.6 =
deinstalled<o:p></o:p></span></div><div style=3D"margin: 0cm; font-size: =
11pt; font-family: Calibri, sans-serif;"><span lang=3D"EN-US">Nov&nbsp; =
6 12:29:21 SENIOR pkg[1897]: samba413-4.13.17_4 =
installed<o:p></o:p></span></div><div style=3D"margin: 0cm; font-size: =
11pt; font-family: Calibri, sans-serif;"><span lang=3D"EN-US">Nov&nbsp; =
6 12:29:21 SENIOR pkg[1897]: gnome-control-center-43.0 =
installed<o:p></o:p></span></div><div style=3D"margin: 0cm; font-size: =
11pt; font-family: Calibri, sans-serif;"><span lang=3D"EN-US">Nov&nbsp; =
6 12:29:21 SENIOR pkg[1897]: gnome-shell-42.4_1 =
installed<o:p></o:p></span></div><div style=3D"margin: 0cm; font-size: =
11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-US"><o:p>&nbsp;</o:p></span></div><div style=3D"margin: 0cm; =
font-size: 11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-US">SAMBA and GNOME are both working =E2=80=A6.. apart from =
each other.<span =
class=3D"Apple-converted-space">&nbsp;</span><o:p></o:p></span></div><div =
style=3D"margin: 0cm; font-size: 11pt; font-family: Calibri, =
sans-serif;"><span lang=3D"EN-US">Where SAMBA is not yet 100% ok e.g. it =
indicates that the config is not ok where testparm says it is ok<span =
class=3D"Apple-converted-space">&nbsp;</span></span></div></div></div></bl=
ockquote><br></div><div><br></div><div>I am not using GNOME, but I am =
using Samba 4.16 and it coexists with other ports for me. &nbsp;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. &nbsp;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). &nbsp;Conversely, if you install GNOME it =
will uninstall Samba 4.16 to make way for its Samba 4.13 =
dependency.</div><div><br></div><div>The way to fix this is to have your =
ports build against a common default version of Samba. &nbsp;In my case, =
I build ports locally using Poudriere and added "samba=3D4.16" to the =
"DEFAULT_VERSIONS" definition in make.conf for that Poudriere ports =
jail. &nbsp;So, any ports that build against Samba will use Samba 4.16 =
as a dependency, not 4.13.</div><div><br></div><div>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.</div><div><br></div><div>Cheers,</div><div><br></div><div>Paul.</div=
></body></html>=

--Apple-Mail=_6BBF53DD-8D7D-4370-A2D3-8FE3605FB868--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6012509C-F755-4406-BB72-6F1DE32BFF25>