look : winbind depends on samba (= 2:4.1.18+dfsg-3~inverse1); however:>2:4.1.18+dfsg-3~inverse1so mixed setup of ubuntu with inverse packages of samba. You need to use the inverse packages of samba to keep openchange working. I suggest you set your package pinning. OR ! remove the inverse : winbind version and install the ubuntu version. Greetz, Louis>-----Oorspronkelijk bericht----- >Van: steve_a at cinergymetro.net >[mailto:samba-bounces at lists.samba.org] Namens Steve Ankeny >Verzonden: maandag 15 juni 2015 13:27 >Aan: samba at lists.samba.org >Onderwerp: Re: [Samba] Samba upgrade issue . . . > >On 06/15/2015 07:14 AM, Rowland Penny wrote: >> On 15/06/15 11:52, Steve Ankeny wrote: >>> I have a "Samba | SOGo | OpenChange" server running in VMware. >>> >>> I get 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. >>> >>> I've taken a "snapshot" of my virtual machine, and I've ran >'apt-get >>> install --s' to see if there are any potential errors (and >there are >>> none) However, when I actually attempt the install, I find the >>> following -- >>> >>> 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. >>> >>> In the text that follows, 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. >>> >>> >>> Doing a bit of research, I find a suggestion here -- >>> >>> >http://languor.us/samba-subprocess-post-installation-script-ret >urned-error-exit-status-1 >>> >>> >>> "create a blank smb.conf in /etc/samba, then purge and >reinstall samba" >>> >>> *Is this the fix for this specific error?* I am concerned about >>> purging my Samba DB >>> >>> Currently, I have the following installed -- >>> >>> adam at 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 >>> >>> My current 'smb.conf. reads -- >>> >>> # Global parameters >>> [global] >>> workgroup = MEADORANDCO >>> realm = meadorandco.com >>> netbios name = SOGO >>> server role = active directory domain controller >>> dns forwarder = 192.168.121.1 >>> idmap_ldb:use rfc2307 = yes >>> passdb backend = samba >>> allow dns updates = nonsecure >>> >>> ### Configuration required by OpenChange server ### >>> #dcerpc endpoint servers = epmapper, mapiproxy, dnsserver >>> #dcerpc endpoint servers = +epmapper, +mapiproxy >>> #dcerpc_mapiproxy:server = true >>> #dcerpc_mapiproxy:interfaces = exchange_emsmdb, >exchange_nsp, >>> exchange_ds_rfr >>> ### Configuration required by OpenChange server ### >>> >>> #mapistore:namedproperties = mysql >>> #namedproperties:mysql_user = openchange-user >>> #namedproperties:mysql_pass = $passwd >>> #namedproperties:mysql_host = localhost >>> #namedproperties:mysql_db = openchange >>> #mapistore:indexing_backend = >>> mysql://openchange-user:$passwd at localhost/openchange >>> #mapiproxy:openchangedb = >>> mysql://openchange-user:$passwd at localhost/openchange >>> >>> [netlogon] >>> path = /var/lib/samba/sysvol/meadorandco.com/scripts >>> read only = No >>> >>> [sysvol] >>> path = /var/lib/samba/sysvol >>> read only = No >>> >>> As you can see, I have commented out the 'dcerpc' calls, as I had >>> problems with those. >>> >>> I believe Rowland suggested using 'dcerpc endpoint servers = >>> +epmapper, +mapiproxy' but I will have to review his suggestion >>> before using OpenChange. It may be I have to do that before the >>> upgrade. >>> >>> Any help would be appreciated. *What is the specific fix for >>> subprocess post-installation**error?* >>> >>> thx >>> >> >> What OS are you upgrading on ? where did the old samba packages come >> from, your OS or inverse, where do think the new packages are coming >> from ? >> >> I do not use sogo any more, more because of problems like this than >> anything else, I personally don't think openchange will get anywhere >> until you can install it on top of *any* version of samba4, not a >> specific version as at present. Having said that, if I check what >> 'dcerpc endpoint servers' are running on my DC, I get this: >> >> dcerpc endpoint servers = epmapper, wkssvc, rpcecho, samr, netlogon, >> lsarpc, spoolss, drsuapi, dssetup, unixinfo, browser, eventlog6, >> backupkey, dnsserver >> >> So you only need to add 'mapiproxy' as 'epmapper' is already running. >> >> Rowland >> > >adam at sogo:~$ lsb_release -a >No LSB modules are available. >Distributor ID: Ubuntu >Description: Ubuntu 14.04.2 LTS >Release: 14.04 >Codename: trusty > >The initial Samba packages from from Ubuntu repositories, and the new >ones come from Inverse. > >I've been happy with SOGo & OpenChange until this round of upgrades (I >wasn't using Samba then) > >thx, Rowland > > >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > >
On 06/15/2015 08:50 AM, L.P.H. van Belle wrote:> look : winbind depends on samba (= 2:4.1.18+dfsg-3~inverse1); however: > >> 2:4.1.18+dfsg-3~inverse1 > so mixed setup of ubuntu with inverse packages of samba. > You need to use the inverse packages of samba to keep openchange working. > I suggest you set your package pinning. > > OR ! > remove the inverse : winbind version and install the ubuntu version. > > > Greetz, > > Louis > > >> -----Oorspronkelijk bericht----- >> Van: steve_a at cinergymetro.net >> [mailto:samba-bounces at lists.samba.org] Namens Steve Ankeny >> Verzonden: maandag 15 juni 2015 13:27 >> Aan: samba at lists.samba.org >> Onderwerp: Re: [Samba] Samba upgrade issue . . . >> >> On 06/15/2015 07:14 AM, Rowland Penny wrote: >>> On 15/06/15 11:52, Steve Ankeny wrote: >>>> I have a "Samba | SOGo | OpenChange" server running in VMware. >>>> >>>> I get 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. >>>> >>>> I've taken a "snapshot" of my virtual machine, and I've ran >> 'apt-get >>>> install --s' to see if there are any potential errors (and >> there are >>>> none) However, when I actually attempt the install, I find the >>>> following -- >>>> >>>> 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. >>>> >>>> In the text that follows, 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. >>>> >>>> >>>> Doing a bit of research, I find a suggestion here -- >>>> >>>> >> http://languor.us/samba-subprocess-post-installation-script-ret >> urned-error-exit-status-1 >>>> >>>> "create a blank smb.conf in /etc/samba, then purge and >> reinstall samba" >>>> *Is this the fix for this specific error?* I am concerned about >>>> purging my Samba DB >>>> >>>> Currently, I have the following installed -- >>>> >>>> adam at 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 >>>> >>>> My current 'smb.conf. reads -- >>>> >>>> # Global parameters >>>> [global] >>>> workgroup = MEADORANDCO >>>> realm = meadorandco.com >>>> netbios name = SOGO >>>> server role = active directory domain controller >>>> dns forwarder = 192.168.121.1 >>>> idmap_ldb:use rfc2307 = yes >>>> passdb backend = samba >>>> allow dns updates = nonsecure >>>> >>>> ### Configuration required by OpenChange server ### >>>> #dcerpc endpoint servers = epmapper, mapiproxy, dnsserver >>>> #dcerpc endpoint servers = +epmapper, +mapiproxy >>>> #dcerpc_mapiproxy:server = true >>>> #dcerpc_mapiproxy:interfaces = exchange_emsmdb, >> exchange_nsp, >>>> exchange_ds_rfr >>>> ### Configuration required by OpenChange server ### >>>> >>>> #mapistore:namedproperties = mysql >>>> #namedproperties:mysql_user = openchange-user >>>> #namedproperties:mysql_pass = $passwd >>>> #namedproperties:mysql_host = localhost >>>> #namedproperties:mysql_db = openchange >>>> #mapistore:indexing_backend >>>> mysql://openchange-user:$passwd at localhost/openchange >>>> #mapiproxy:openchangedb >>>> mysql://openchange-user:$passwd at localhost/openchange >>>> >>>> [netlogon] >>>> path = /var/lib/samba/sysvol/meadorandco.com/scripts >>>> read only = No >>>> >>>> [sysvol] >>>> path = /var/lib/samba/sysvol >>>> read only = No >>>> >>>> As you can see, I have commented out the 'dcerpc' calls, as I had >>>> problems with those. >>>> >>>> I believe Rowland suggested using 'dcerpc endpoint servers >>>> +epmapper, +mapiproxy' but I will have to review his suggestion >>>> before using OpenChange. It may be I have to do that before the >>>> upgrade. >>>> >>>> Any help would be appreciated. *What is the specific fix for >>>> subprocess post-installation**error?* >>>> >>>> thx >>>> >>> What OS are you upgrading on ? where did the old samba packages come >>> from, your OS or inverse, where do think the new packages are coming >>> from ? >>> >>> I do not use sogo any more, more because of problems like this than >>> anything else, I personally don't think openchange will get anywhere >>> until you can install it on top of *any* version of samba4, not a >>> specific version as at present. Having said that, if I check what >>> 'dcerpc endpoint servers' are running on my DC, I get this: >>> >>> dcerpc endpoint servers = epmapper, wkssvc, rpcecho, samr, netlogon, >>> lsarpc, spoolss, drsuapi, dssetup, unixinfo, browser, eventlog6, >>> backupkey, dnsserver >>> >>> So you only need to add 'mapiproxy' as 'epmapper' is already running. >>> >>> Rowland >>> >> adam at sogo:~$ lsb_release -a >> No LSB modules are available. >> Distributor ID: Ubuntu >> Description: Ubuntu 14.04.2 LTS >> Release: 14.04 >> Codename: trusty >> >> The initial Samba packages from from Ubuntu repositories, and the new >> ones come from Inverse. >> >> I've been happy with SOGo & OpenChange until this round of upgrades (I >> wasn't using Samba then) >> >> thx, Rowland >> >> >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/options/samba >> >>I've considered pinning to the Inverse repository (and, I'll try that) What you're telling me is the issue revolves around mixed packages, especially 'winbind' (makes sense) thx for the suggestions, however, I won't be able to test any of them until after-hours
On 06/15/2015 08:50 AM, L.P.H. van Belle wrote:> look : winbind depends on samba (= 2:4.1.18+dfsg-3~inverse1); however: > >> >2:4.1.18+dfsg-3~inverse1 > so mixed setup of ubuntu with inverse packages of samba. > You need to use the inverse packages of samba to keep openchange working. > I suggest you set your package pinning. > > OR ! > remove the inverse : winbind version and install the ubuntu version. > > > Greetz, > > Louis > >ok, I completed the pinning yesterday, and here's the apt-cache policy then -- adam at sogo:~$ sudo apt-cache policy samba samba: Installed: 2:4.1.6+dfsg-1ubuntu2.14.04.7 Candidate: 2:4.1.18+dfsg-3~inverse1 Version table: 2:4.1.18+dfsg-3~inverse1 0 600 http://inverse.ca/ubuntu <http://inverse.ca/ubuntu/>/ trusty/trusty amd64 Packages *** 2:4.1.6+dfsg-1ubuntu2.14.04.7 0 500 http://us.archive.ubuntu.com/ubuntu/ <http://us.archive.ubuntu.com/ubuntu/> trusty-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu/ <http://security.ubuntu.com/ubuntu/> trusty-security/main amd64 Packages 100 /var/lib/dpkg/status 2:4.1.6+dfsg-1ubuntu2 0 500 http://us.archive.ubuntu.com/ubuntu/ <http://us.archive.ubuntu.com/ubuntu/> trusty/main amd64 Packages here are the packages being installed/upgraded -- 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 0 not upgraded. and, here are the errors -- 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 No apport report written because MaxReports is reached already 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 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) ... 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) ... No apport report written because MaxReports is reached already 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) *it would seem the problem is 'winbind'* and the fact 'samba' is not completely configured Any suggestions at this point? here's the apt-cache policy now -- adam at sogo:~$ sudo apt-cache policy samba samba: Installed: 2:4.1.18+dfsg-3~inverse1 Candidate: 2:4.1.18+dfsg-3~inverse1 Version table: *** 2:4.1.18+dfsg-3~inverse1 0 500 http://inverse.ca/ubuntu/ trusty/trusty amd64 Packages 100 /var/lib/dpkg/status 2:4.1.6+dfsg-1ubuntu2.14.04.7 0 500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages 2:4.1.6+dfsg-1ubuntu2 0 500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages adam at sogo:~$ sudo apt-cache policy winbind winbind: Installed: 2:4.1.18+dfsg-3~inverse1 Candidate: 2:4.1.18+dfsg-3~inverse1 Version table: *** 2:4.1.18+dfsg-3~inverse1 0 500 http://inverse.ca/ubuntu/ trusty/trusty amd64 Packages 100 /var/lib/dpkg/status 2:4.1.6+dfsg-1ubuntu2.14.04.7 0 500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages 2:4.1.6+dfsg-1ubuntu2 0 500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages thx for the help
Ok Steve, Now its time to edit the status file of the packages. make a backup of : /var/lib/dpkg/status open it with an editor. search for "Package samba" , you probly see" installed ok not-configured. and change status to : Status: install ok installed after the change run : apt-get -f install that should do the trick. Greetz, Louis>-----Oorspronkelijk bericht----- >Van: steve_a at cinergymetro.net >[mailto:samba-bounces at lists.samba.org] Namens Steve Ankeny >Verzonden: dinsdag 16 juni 2015 10:29 >Aan: samba at lists.samba.org >Onderwerp: Re: [Samba] Samba upgrade issue . . . > >On 06/15/2015 08:50 AM, L.P.H. van Belle wrote: >> look : winbind depends on samba (= >2:4.1.18+dfsg-3~inverse1); however: >> >>> >2:4.1.18+dfsg-3~inverse1 >> so mixed setup of ubuntu with inverse packages of samba. >> You need to use the inverse packages of samba to keep >openchange working. >> I suggest you set your package pinning. >> >> OR ! >> remove the inverse : winbind version and install the ubuntu version. >> >> >> Greetz, >> >> Louis >> >> > >ok, I completed the pinning yesterday, and here's the apt-cache policy >then -- > >adam at sogo:~$ sudo apt-cache policy samba >samba: > Installed: 2:4.1.6+dfsg-1ubuntu2.14.04.7 > Candidate: 2:4.1.18+dfsg-3~inverse1 > Version table: > 2:4.1.18+dfsg-3~inverse1 0 > 600 http://inverse.ca/ubuntu ><http://inverse.ca/ubuntu/>/ trusty/trusty amd64 Packages > *** 2:4.1.6+dfsg-1ubuntu2.14.04.7 0 > 500 http://us.archive.ubuntu.com/ubuntu/ ><http://us.archive.ubuntu.com/ubuntu/> trusty-updates/main >amd64 Packages > 500 http://security.ubuntu.com/ubuntu/ ><http://security.ubuntu.com/ubuntu/> trusty-security/main >amd64 Packages > 100 /var/lib/dpkg/status > 2:4.1.6+dfsg-1ubuntu2 0 > 500 http://us.archive.ubuntu.com/ubuntu/ ><http://us.archive.ubuntu.com/ubuntu/> trusty/main amd64 Packages > > > >here are the packages being installed/upgraded -- > >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 0 not upgraded. > >and, here are the errors -- > >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 >No apport report written because MaxReports is reached already > 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 >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) ... >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) ... >No apport report written because MaxReports is reached already >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) > > >*it would seem the problem is 'winbind'* and the fact 'samba' is not >completely configured > > >Any suggestions at this point? > >here's the apt-cache policy now -- > >adam at sogo:~$ sudo apt-cache policy samba >samba: > Installed: 2:4.1.18+dfsg-3~inverse1 > Candidate: 2:4.1.18+dfsg-3~inverse1 > Version table: > *** 2:4.1.18+dfsg-3~inverse1 0 > 500 http://inverse.ca/ubuntu/ trusty/trusty amd64 Packages > 100 /var/lib/dpkg/status > 2:4.1.6+dfsg-1ubuntu2.14.04.7 0 > 500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main >amd64 Packages > 500 http://security.ubuntu.com/ubuntu/ trusty-security/main >amd64 Packages > 2:4.1.6+dfsg-1ubuntu2 0 > 500 http://us.archive.ubuntu.com/ubuntu/ trusty/main >amd64 Packages > >adam at sogo:~$ sudo apt-cache policy winbind >winbind: > Installed: 2:4.1.18+dfsg-3~inverse1 > Candidate: 2:4.1.18+dfsg-3~inverse1 > Version table: > *** 2:4.1.18+dfsg-3~inverse1 0 > 500 http://inverse.ca/ubuntu/ trusty/trusty amd64 Packages > 100 /var/lib/dpkg/status > 2:4.1.6+dfsg-1ubuntu2.14.04.7 0 > 500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main >amd64 Packages > 500 http://security.ubuntu.com/ubuntu/ trusty-security/main >amd64 Packages > 2:4.1.6+dfsg-1ubuntu2 0 > 500 http://us.archive.ubuntu.com/ubuntu/ trusty/main >amd64 Packages > > >thx for the help > > >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > >
On 06/16/2015 04:57 AM, L.P.H. van Belle wrote:> Ok Steve, > > Now its time to edit the status file of the packages. > make a backup of : /var/lib/dpkg/status > open it with an editor. > search for "Package samba" , you probly see" installed ok not-configured. > and change status to : Status: install ok installed > > after the change run : apt-get -f install > that should do the trick. > > Greetz, > > Louisok, Louis That sounds like something I can handle (I've used the "-f" option before), and I can handle the editor. I've had to revert my snapshot for now, but I'll get an earlier start on it tomorrow to prevent that. The office is beginning to wake-up, and I noticed my Samba services were not started in the state it was in, so that prevented the early-logins. You've been a big help. I'll report back tomorrow morning.
On 06/16/2015 04:57 AM, L.P.H. van Belle wrote:> Ok Steve, > > Now its time to edit the status file of the packages. > make a backup of : /var/lib/dpkg/status > open it with an editor. > search for "Package samba" , you probly see" installed ok not-configured. > and change status to : Status: install ok installed > > after the change run : apt-get -f install > that should do the trick. > > Greetz, > > Louissorry for the delay, my e-mail provider took two days to recover from a server crash ---------------------------------------- ran the upgrade normally, and received the same errors beginning with 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. edited '/var/lib/dpkg/status' changing 'installed ok half-configured' to 'installed ok installed' then installed half-configured packages only with "-f" option adam at sogo:~$ sudo apt-get -f install samba winbind libnss-winbind libpam-winbind openchangeproxy openchangeserver python-ocsmanager Reading package lists... Done Building dependency tree Reading state information... Done libnss-winbind is already the newest version. libnss-winbind set to manually installed. libpam-winbind is already the newest version. libpam-winbind set to manually installed. openchangeproxy is already the newest version. openchangeserver is already the newest version. python-ocsmanager is already the newest version. samba is already the newest version. winbind is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 6 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] Y dpkg: error: parsing file '/var/lib/dpkg/status' near line 704 package 'samba': Config-Version for package with inappropriate Status E: Sub-process /usr/bin/dpkg returned an error code (2) It throws an error on the status line. Any suggestions? Should I attempt to upgrade Samba only (without 'winbind,' etc.)? I am beginning to wonder why I need 'winbind' with a Samba-AD-DC (it's not running), and although Inverse includes an upgrade to the 'winbind' packages, it may be I simply might not need it installed. It would be better to purge something I'm not using instead of having to purge the Samba packages. Would purging the 'winbind' packages resolve my problems with the upgrade of Samba? On the other hand, is that the meaning of the error, "subprocess installed post-installation script returned error exit status 1"? I do not know what it's doing at that point, and I don't know how to troubleshoot the error. thx