On Sun, 11 Feb 2018, Liam O'Toole wrote:> On 2018-02-06, me at tdiehl.org > <me at tdiehl.org> 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 at tdiehl.org
> > 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.As far as I can see there is no Samba4 libsmbclient in CentOS 6 - hence when kdebase wants libsmbclient it pulls in the Samba3 version, which has a dependency of samba-winbind-clients, which in turn has dependcies on samba-winbind and samba-common, all which conflicts with the installed Samba4 packages. This on a CentOS6 system: # repoquery --whatprovides libsmbclient libsmbclient-0:3.6.23-46el6_9.x86_64 libsmbclient-0:3.6.23-46el6_9.i686 libsmbclient-0:3.6.23-43.el6_9.x86_64 libsmbclient-0:3.6.23-45.el6_9.x86_64 libsmbclient-0:3.6.23-44.el6_9.i686 libsmbclient-0:3.6.23-44.el6_9.x86_64 libsmbclient-0:3.6.23-42.el6_9.i686 libsmbclient-0:3.6.23-46el6_9.x86_64 libsmbclient-0:3.6.23-41.el6.x86_64 libsmbclient-0:3.6.23-45.el6_9.i686 libsmbclient-0:3.6.23-41.el6.i686 libsmbclient-0:3.6.23-42.el6_9.x86_64 libsmbclient-0:3.6.23-46el6_9.i686 libsmbclient-0:3.6.23-43.el6_9.i686 and on a CentOS7 system: # repoquery --whatprovides libsmbclient libsmbclient-0:4.6.2-12.el7_4.x86_64 libsmbclient-0:4.6.2-11.el7_4.x86_64 libsmbclient-0:4.6.2-10.el7_4.i686 libsmbclient-0:4.6.2-11.el7_4.i686 libsmbclient-0:4.6.2-10.el7_4.x86_64 libsmbclient-0:4.6.2-12.el7_4.i686 libsmbclient-0:4.6.2-8.el7.i686 libsmbclient-0:4.6.2-8.el7.x86_64 It doesn't look like a packaging bug, it looks like yum doing the correct thing. P.
On 2018-02-11, me at tdiehl.org <me at tdiehl.org> wrote:> On Sun, 11 Feb 2018, Liam O'Toole wrote: > >> On 2018-02-06, me at tdiehl.org >> <me at tdiehl.org> 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
On Sun, 11 Feb 2018, Liam O'Toole wrote:> On 2018-02-11, me at tdiehl.org > <me at tdiehl.org> wrote: >> On Sun, 11 Feb 2018, Liam O'Toole wrote: >> >>> On 2018-02-06, me at tdiehl.org >>> <me at tdiehl.org> 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)Wrong package. it is in samba4-libs-4.2.10-12.el6_9.x86_64. (bugs pts3) # repoquery -l samba4-libs-4.2.10-12.el6_9.x86_64 | grep wbclient /usr/lib64/samba/libwbclient.so.0 /usr/lib64/samba/libwbclient.so.0.12 (bugs pts3) # It looks to me like they changed the package names between samba 3 and samba4. Regards, -- Tom me at tdiehl.org