Re: libsmbclient conflict problem

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



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:

(cg2 pts17) # yum install kdebase
Loaded plugins: changelog, dellsysid, fastestmirror, refresh-packagekit, security
Setting up Install Process
[...]
Resolving Dependencies
--> Running transaction check
---> Package kdebase.x86_64 6:4.3.4-10.el6 will be installed
--> Processing Dependency: kdebase-runtime for package: 6:kdebase-4.3.4-10.el6.x86_64
--> Processing Dependency: libkworkspace.so.4()(64bit) for package: 6:kdebase-4.3.4-10.el6.x86_64
--> Running transaction check
---> Package kdebase-runtime.x86_64 0:4.3.4-9.el6 will be installed
--> Processing Dependency: kdebase-runtime-libs(x86-64) = 4.3.4-9.el6 for package: kdebase-runtime-4.3.4-9.el6.x86_64
--> Processing Dependency: libmolletnetwork.so.4()(64bit) for package: kdebase-runtime-4.3.4-9.el6.x86_64
--> Processing Dependency: libkwalletbackend.so.4()(64bit) for package: kdebase-runtime-4.3.4-9.el6.x86_64
---> Package kdebase-workspace-libs.x86_64 0:4.3.4-37.el6 will be installed
--> Processing Dependency: kdebase-workspace = 4.3.4-37.el6 for package: kdebase-workspace-libs-4.3.4-37.el6.x86_64
--> Running transaction check
---> Package kdebase-runtime-libs.x86_64 0:4.3.4-9.el6 will be installed
--> Processing Dependency: libsmbclient.so.0()(64bit) for package: kdebase-runtime-libs-4.3.4-9.el6.x86_64
---> Package kdebase-workspace.x86_64 0:4.3.4-37.el6 will be installed
--> Running transaction check
---> Package libsmbclient.x86_64 0:3.6.23-46el6_9 will be installed
--> Running transaction check
---> Package samba-winbind-clients.x86_64 0:3.6.23-46el6_9 will be installed
--> Processing Dependency: samba-winbind = 3.6.23-46el6_9 for package: samba-winbind-clients-3.6.23-46el6_9.x86_64
--> Running transaction check
---> Package samba-winbind.x86_64 0:3.6.23-46el6_9 will be installed
--> Processing Dependency: samba-common = 3.6.23-46el6_9 for package: samba-winbind-3.6.23-46el6_9.x86_64
--> Running transaction check
---> Package samba-common.x86_64 0:3.6.23-46el6_9 will be 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,

--
Tom			me@xxxxxxxxxx
_______________________________________________
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