Re: libsmbclient conflict problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 2018-02-11, me@xxxxxxxxxx
<me@xxxxxxxxxx> wrote:
> On Sun, 11 Feb 2018, Liam O'Toole wrote:
>
>> On 2018-02-06, me@xxxxxxxxxx
>> <me@xxxxxxxxxx> wrote:
>>> Hi,
>>>
>>> I have a c-6 machine that I noticed the following on:
>>>
>>> (bugs pts10) # package-cleanup --problems Loaded plugins:
>>> fastestmirror, priorities, refresh-packagekit Package
>>> system-config-printer-libs-1.1.16-26.el6.x86_64 requires
>>> libsmbclient.so.0()(64bit) Package
>>> kdebase-runtime-libs-4.3.4-9.el6.x86_64 requires
>>> libsmbclient.so.0()(64bit)
>>>
>>> So then I ran:
>>>
>>> (bugs pts10) # yum install libsmbclient
>>
>> [...]
>>
>>> Error: samba4-winbind conflicts with samba-winbind-3.6.23-46el6_9.x86_64
>>> Error: samba4-winbind-clients conflicts with samba-winbind-clients-3.6.23-46el6_9.x86_64
>>> Error: samba4-common conflicts with samba-common-3.6.23-46el6_9.x86_64
>>
>> [...]
>>
>> The error messages above tell you what the problem is: there is a
>> conflict between the installed samba4 packages and the samba3 packages
>> you are trying to install. It looks like someone uninstalled various
>> samba3 packages using rpm (instead of yum), probably in order to install
>> samba4, but breaking dependencies of other packages in the process.
>
> That would be me. I uninstalled the samba 3 packages because I need the
> functionality of the samba4 packages and the samba 3 protocols are insecure.
>
>>> I have the following samba packages installed:
>>>
>>> (bugs pts10) # rpm -qa samba4\*
>>> samba4-winbind-clients-4.2.10-12.el6_9.x86_64
>>> samba4-4.2.10-12.el6_9.x86_64
>>> samba4-client-4.2.10-12.el6_9.x86_64
>>> samba4-common-4.2.10-12.el6_9.x86_64
>>> samba4-winbind-4.2.10-12.el6_9.x86_64
>>> samba4-libs-4.2.10-12.el6_9.x86_64
>>> (bugs pts10)
>>>
>>> Can someone tell me what what I need to do to resolve the above conflicts?
>>
>> Do you need to keep the samba4 packages?
>
> Yes.
>
>> They do not appear to be co-installable with samba3.
>
> Agreed!!
>
> In looking at this a little more it appears to me that there is a provides
> missing from the samba4 packages.
>
> I ran the following on another machine with the samba4 packages installed:

[...]

> --> Processing Conflict: samba4-common-4.2.10-12.el6_9.x86_64 conflicts samba-common < 3.9.9
> --> Processing Conflict: samba4-winbind-4.2.10-12.el6_9.x86_64 conflicts samba-winbind < 3.9.9
> --> Processing Conflict: samba4-winbind-clients-4.2.10-12.el6_9.x86_64 conflicts samba-winbind-clients < 3.9.9
> --> Finished Dependency Resolution
> Error: samba4-winbind conflicts with samba-winbind-3.6.23-46el6_9.x86_64
> Error: samba4-winbind-clients conflicts with samba-winbind-clients-3.6.23-46el6_9.x86_64
> Error: samba4-common conflicts with samba-common-3.6.23-46el6_9.x86_64
>   You could try using --skip-broken to work around the problem
>   You could try running: rpm -Va --nofiles --nodigest
> (cg2 pts17)
> --> Processing Dependency: libwbclient.so.0()(64bit) for package: libsmbclient-3.6.23-46el6_9.x86_64
>
> As you can see above, the the resolver totally ignores the fact that
> the samba4 packages are installed and tries to pull in the samba 3
> packages. This smells like a packaging bug to me but I could be wrong.
>
> Can anyone confirm or deny this?
>
> Regards,
>

I think it goes a bit deeper than a missing provides (in the packaging
sense). Only samba3 contains libwbclient.so.0:

$ yum resolvedep libwbclient.so.0
0:samba-winbind-clients-3.6.23-46el6_9.i686

That can be verified using repoquery (from the package yum-utils):

$ repoquery -l samba4-winbind-clients.x86_64 | grep wbclient
(no output)

-- 

Liam

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux