[Pkg-samba-maint] Bug#623328: samba4: upgradeprovision fails on upgradehelpers.py line 487

Erik Dalén erik.dalen at mensa.se
Tue Apr 19 11:12:45 UTC 2011


Package: samba4
Version: 4.0.0~alpha15~git20110410.dfsg1-1
Severity: normal

samba4 upgrade from 20110224 to 20110410 fails with following error:

Setting up samba4 (4.0.0~alpha15~git20110410.dfsg1-1) ...
Creating a reference provision
Copy privilege
Update base samdb by searching difference with reference one
Starting update of samdb
There are 0 missing objects
Reloading a merged schema, which might trigger reindexing so please be patient
Schema reloaded!
Exception during upgrade of samdb:
Traceback (most recent call last):
  File "/usr/share/samba/setup/upgradeprovision", line 1099, in update_partition
    provisionUSNs, names.invocation)
  File "/usr/share/samba/setup/upgradeprovision", line 908, in update_present
    if get_diff_sddls(refsddl, cursddl) == "":
  File "/usr/lib/python2.6/dist-packages/samba/upgradehelpers.py",
line 487, in get_diff_sddls
    if hash_new["owner"] != hash_ref["owner"]:
KeyError: 'owner'
Update failed
Rolling back all changes. Check the cause of the problem
Your system is as it was before the upgrade
dpkg: error processing samba4 (--configure):
 subprocess installed post-installation script returned error exit status 1

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages samba4 depends on:
ii  debcon 1.5.38                            Debian configuration management sy
ii  libasn 1.4.0+git20110411.dfsg.1-1        Heimdal Kerberos - ASN.1 library
ii  libc6  2.11.2-13                         Embedded GNU C Library: Shared lib
ii  libcom 1.41.12-2                         common error description library
ii  libdce 4.0.0~alpha15~git20110410.dfsg1-1 DCE/RPC client library
ii  libgen 4.0.0~alpha15~git20110410.dfsg1-1 Generic Security Library
ii  libhdb 1.4.0+git20110411.dfsg.1-1        Heimdal Kerberos - kadmin server l
ii  libkdc 1.4.0+git20110411.dfsg.1-1        Heimdal Kerberos - KDC support lib
ii  libkrb 1.4.0+git20110411.dfsg.1-1        Heimdal Kerberos - libraries
ii  libldb 1:1.0.2+git20110403-1             LDAP-like embedded database - shar
ii  libndr 4.0.0~alpha15~git20110410.dfsg1-1 Standard NDR interfaces
ii  libndr 4.0.0~alpha15~git20110410.dfsg1-1 NDR marshalling library
ii  libpop 1.16-1                            lib for parsing cmdline parameters
ii  libpyt 2.6.6-8+b1                        Shared Python runtime library (ver
ii  librok 1.4.0+git20110411.dfsg.1-1        Heimdal Kerberos - roken support l
ii  libsam 4.0.0~alpha15~git20110410.dfsg1-1 Samba host configuration library
ii  libsam 4.0.0~alpha15~git20110410.dfsg1-1 Samba utility function library
ii  libsam 4.0.0~alpha15~git20110410.dfsg1-1 SAM database
ii  libtal 2.0.5-1                           hierarchical pool based memory all
ii  libtdb 1.2.9-1                           Trivial Database - shared library
ii  libtev 0.9.10-1                          talloc-based event loop library -
ii  python 2.6.6-14                          interactive high-level object-orie
ii  python 1.8.0-1                           DNS toolkit for Python
ii  python 4.0.0~alpha15~git20110410.dfsg1-1 Python bindings for Samba
ii  samba4 4.0.0~alpha15~git20110410.dfsg1-1 Samba 4 common files used by both

Versions of packages samba4 recommends:
ii  ldb-tools                     1:1.0.2-2  LDAP-like embedded database - tool

Versions of packages samba4 suggests:
ii  bind9                     1:9.7.3.dfsg-1 Internet Domain Name Server
pn  phpldapadmin              <none>         (no description available)
pn  samba-gtk                 <none>         (no description available)
pn  swat2                     <none>         (no description available)

-- debconf information excluded

-- 
Erik Dalén





More information about the Pkg-samba-maint mailing list