Today, I **finally** attempted to do the upgrade.

Initially, I had the following message when running 'apt-get upgrade' --

The following packages have been kept back:
  libldb-dev libldb1 libmapi0 libmapiproxy0 libmapistore0 libnss-winbind
  libpam-winbind libsmbclient libwbclient0 openchangeproxy openchangeserver
  python-ldb python-ocsmanager python-samba samba samba-common
samba-common-bin samba-dev samba-dsdb-modules samba-libs samba-vfs-modules
  smbclient sogo sogo-activesync sogo-openchange winbind
0 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.


Since my Samba | SOGo | OpenChange server is on VMware, I created a "snapshot" for recovery in case the upgrade failed, and I "tested" the upgrade process with 'apt-get install --s' prior to actually trying it.

No errors were indicated during the "simulated" upgrade. Not so with the actual attempt.

What follows is the text of the 'apt-get upgrade' operation (with redactions indicated)


The following NEW packages will be installed:
  libgnutls28 libhogweed2 libnettle4 python-mapistore python-rpclib
  python-sievelib python-spyne python-support python-tz
The following packages will be upgraded:
  libldb-dev libldb1 libmapi0 libmapiproxy0 libmapistore0 libnss-winbind
  libpam-winbind libsmbclient libwbclient0 openchangeproxy openchangeserver
  python-ldb python-ocsmanager python-samba samba samba-common
  samba-common-bin samba-dev samba-dsdb-modules samba-libs samba-vfs-modules
  smbclient sogo sogo-activesync sogo-openchange winbind
26 upgraded, 9 newly installed, 0 to remove and 3 not upgraded.
Need to get 17.5 MB of archives.


[ redacted 'Get' operations ]


[ redacted 'Unpacking' operations ]

Preparing to unpack .../samba_2%3a4.1.18+dfsg-3~inverse1_amd64.deb ...
samba-ad-dc stop/waiting
nmbd stop/waiting
Unpacking samba (2:4.1.18+dfsg-3~inverse1) over (2:4.1.6+dfsg-1ubuntu2.14.04.7) 
...


[ redacted 'Unpacking' operations ]


[ what follows are the errors encountered ]

dpkg: warning: unable to delete old directory '/etc/apache2/conf.d': Directory 
not empty
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Setting up libnettle4:amd64 (2.7.1-1) ...
Setting up libhogweed2:amd64 (2.7.1-1) ...
Setting up libgnutls28:amd64 (3.2.11-2ubuntu1.1) ...
Setting up libldb1:amd64 (2:1.1.17-2) ...
Setting up libwbclient0:amd64 (2:4.1.18+dfsg-3~inverse1) ...
Setting up samba-libs:amd64 (2:4.1.18+dfsg-3~inverse1) ...
Setting up samba-dsdb-modules (2:4.1.18+dfsg-3~inverse1) ...
Setting up python-ldb (2:1.1.17-2) ...
Setting up python-samba (2:4.1.18+dfsg-3~inverse1) ...
Setting up samba-common (2:4.1.18+dfsg-3~inverse1) ...
Setting up samba-common-bin (2:4.1.18+dfsg-3~inverse1) ...
Setting up samba (2:4.1.18+dfsg-3~inverse1) ...
Installing new version of config file /etc/logrotate.d/samba ...
Installing new version of config file /etc/init/smbd.conf ...
Installing new version of config file /etc/init.d/samba ...
update-rc.d: /etc/init.d/samba exists during rc.d purge (use -f to force)
dpkg: error processing package samba (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of winbind:
 winbind depends on samba (= 2:4.1.18+dfsg-3~inverse1); however:
  Package samba is not configured yet.

dpkg: error processing package winbind (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libnss-winbind:amd64:
 libnss-winbind:amd64 depends on winbind (= 2:4.1.18+dfsg-3~inverse1); however:
  Package winbind is not configured yet.

dpkg: error processing package libnss-winbind:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpam-winbind:amd64:
 libpam-winbind:amd64 depends on winbind (= 2:4.1.18+dfsg-3~inverse1); however:
  Package winbind is not configured yet.

dpkg: error processing package libpam-winbind:amd64 (--configure):
 dependency problems - leaving unconfigured
Setting up libsmbclient:amd64 (2:4.1.18+dfsg-3~inverse1) ...
No apport report written because the error message indicates its a followup 
error from a previous failure.
                                          No apport report written because the 
error message indicates its a followup error from a previous failure.
                                          No apport report written because 
MaxReports is reached already
                                  Setting up smbclient 
(2:4.1.18+dfsg-3~inverse1) ...
Setting up samba-vfs-modules (2:4.1.18+dfsg-3~inverse1) ...
Setting up libldb-dev (2:1.1.17-2) ...
Setting up samba-dev (2:4.1.18+dfsg-3~inverse1) ...
Setting up libmapi0:amd64 (3:2.3-zentyal11) ...
Setting up libmapiproxy0:amd64 (3:2.3-zentyal11) ...
Setting up libmapistore0:amd64 (3:2.3-zentyal11) ...
dpkg: dependency problems prevent configuration of openchangeproxy:
 openchangeproxy depends on samba (>= 4.1.3); however:
  Package samba is not configured yet.

dpkg: error processing package openchangeproxy (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openchangeserver:
 openchangeserver depends on openchangeproxy; however:
  Package openchangeproxy is not configured yet.
 openchangeserver depends on samba (>= 2:4.1.3); however:
  Package samba is not configured yet.

dpkg: error processing package openchangeserver (--configure):
 dependency problems - leaving unconfigured
Setting up python-mapistore (3:2.3-zentyal11) ...
No apport report written because MaxReports is reached already
                                          No apport report written because 
MaxReports is reached already
    Setting up python-support (1.0.15) ...
Setting up python-tz (2012c-1build1) ...
Setting up python-spyne (2.9.3-1~inverse) ...
Setting up python-rpclib (2.8.0-rc-1~inverse) ...
Setting up python-sievelib (0.8-1) ...
No apport report written because MaxReports is reached already
                                          dpkg: dependency problems prevent 
configuration of python-ocsmanager:
 python-ocsmanager depends on samba (>= 4.1.3); however:
  Package samba is not configured yet.

dpkg: error processing package python-ocsmanager (--configure):
 dependency problems - leaving unconfigured
Setting up sogo:amd64 (2.3.0-1) ...
apache2_invoke: Enable configuration SOGo
 * Reloading web server apache2                                                 
                                         *
 * Restarting SOGo sogo                                                         
                                 [ OK ]
Setting up sogo-activesync (2.3.0-1) ...
Setting up sogo-openchange:amd64 (2.3.0-1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for python-support (1.0.15) ...
Errors were encountered while processing:
 samba
 winbind
 libnss-winbind:amd64
 libpam-winbind:amd64
 openchangeproxy
 openchangeserver
 python-ocsmanager
E: Sub-process /usr/bin/dpkg returned an error code (1)


'etc/apache2/conf.d/' contains 'SOGo.conf' (I don't perceive that as a problem)

Problems seem to start here . . .

dpkg: error processing package samba (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of winbind:
 winbind depends on samba (= 2:4.1.18+dfsg-3~inverse1); however:
  Package samba is not configured yet.


I am unsure what the subprocess post-installation script is attempting to do. However, on the basis of that failure, the 'samba' and 'winbind' packages, and everything that depends on them, fails.

Does this have to do with the 'sql-update' script? Does it require a "cleanup" first?

Is a package missing? Here are the packages currently installed for 'samba' etc.

adam@sogo:~$ sudo dpkg --get-selections | egrep 'samba|smb|nmb|winbind'
[sudo] password for adam:
libnss-winbind:amd64                install
libpam-winbind:amd64              install
libsmbclient:amd64                   install
python-samba                           install
samba                                       install
samba-common                        install
samba-common-bin                  install
samba-dev                                install
samba-dsdb-modules               install
samba-libs:amd64                    install
samba-vfs-modules                  install
smbclient                                  install
winbind                                     install

adam@sogo:~$ sudo dpkg-query -l | egrep 'samba|smb|nmb|winbind'
ii  libnss-winbind:amd64 2:4.1.6+dfsg-1ubuntu2.14.04.7
ii  libpam-winbind:amd64              2:4.1.6+dfsg-1ubuntu2.14.04.7
ii  libsmbclient:amd64 2:4.1.6+dfsg-1ubuntu2.14.04.7
ii  libwbclient0:amd64 2:4.1.6+dfsg-1ubuntu2.14.04.7
ii  python-samba 2:4.1.6+dfsg-1ubuntu2.14.04.7
ii  samba 2:4.1.6+dfsg-1ubuntu2.14.04.7
ii  samba-common 2:4.1.6+dfsg-1ubuntu2.14.04.7
ii  samba-common-bin                  2:4.1.6+dfsg-1ubuntu2.14.04.7
ii  samba-dev 2:4.1.6+dfsg-1ubuntu2.14.04.7
ii  samba-dsdb-modules               2:4.1.6+dfsg-1ubuntu2.14.04.7
ii  samba-libs:amd64 2:4.1.6+dfsg-1ubuntu2.14.04.7
ii  samba-vfs-modules                  2:4.1.6+dfsg-1ubuntu2.14.04.7
ii  smbclient 2:4.1.6+dfsg-1ubuntu2.14.04.7
ii  winbind 2:4.1.6+dfsg-1ubuntu2.14.04.7


What other information is needed to help me pinpoint the problem?


--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to