upgrade from standalone samba3 server fails

Bug #815586 reported by Chris Yardley on 2011-07-24
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
samba4 (Ubuntu)
High
Unassigned

Bug Description

i was installing samba.

:~$ sudo apt-get install samba4
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  ldb-tools libasn1-8-heimdal libdcerpc0 libgensec0 libgssapi3-heimdal
  libhcrypto4-heimdal libhdb9-heimdal libheimbase1-heimdal
  libheimntlm0-heimdal libhx509-5-heimdal libkdc2-heimdal libkrb5-26-heimdal
  libldb1 libndr-standard0 libndr0 libpython2.6 libregistry0
  libroken18-heimdal libsamba-hostconfig0 libsamba-util0 libsamdb0 libtevent0
  libwind0-heimdal python-dnspython python-ldb python-samba python-talloc
  python-tdb python2.6 python2.6-minimal samba4-common-bin
Suggested packages:
  python2.6-doc bind9 phpldapadmin samba-gtk swat2
The following NEW packages will be installed:
  ldb-tools libasn1-8-heimdal libdcerpc0 libgensec0 libgssapi3-heimdal
  libhcrypto4-heimdal libhdb9-heimdal libheimbase1-heimdal
  libheimntlm0-heimdal libhx509-5-heimdal libkdc2-heimdal libkrb5-26-heimdal
  libldb1 libndr-standard0 libndr0 libpython2.6 libregistry0
  libroken18-heimdal libsamba-hostconfig0 libsamba-util0 libsamdb0 libtevent0
  libwind0-heimdal python-dnspython python-ldb python-samba python-talloc
  python-tdb python2.6 python2.6-minimal samba4 samba4-common-bin
0 upgraded, 32 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.9 MB of archives.
After this operation, 56.7 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libtevent0 amd64 0.9.11~git20110311-1 [23.9 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libldb1 amd64 1:1.1.0-1 [129 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe ldb-tools amd64 1:1.1.0-1 [35.6 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libroken18-heimdal amd64 1.4.0+git20110411.dfsg.1-1 [45.6 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libasn1-8-heimdal amd64 1.4.0+git20110411.dfsg.1-1 [207 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libhcrypto4-heimdal amd64 1.4.0+git20110411.dfsg.1-1 [101 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libheimbase1-heimdal amd64 1.4.0+git20110411.dfsg.1-1 [12.1 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libwind0-heimdal amd64 1.4.0+git20110411.dfsg.1-1 [77.3 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libhx509-5-heimdal amd64 1.4.0+git20110411.dfsg.1-1 [124 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libkrb5-26-heimdal amd64 1.4.0+git20110411.dfsg.1-1 [217 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libheimntlm0-heimdal amd64 1.4.0+git20110411.dfsg.1-1 [15.7 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libgssapi3-heimdal amd64 1.4.0+git20110411.dfsg.1-1 [102 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libhdb9-heimdal amd64 1.4.0+git20110411.dfsg.1-1 [59.7 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libsamdb0 amd64 4.0.0~alpha15.dfsg1-1ubuntu1 [386 kB]
Get:15 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libsamba-hostconfig0 amd64 4.0.0~alpha15.dfsg1-1ubuntu1 [49.8 kB]
Get:16 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libsamba-util0 amd64 4.0.0~alpha15.dfsg1-1ubuntu1 [341 kB]
Get:17 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libndr0 amd64 4.0.0~alpha15.dfsg1-1ubuntu1 [34.4 kB]
Get:18 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libndr-standard0 amd64 4.0.0~alpha15.dfsg1-1ubuntu1 [1,619 kB]
Get:19 http://us.archive.ubuntu.com/ubuntu/ oneiric/main python2.6-minimal amd64 2.6.7-2ubuntu1 [1,475 kB]
Get:20 http://us.archive.ubuntu.com/ubuntu/ oneiric/main python2.6 amd64 2.6.7-2ubuntu1 [2,438 kB]
Get:21 http://us.archive.ubuntu.com/ubuntu/ oneiric/main libpython2.6 amd64 2.6.7-2ubuntu1 [1,084 kB]
Get:22 http://us.archive.ubuntu.com/ubuntu/ oneiric/main python-talloc amd64 2.0.5-1 [7,928 B]
Get:23 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libgensec0 amd64 4.0.0~alpha15.dfsg1-1ubuntu1 [386 kB]
Get:24 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libregistry0 amd64 4.0.0~alpha15.dfsg1-1ubuntu1 [57.4 kB]
Get:25 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libdcerpc0 amd64 4.0.0~alpha15.dfsg1-1ubuntu1 [729 kB]
Get:26 http://us.archive.ubuntu.com/ubuntu/ oneiric/main python-dnspython all 1.9.4-0ubuntu1 [99.1 kB]
Get:27 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe python-ldb amd64 1:1.1.0-1 [39.0 kB]
Get:28 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe python-tdb amd64 1.2.9-1fakesync1 [11.7 kB]
Get:29 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe python-samba amd64 4.0.0~alpha15.dfsg1-1ubuntu1 [1,300 kB]
Get:30 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe samba4-common-bin all 4.0.0~alpha15.dfsg1-1ubuntu1 [7,610 B]
Get:31 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libkdc2-heimdal amd64 1.4.0+git20110411.dfsg.1-1 [55.9 kB]
Get:32 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe samba4 amd64 4.0.0~alpha15.dfsg1-1ubuntu1 [1,589 kB]
Fetched 12.9 MB in 22s (576 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously deselected package libtevent0.
(Reading database ... 202199 files and directories currently installed.)
Unpacking libtevent0 (from .../libtevent0_0.9.11~git20110311-1_amd64.deb) ...
Selecting previously deselected package libldb1.
Unpacking libldb1 (from .../libldb1_1%3a1.1.0-1_amd64.deb) ...
Selecting previously deselected package ldb-tools.
Unpacking ldb-tools (from .../ldb-tools_1%3a1.1.0-1_amd64.deb) ...
Selecting previously deselected package libroken18-heimdal.
Unpacking libroken18-heimdal (from .../libroken18-heimdal_1.4.0+git20110411.dfsg.1-1_amd64.deb) ...
Selecting previously deselected package libasn1-8-heimdal.
Unpacking libasn1-8-heimdal (from .../libasn1-8-heimdal_1.4.0+git20110411.dfsg.1-1_amd64.deb) ...
Selecting previously deselected package libhcrypto4-heimdal.
Unpacking libhcrypto4-heimdal (from .../libhcrypto4-heimdal_1.4.0+git20110411.dfsg.1-1_amd64.deb) ...
Selecting previously deselected package libheimbase1-heimdal.
Unpacking libheimbase1-heimdal (from .../libheimbase1-heimdal_1.4.0+git20110411.dfsg.1-1_amd64.deb) ...
Selecting previously deselected package libwind0-heimdal.
Unpacking libwind0-heimdal (from .../libwind0-heimdal_1.4.0+git20110411.dfsg.1-1_amd64.deb) ...
Selecting previously deselected package libhx509-5-heimdal.
Unpacking libhx509-5-heimdal (from .../libhx509-5-heimdal_1.4.0+git20110411.dfsg.1-1_amd64.deb) ...
Selecting previously deselected package libkrb5-26-heimdal.
Unpacking libkrb5-26-heimdal (from .../libkrb5-26-heimdal_1.4.0+git20110411.dfsg.1-1_amd64.deb) ...
Selecting previously deselected package libheimntlm0-heimdal.
Unpacking libheimntlm0-heimdal (from .../libheimntlm0-heimdal_1.4.0+git20110411.dfsg.1-1_amd64.deb) ...
Selecting previously deselected package libgssapi3-heimdal.
Unpacking libgssapi3-heimdal (from .../libgssapi3-heimdal_1.4.0+git20110411.dfsg.1-1_amd64.deb) ...
Selecting previously deselected package libhdb9-heimdal.
Unpacking libhdb9-heimdal (from .../libhdb9-heimdal_1.4.0+git20110411.dfsg.1-1_amd64.deb) ...
Selecting previously deselected package libsamdb0.
Unpacking libsamdb0 (from .../libsamdb0_4.0.0~alpha15.dfsg1-1ubuntu1_amd64.deb) ...
Selecting previously deselected package libsamba-hostconfig0.
Unpacking libsamba-hostconfig0 (from .../libsamba-hostconfig0_4.0.0~alpha15.dfsg1-1ubuntu1_amd64.deb) ...
Selecting previously deselected package libsamba-util0.
Unpacking libsamba-util0 (from .../libsamba-util0_4.0.0~alpha15.dfsg1-1ubuntu1_amd64.deb) ...
Selecting previously deselected package libndr0.
Unpacking libndr0 (from .../libndr0_4.0.0~alpha15.dfsg1-1ubuntu1_amd64.deb) ...
Selecting previously deselected package libndr-standard0.
Unpacking libndr-standard0 (from .../libndr-standard0_4.0.0~alpha15.dfsg1-1ubuntu1_amd64.deb) ...
Selecting previously deselected package python2.6-minimal.
Unpacking python2.6-minimal (from .../python2.6-minimal_2.6.7-2ubuntu1_amd64.deb) ...
Selecting previously deselected package python2.6.
Unpacking python2.6 (from .../python2.6_2.6.7-2ubuntu1_amd64.deb) ...
Selecting previously deselected package libpython2.6.
Unpacking libpython2.6 (from .../libpython2.6_2.6.7-2ubuntu1_amd64.deb) ...
Selecting previously deselected package python-talloc.
Unpacking python-talloc (from .../python-talloc_2.0.5-1_amd64.deb) ...
Selecting previously deselected package libgensec0.
Unpacking libgensec0 (from .../libgensec0_4.0.0~alpha15.dfsg1-1ubuntu1_amd64.deb) ...
Selecting previously deselected package libregistry0.
Unpacking libregistry0 (from .../libregistry0_4.0.0~alpha15.dfsg1-1ubuntu1_amd64.deb) ...
Selecting previously deselected package libdcerpc0.
Unpacking libdcerpc0 (from .../libdcerpc0_4.0.0~alpha15.dfsg1-1ubuntu1_amd64.deb) ...
Selecting previously deselected package python-dnspython.
Unpacking python-dnspython (from .../python-dnspython_1.9.4-0ubuntu1_all.deb) ...
Selecting previously deselected package python-ldb.
Unpacking python-ldb (from .../python-ldb_1%3a1.1.0-1_amd64.deb) ...
Selecting previously deselected package python-tdb.
Unpacking python-tdb (from .../python-tdb_1.2.9-1fakesync1_amd64.deb) ...
Selecting previously deselected package python-samba.
Unpacking python-samba (from .../python-samba_4.0.0~alpha15.dfsg1-1ubuntu1_amd64.deb) ...
Selecting previously deselected package samba4-common-bin.
Unpacking samba4-common-bin (from .../samba4-common-bin_4.0.0~alpha15.dfsg1-1ubuntu1_all.deb) ...
Selecting previously deselected package libkdc2-heimdal.
Unpacking libkdc2-heimdal (from .../libkdc2-heimdal_1.4.0+git20110411.dfsg.1-1_amd64.deb) ...
Selecting previously deselected package samba4.
Unpacking samba4 (from .../samba4_4.0.0~alpha15.dfsg1-1ubuntu1_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for gnome-menus ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for menu ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up libtevent0 (0.9.11~git20110311-1) ...
Setting up libldb1 (1:1.1.0-1) ...
Setting up ldb-tools (1:1.1.0-1) ...
Setting up libroken18-heimdal (1.4.0+git20110411.dfsg.1-1) ...
Setting up libasn1-8-heimdal (1.4.0+git20110411.dfsg.1-1) ...
Setting up libhcrypto4-heimdal (1.4.0+git20110411.dfsg.1-1) ...
Setting up libheimbase1-heimdal (1.4.0+git20110411.dfsg.1-1) ...
Setting up libwind0-heimdal (1.4.0+git20110411.dfsg.1-1) ...
Setting up libhx509-5-heimdal (1.4.0+git20110411.dfsg.1-1) ...
Setting up libkrb5-26-heimdal (1.4.0+git20110411.dfsg.1-1) ...
Setting up libheimntlm0-heimdal (1.4.0+git20110411.dfsg.1-1) ...
Setting up libgssapi3-heimdal (1.4.0+git20110411.dfsg.1-1) ...
Setting up libhdb9-heimdal (1.4.0+git20110411.dfsg.1-1) ...
Setting up python2.6-minimal (2.6.7-2ubuntu1) ...
Linking and byte-compiling packages for runtime python2.6...
Setting up python2.6 (2.6.7-2ubuntu1) ...
Setting up libpython2.6 (2.6.7-2ubuntu1) ...
Setting up python-talloc (2.0.5-1) ...
Setting up python-dnspython (1.9.4-0ubuntu1) ...
Setting up python-ldb (1:1.1.0-1) ...
Setting up python-tdb (1.2.9-1fakesync1) ...
Setting up libkdc2-heimdal (1.4.0+git20110411.dfsg.1-1) ...
Setting up libndr0 (4.0.0~alpha15.dfsg1-1ubuntu1) ...
Setting up libdcerpc0 (4.0.0~alpha15.dfsg1-1ubuntu1) ...
Setting up libsamba-util0 (4.0.0~alpha15.dfsg1-1ubuntu1) ...
Setting up libndr-standard0 (4.0.0~alpha15.dfsg1-1ubuntu1) ...
Setting up libsamdb0 (4.0.0~alpha15.dfsg1-1ubuntu1) ...
Setting up libsamba-hostconfig0 (4.0.0~alpha15.dfsg1-1ubuntu1) ...
Setting up libgensec0 (4.0.0~alpha15.dfsg1-1ubuntu1) ...
Setting up libregistry0 (4.0.0~alpha15.dfsg1-1ubuntu1) ...
Setting up python-samba (4.0.0~alpha15.dfsg1-1ubuntu1) ...
Setting up samba4-common-bin (4.0.0~alpha15.dfsg1-1ubuntu1) ...
Setting up samba4 (4.0.0~alpha15.dfsg1-1ubuntu1) ...
Administrator password will be set randomly!
Unknown parameter encountered: "max log size"
Ignoring unknown parameter "max log size"
Unknown parameter encountered: "syslog"
Ignoring unknown parameter "syslog"
Unknown parameter encountered: "passdb backend"
Ignoring unknown parameter "passdb backend"
Unknown parameter encountered: "unix password sync"
Ignoring unknown parameter "unix password sync"
Unknown parameter encountered: "passwd program"
Ignoring unknown parameter "passwd program"
Unknown parameter encountered: "pam password change"
Ignoring unknown parameter "pam password change"
Unknown parameter encountered: "map to guest"
Ignoring unknown parameter "map to guest"
Unknown parameter encountered: "usershare allow guests"
Ignoring unknown parameter "usershare allow guests"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "max log size"
Ignoring unknown parameter "max log size"
Unknown parameter encountered: "syslog"
Ignoring unknown parameter "syslog"
Unknown parameter encountered: "passdb backend"
Ignoring unknown parameter "passdb backend"
Unknown parameter encountered: "unix password sync"
Ignoring unknown parameter "unix password sync"
Unknown parameter encountered: "passwd program"
Ignoring unknown parameter "passwd program"
Unknown parameter encountered: "pam password change"
Ignoring unknown parameter "pam password change"
Unknown parameter encountered: "map to guest"
Ignoring unknown parameter "map to guest"
Unknown parameter encountered: "usershare allow guests"
Ignoring unknown parameter "usershare allow guests"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.conf file and let provision generate it
dpkg: error processing samba4 (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for python-support ...
Processing triggers for menu ...
Errors were encountered while processing:
 samba4
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 11.10
Package: samba4 4.0.0~alpha15.dfsg1-1ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-6.7-generic 3.0.0-rc7
Uname: Linux 3.0.0-6-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sun Jul 24 17:44:46 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110705)
SourcePackage: samba4
Title: package samba4 4.0.0~alpha15.dfsg1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to oneiric on 2011-07-19 (5 days ago)

Chris Yardley (chrisyardley-sc) wrote :
Jelmer Vernooij (jelmer) on 2011-07-25
summary: - package samba4 4.0.0~alpha15.dfsg1-1ubuntu1 failed to install/upgrade:
- subprocess installed post-installation script returned error exit status
- 1
+ transition from standalone samba3 server fails
Changed in samba4 (Ubuntu):
status: New → Triaged
summary: - transition from standalone samba3 server fails
+ upgrade from standalone samba3 server fails
Changed in samba4 (Ubuntu):
importance: Undecided → High
Jelmer Vernooij (jelmer) wrote :

This was fixed in 4.0.0~alpha17~git20110807.dfsg1-1.

Changed in samba4 (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers