can't install cifs-utils because of libwbclient0 version mismatch

Asked by Albert

Hello,

We're using Ubuntu 12.04.02 LTS on a Dell Poweredge R410 headless server.
Kernel version: 3.2.0-56-generic #86-Ubuntu SMP Wed Oct 23 09:20:45 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

We're using Samba3 at the moment and wanted to update its version from 3.6.3-2 (the latest 3.6 version available from Ubuntu repositories) to 3.6.24 (the latest 3.6 branch version). I've downloaded the binaries from SerNet (http://www.enterprisesamba.com/samba-packages/ubuntu/ubuntu-1204-lts-precise/) and installed them:

# dpkg -l | grep sernet
ii sernet-libwbclient0 2:3.6.24-31 client library for interfacing with winbind service
ii sernet-samba 2:3.6.24-31 a LanManager-like file and printer server for Unix
ii sernet-samba-common 2:3.6.24-31 Samba common files used by both the server and the client
ii sernet-smbclient 2:3.6.24-31 a LanManager-like simple client for Unix

The conflicting Ubuntu packages were removed while these were installed. Now Samba runs fine:

# cat /var/log/dpkg.log | grep 2014-08-25
2014-08-25 13:18:56 startup packages remove
2014-08-25 13:18:56 status installed smbfs 2:5.1-1ubuntu2
2014-08-25 13:19:01 remove smbfs 2:5.1-1ubuntu2 <none>
2014-08-25 13:19:01 status half-configured smbfs 2:5.1-1ubuntu2
2014-08-25 13:19:01 status half-installed smbfs 2:5.1-1ubuntu2
2014-08-25 13:19:02 status triggers-pending man-db 2.6.1-2ubuntu1
2014-08-25 13:19:02 status half-installed smbfs 2:5.1-1ubuntu2
2014-08-25 13:19:02 status config-files smbfs 2:5.1-1ubuntu2
2014-08-25 13:19:02 status config-files smbfs 2:5.1-1ubuntu2
2014-08-25 13:19:02 status config-files smbfs 2:5.1-1ubuntu2
2014-08-25 13:19:02 status not-installed smbfs <none>
2014-08-25 13:19:02 status installed cifs-utils 2:5.1-1ubuntu2
2014-08-25 13:19:02 remove cifs-utils 2:5.1-1ubuntu2 <none>
2014-08-25 13:19:02 status half-configured cifs-utils 2:5.1-1ubuntu2
2014-08-25 13:19:02 status half-installed cifs-utils 2:5.1-1ubuntu2
2014-08-25 13:19:02 status half-installed cifs-utils 2:5.1-1ubuntu2
2014-08-25 13:19:02 status config-files cifs-utils 2:5.1-1ubuntu2
2014-08-25 13:19:02 status config-files cifs-utils 2:5.1-1ubuntu2
2014-08-25 13:19:02 status config-files cifs-utils 2:5.1-1ubuntu2
2014-08-25 13:19:02 status not-installed cifs-utils <none>
2014-08-25 13:19:02 status installed libpam-smbpass 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:02 remove libpam-smbpass 2:3.6.3-2ubuntu2.11 <none>
2014-08-25 13:19:02 status half-configured libpam-smbpass 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:02 status half-installed libpam-smbpass 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:02 status config-files libpam-smbpass 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:02 status config-files libpam-smbpass 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:02 status installed samba 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:03 remove samba 2:3.6.3-2ubuntu2.11 <none>
2014-08-25 13:19:03 status half-configured samba 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:03 status half-installed samba 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:03 status triggers-pending ureadahead 0.100.0-12
2014-08-25 13:19:03 status half-installed samba 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:03 status triggers-pending ureadahead 0.100.0-12
2014-08-25 13:19:03 status triggers-pending ufw 0.31.1-1
2014-08-25 13:19:03 status half-installed samba 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:03 status half-installed samba 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:03 status config-files samba 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:03 status config-files samba 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:03 status installed smbclient 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:03 remove smbclient 2:3.6.3-2ubuntu2.11 <none>
2014-08-25 13:19:03 status half-configured smbclient 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:03 status half-installed smbclient 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:03 status half-installed smbclient 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:03 status config-files smbclient 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:03 status config-files smbclient 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:03 status config-files smbclient 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:03 status not-installed smbclient <none>
2014-08-25 13:19:03 status installed samba-common-bin 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:03 remove samba-common-bin 2:3.6.3-2ubuntu2.11 <none>
2014-08-25 13:19:03 status half-configured samba-common-bin 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:04 status half-installed samba-common-bin 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:04 status half-installed samba-common-bin 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:04 status config-files samba-common-bin 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:04 status config-files samba-common-bin 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:04 status config-files samba-common-bin 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:04 status not-installed samba-common-bin <none>
2014-08-25 13:19:04 status installed samba-common 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:04 remove samba-common 2:3.6.3-2ubuntu2.11 <none>
2014-08-25 13:19:04 status half-configured samba-common 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:04 status half-installed samba-common 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:04 status config-files samba-common 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:04 status config-files samba-common 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:04 status installed samba-doc 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:04 remove samba-doc 2:3.6.3-2ubuntu2.11 <none>
2014-08-25 13:19:04 status half-configured samba-doc 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:04 status half-installed samba-doc 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:04 status config-files samba-doc 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:04 status config-files samba-doc 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:04 status config-files samba-doc 2:3.6.3-2ubuntu2.11
2014-08-25 13:19:04 status not-installed samba-doc <none>
2014-08-25 13:19:04 trigproc man-db 2.6.1-2ubuntu1 <none>
2014-08-25 13:19:04 status half-configured man-db 2.6.1-2ubuntu1
2014-08-25 13:19:06 status installed man-db 2.6.1-2ubuntu1
2014-08-25 13:19:06 trigproc ureadahead 0.100.0-12 <none>
2014-08-25 13:19:06 status half-configured ureadahead 0.100.0-12
2014-08-25 13:19:06 status installed ureadahead 0.100.0-12
2014-08-25 13:19:06 trigproc ufw 0.31.1-1 <none>
2014-08-25 13:19:06 status half-configured ufw 0.31.1-1
2014-08-25 13:19:06 status installed ufw 0.31.1-1
2014-08-25 13:19:53 startup archives install
2014-08-25 13:19:54 install sernet-smbclient <none> 2:3.6.24-31
2014-08-25 13:19:54 status half-installed sernet-smbclient 2:3.6.24-31
2014-08-25 13:19:54 status triggers-pending man-db 2.6.1-2ubuntu1
2014-08-25 13:19:54 status half-installed sernet-smbclient 2:3.6.24-31
2014-08-25 13:19:54 status unpacked sernet-smbclient 2:3.6.24-31
2014-08-25 13:19:54 status unpacked sernet-smbclient 2:3.6.24-31
2014-08-25 13:19:54 trigproc man-db 2.6.1-2ubuntu1 2.6.1-2ubuntu1
2014-08-25 13:19:54 status half-configured man-db 2.6.1-2ubuntu1
2014-08-25 13:19:55 status installed man-db 2.6.1-2ubuntu1
2014-08-25 13:20:06 startup archives install
2014-08-25 13:20:06 install sernet-samba-common <none> 2:3.6.24-31
2014-08-25 13:20:06 status half-installed sernet-samba-common 2:3.6.24-31
2014-08-25 13:20:07 status triggers-pending man-db 2.6.1-2ubuntu1
2014-08-25 13:20:07 status half-installed sernet-samba-common 2:3.6.24-31
2014-08-25 13:20:07 status unpacked sernet-samba-common 2:3.6.24-31
2014-08-25 13:20:07 status unpacked sernet-samba-common 2:3.6.24-31
2014-08-25 13:20:07 trigproc man-db 2.6.1-2ubuntu1 2.6.1-2ubuntu1
2014-08-25 13:20:07 status half-configured man-db 2.6.1-2ubuntu1
2014-08-25 13:20:08 status installed man-db 2.6.1-2ubuntu1
2014-08-25 13:20:38 startup archives install
2014-08-25 13:20:38 install sernet-libwbclient0 <none> 2:3.6.24-31
2014-08-25 13:20:38 status half-configured libwbclient0 2:3.6.3-2ubuntu2.11
2014-08-25 13:20:38 status half-installed libwbclient0 2:3.6.3-2ubuntu2.11
2014-08-25 13:20:38 status half-installed sernet-libwbclient0 2:3.6.24-31
2014-08-25 13:20:38 status unpacked sernet-libwbclient0 2:3.6.24-31
2014-08-25 13:20:38 status unpacked sernet-libwbclient0 2:3.6.24-31
2014-08-25 13:20:38 status half-installed libwbclient0 2:3.6.3-2ubuntu2.11
2014-08-25 13:20:39 status triggers-pending libc-bin 2.15-0ubuntu10.6
2014-08-25 13:20:39 status config-files libwbclient0 2:3.6.3-2ubuntu2.11
2014-08-25 13:20:39 status config-files libwbclient0 2:3.6.3-2ubuntu2.11
2014-08-25 13:20:39 configure sernet-libwbclient0 2:3.6.24-31 2:3.6.24-31
2014-08-25 13:20:39 status unpacked sernet-libwbclient0 2:3.6.24-31
2014-08-25 13:20:39 status half-configured sernet-libwbclient0 2:3.6.24-31
2014-08-25 13:20:39 status installed sernet-libwbclient0 2:3.6.24-31
2014-08-25 13:20:39 trigproc libc-bin 2.15-0ubuntu10.6 2.15-0ubuntu10.6
2014-08-25 13:20:39 status half-configured libc-bin 2.15-0ubuntu10.6
2014-08-25 13:20:39 status installed libc-bin 2.15-0ubuntu10.6
2014-08-25 13:20:54 startup archives unpack
2014-08-25 13:20:55 install libreadline5 5.2-11 5.2-11
2014-08-25 13:20:55 status half-installed libreadline5 5.2-11
2014-08-25 13:20:55 status unpacked libreadline5 5.2-11
2014-08-25 13:20:55 status unpacked libreadline5 5.2-11
2014-08-25 13:20:55 startup packages configure
2014-08-25 13:20:55 configure libreadline5 5.2-11 <none>
2014-08-25 13:20:55 status unpacked libreadline5 5.2-11
2014-08-25 13:20:55 status half-configured libreadline5 5.2-11
2014-08-25 13:20:55 status installed libreadline5 5.2-11
2014-08-25 13:20:55 status triggers-pending libc-bin 2.15-0ubuntu10.6
2014-08-25 13:20:55 configure sernet-samba-common 2:3.6.24-31 <none>
2014-08-25 13:20:55 status unpacked sernet-samba-common 2:3.6.24-31
2014-08-25 13:20:55 status unpacked sernet-samba-common 2:3.6.24-31
2014-08-25 13:20:55 status unpacked sernet-samba-common 2:3.6.24-31
2014-08-25 13:20:55 status unpacked sernet-samba-common 2:3.6.24-31
2014-08-25 13:20:55 status unpacked sernet-samba-common 2:3.6.24-31
2014-08-25 13:20:55 status half-configured sernet-samba-common 2:3.6.24-31
2014-08-25 13:20:58 status installed sernet-samba-common 2:3.6.24-31
2014-08-25 13:20:58 configure sernet-smbclient 2:3.6.24-31 <none>
2014-08-25 13:20:58 status unpacked sernet-smbclient 2:3.6.24-31
2014-08-25 13:20:58 status half-configured sernet-smbclient 2:3.6.24-31
2014-08-25 13:20:58 status installed sernet-smbclient 2:3.6.24-31
2014-08-25 13:20:58 trigproc libc-bin 2.15-0ubuntu10.6 <none>
2014-08-25 13:20:58 status half-configured libc-bin 2.15-0ubuntu10.6
2014-08-25 13:20:58 status installed libc-bin 2.15-0ubuntu10.6
2014-08-25 13:21:02 startup archives install
2014-08-25 13:21:02 upgrade sernet-samba-common 2:3.6.24-31 2:3.6.24-31
2014-08-25 13:21:02 status half-configured sernet-samba-common 2:3.6.24-31
2014-08-25 13:21:02 status unpacked sernet-samba-common 2:3.6.24-31
2014-08-25 13:21:02 status half-installed sernet-samba-common 2:3.6.24-31
2014-08-25 13:21:02 status triggers-pending man-db 2.6.1-2ubuntu1
2014-08-25 13:21:02 status half-installed sernet-samba-common 2:3.6.24-31
2014-08-25 13:21:03 status half-installed sernet-samba-common 2:3.6.24-31
2014-08-25 13:21:03 status unpacked sernet-samba-common 2:3.6.24-31
2014-08-25 13:21:03 status unpacked sernet-samba-common 2:3.6.24-31
2014-08-25 13:21:03 configure sernet-samba-common 2:3.6.24-31 2:3.6.24-31
2014-08-25 13:21:03 status unpacked sernet-samba-common 2:3.6.24-31
2014-08-25 13:21:03 status unpacked sernet-samba-common 2:3.6.24-31
2014-08-25 13:21:03 status unpacked sernet-samba-common 2:3.6.24-31
2014-08-25 13:21:03 status unpacked sernet-samba-common 2:3.6.24-31
2014-08-25 13:21:03 status unpacked sernet-samba-common 2:3.6.24-31
2014-08-25 13:21:03 status half-configured sernet-samba-common 2:3.6.24-31
2014-08-25 13:21:03 status triggers-awaited sernet-samba-common 2:3.6.24-31
2014-08-25 13:21:03 trigproc man-db 2.6.1-2ubuntu1 2.6.1-2ubuntu1
2014-08-25 13:21:03 status half-configured man-db 2.6.1-2ubuntu1
2014-08-25 13:21:03 status installed sernet-samba-common 2:3.6.24-31
2014-08-25 13:21:04 status installed man-db 2.6.1-2ubuntu1
2014-08-25 13:21:08 startup archives install
2014-08-25 13:21:08 upgrade sernet-smbclient 2:3.6.24-31 2:3.6.24-31
2014-08-25 13:21:08 status half-configured sernet-smbclient 2:3.6.24-31
2014-08-25 13:21:08 status unpacked sernet-smbclient 2:3.6.24-31
2014-08-25 13:21:08 status half-installed sernet-smbclient 2:3.6.24-31
2014-08-25 13:21:08 status triggers-pending man-db 2.6.1-2ubuntu1
2014-08-25 13:21:08 status half-installed sernet-smbclient 2:3.6.24-31
2014-08-25 13:21:08 status half-installed sernet-smbclient 2:3.6.24-31
2014-08-25 13:21:08 status unpacked sernet-smbclient 2:3.6.24-31
2014-08-25 13:21:08 status unpacked sernet-smbclient 2:3.6.24-31
2014-08-25 13:21:09 configure sernet-smbclient 2:3.6.24-31 2:3.6.24-31
2014-08-25 13:21:09 status unpacked sernet-smbclient 2:3.6.24-31
2014-08-25 13:21:09 status half-configured sernet-smbclient 2:3.6.24-31
2014-08-25 13:21:09 status triggers-awaited sernet-smbclient 2:3.6.24-31
2014-08-25 13:21:09 trigproc man-db 2.6.1-2ubuntu1 2.6.1-2ubuntu1
2014-08-25 13:21:09 status half-configured man-db 2.6.1-2ubuntu1
2014-08-25 13:21:09 status installed sernet-smbclient 2:3.6.24-31
2014-08-25 13:21:09 status installed man-db 2.6.1-2ubuntu1
2014-08-25 13:21:22 startup archives install
2014-08-25 13:21:23 install sernet-samba <none> 2:3.6.24-31
2014-08-25 13:21:23 status half-installed sernet-samba 2:3.6.24-31
2014-08-25 13:21:23 status triggers-pending ureadahead 0.100.0-12
2014-08-25 13:21:23 status half-installed sernet-samba 2:3.6.24-31
2014-08-25 13:21:23 status triggers-pending man-db 2.6.1-2ubuntu1
2014-08-25 13:21:23 status half-installed sernet-samba 2:3.6.24-31
2014-08-25 13:21:23 status unpacked sernet-samba 2:3.6.24-31
2014-08-25 13:21:23 status unpacked sernet-samba 2:3.6.24-31
2014-08-25 13:21:23 trigproc ureadahead 0.100.0-12 0.100.0-12
2014-08-25 13:21:23 status half-configured ureadahead 0.100.0-12
2014-08-25 13:21:23 status installed ureadahead 0.100.0-12
2014-08-25 13:21:23 trigproc man-db 2.6.1-2ubuntu1 2.6.1-2ubuntu1
2014-08-25 13:21:23 status half-configured man-db 2.6.1-2ubuntu1
2014-08-25 13:21:24 status installed man-db 2.6.1-2ubuntu1
2014-08-25 13:21:40 startup archives unpack
2014-08-25 13:21:41 install libdm0 <none> 2.2.10-1
2014-08-25 13:21:41 status half-installed libdm0 2.2.10-1
2014-08-25 13:21:41 status unpacked libdm0 2.2.10-1
2014-08-25 13:21:41 status unpacked libdm0 2.2.10-1
2014-08-25 13:21:41 install libfam0 <none> 2.7.0-17
2014-08-25 13:21:41 status half-installed libfam0 2.7.0-17
2014-08-25 13:21:41 status unpacked libfam0 2.7.0-17
2014-08-25 13:21:41 status unpacked libfam0 2.7.0-17
2014-08-25 13:21:41 startup packages configure
2014-08-25 13:21:41 configure libdm0 2.2.10-1 <none>
2014-08-25 13:21:41 status unpacked libdm0 2.2.10-1
2014-08-25 13:21:41 status half-configured libdm0 2.2.10-1
2014-08-25 13:21:41 status installed libdm0 2.2.10-1
2014-08-25 13:21:41 status triggers-pending libc-bin 2.15-0ubuntu10.6
2014-08-25 13:21:41 configure libfam0 2.7.0-17 <none>
2014-08-25 13:21:41 status unpacked libfam0 2.7.0-17
2014-08-25 13:21:41 status half-configured libfam0 2.7.0-17
2014-08-25 13:21:41 status installed libfam0 2.7.0-17
2014-08-25 13:21:41 configure sernet-samba 2:3.6.24-31 <none>
2014-08-25 13:21:41 status unpacked sernet-samba 2:3.6.24-31
2014-08-25 13:21:41 status unpacked sernet-samba 2:3.6.24-31
2014-08-25 13:21:41 status unpacked sernet-samba 2:3.6.24-31
2014-08-25 13:21:41 status unpacked sernet-samba 2:3.6.24-31
2014-08-25 13:21:41 status half-configured sernet-samba 2:3.6.24-31
2014-08-25 13:21:42 status installed sernet-samba 2:3.6.24-31
2014-08-25 13:21:42 trigproc libc-bin 2.15-0ubuntu10.6 <none>
2014-08-25 13:21:42 status half-configured libc-bin 2.15-0ubuntu10.6
2014-08-25 13:21:42 status installed libc-bin 2.15-0ubuntu10.6
2014-08-25 13:21:44 startup archives install
2014-08-25 13:21:44 upgrade sernet-samba 2:3.6.24-31 2:3.6.24-31
2014-08-25 13:21:44 status half-configured sernet-samba 2:3.6.24-31
2014-08-25 13:21:46 status unpacked sernet-samba 2:3.6.24-31
2014-08-25 13:21:46 status half-installed sernet-samba 2:3.6.24-31
2014-08-25 13:21:46 status triggers-pending ureadahead 0.100.0-12
2014-08-25 13:21:46 status half-installed sernet-samba 2:3.6.24-31
2014-08-25 13:21:46 status triggers-pending man-db 2.6.1-2ubuntu1
2014-08-25 13:21:46 status half-installed sernet-samba 2:3.6.24-31
2014-08-25 13:21:47 status half-installed sernet-samba 2:3.6.24-31
2014-08-25 13:21:47 status unpacked sernet-samba 2:3.6.24-31
2014-08-25 13:21:47 status unpacked sernet-samba 2:3.6.24-31
2014-08-25 13:21:47 configure sernet-samba 2:3.6.24-31 2:3.6.24-31
2014-08-25 13:21:47 status unpacked sernet-samba 2:3.6.24-31
2014-08-25 13:21:47 status unpacked sernet-samba 2:3.6.24-31
2014-08-25 13:21:47 status unpacked sernet-samba 2:3.6.24-31
2014-08-25 13:21:47 status unpacked sernet-samba 2:3.6.24-31
2014-08-25 13:21:47 status half-configured sernet-samba 2:3.6.24-31
2014-08-25 13:21:47 status triggers-awaited sernet-samba 2:3.6.24-31
2014-08-25 13:21:47 trigproc ureadahead 0.100.0-12 0.100.0-12
2014-08-25 13:21:47 status half-configured ureadahead 0.100.0-12
2014-08-25 13:21:47 status installed ureadahead 0.100.0-12
2014-08-25 13:21:47 trigproc man-db 2.6.1-2ubuntu1 2.6.1-2ubuntu1
2014-08-25 13:21:47 status half-configured man-db 2.6.1-2ubuntu1
2014-08-25 13:21:47 status installed sernet-samba 2:3.6.24-31
2014-08-25 13:21:48 status installed man-db 2.6.1-2ubuntu1

# smbd -V
Version 3.6.24-SerNet-Debian

The problem:
Since the upgrade, the machine can't mount CIFS mounts. /sbin/mount.cifs is missing. It is provided by cifs-utils, which must have been removed because of a package version conflict. When I try to install it now:

# sudo apt-get install cifs-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 cifs-utils : Depends: libwbclient0 (>= 2:3.2.0)
E: Unable to correct problems, you have held broken packages.

What I tried to resolve the problem:

# sudo apt-mark showhold
libapache2-mod-php5
php5
php5-cli
php5-common
php5-gd
php5-imap
php5-ldap
php5-mysql

# sudo apt-mark unhold libapache2-mod-php5 php5 php5-cli php5-common php5-gd php5-imap php5-ldap php5-mysql
    ....

# sudo apt-get update
    ....

Installation of cifs-utils still fails with the same error message.

Also tried:

# sudo apt-get clean
# sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 174 not upgraded.

Still, the same error message.

Some more information:
Interestingly, dpkg -s still shows the old version number, 3.6.3-2, even if it was removed and 3.6.24 was installed.

# dpkg -s libwbclient0
Package: libwbclient0
Status: install ok config-files
Multi-Arch: same
Priority: optional
Section: libs
Installed-Size: 176
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Source: samba
Version: 2:3.6.3-2ubuntu2.11
Config-Version: 2:3.6.3-2ubuntu2.11
Depends: libc6 (>= 2.14)
Pre-Depends: multiarch-support
Breaks: libpam-smbpass (<< 2:3.4.1), libsmbclient (<< 2:3.4.1), samba (<< 2:3.4.1), samba-common (<< 2:3.4.1), samba-tools (<< 2:3.4.1), smbclient (<< 2:3.4.1), smbfs (<< 2:3.4.1), swat (<< 2:3.4.1), winbind (<< 2:3.4.1)
Description: Samba winbind client library
 Samba is an implementation of the SMB/CIFS protocol for Unix systems,
 providing support for cross-platform file and printer sharing with
 Microsoft Windows, OS X, and other Unix systems.
 .
 This package provides a library for client applications that interact
 via the winbind pipe protocol with a Samba winbind server.
Homepage: http://www.samba.org
Original-Maintainer: Debian Samba Maintainers <email address hidden>

# dpkg --info ~/smb3_latest/sernet-libwbclient0_3.6.24-31_amd64.deb
 new debian package, version 2.0.
 size 30232 bytes: control archive= 680 bytes.
     541 bytes, 16 lines control
     309 bytes, 4 lines md5sums
      34 bytes, 1 lines shlibs
 Package: sernet-libwbclient0
 Source: samba
 Version: 2:3.6.24-31
 Architecture: amd64
 Maintainer: Samba Support <email address hidden>
 Installed-Size: 96
 Depends: libc6 (>= 2.2.5)
 Conflicts: libwbclient0
 Replaces: libwbclient0
 Provides: libwbclient0
 Section: libs
 Priority: extra
 Description: client library for interfacing with winbind service
  libwbclient is an API for client interactions with the winbind service.
  This library abstracts the winbind pipe protocol into a stable API that
  allows the winbind server to be independently upgraded.

# sudo apt-cache policy libwbclient0
libwbclient0:
  Installed: (none)
  Candidate: 2:3.6.3-2ubuntu2.11
  Version table:
     2:3.6.3-2ubuntu2.11 0
        500 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages
        100 /var/lib/dpkg/status
     2:3.6.3-2ubuntu2 0
        500 http://gb.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

# sudo apt-cache policy cifs-utils
cifs-utils:
  Installed: (none)
  Candidate: 2:5.1-1ubuntu2
  Version table:
     2:5.1-1ubuntu2 0
        500 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
     2:5.1-1ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

Regardless of current libwbclient0 version, cifs-utils installation should be successful, as it requests libwbclient0 version 3.2.0 or above, which is met in either case.

Any ideas?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Albert
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

what is the output of

dpkg -l | grep libwbclient0

Revision history for this message
Albert (j-admiu-b) said :
#3

Manfred:

# dpkg -l | grep libwbclient0
ic libwbclient0 2:3.6.3-2ubuntu2.11 Samba winbind client library
ii sernet-libwbclient0 2:3.6.24-31 client library for interfacing with winbind service

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

It seems you have conflicting versions of libwbclient0 and sernet-libwbclient0 installed (dpkg --info sernet-libwbclient0: Conflicts: libwbclient0)

What is the output of

sudo dpkg --audit

Maybe purging libwbcclient0 with a command like

sudo dpkg --purge libwbclient0

helps. (Eventually you should re-install sernet-libwbclient0 afterwards to make sure everything is the way it should be).

Revision history for this message
Albert (j-admiu-b) said :
#5

sudo dpkg --audit outputs nothing.

sudo dpkg --purge libwbclient0 removed sernet-libwbclient0

sudo apt-get install libwbclient0 installed libwbclient0 and removed all sernet packages.

Anyway, I have asked the same question from the maintainer of the package, and they replied:
Regarding the problem I can tell that we are aware of that issue. But due to the fact that we are soon releasing Samba 4.2, the "lifetime" of the Samba 3.6 packages end automatically.
Fortunately, the problem is already fixed in the packages of Samba 4.1. It is important to say that Samba 4 supports all the functionalities of Samba 3. That is why I'd also recommend using packages of Samba 4.1!

For the moment, we can live without mount.cifs. For the future, we'll need to upgrade to Samba4 anyway.

Thank you for everyone who participated and tried to help.