[Bug 832465] Re: package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2011-11-08 Thread Roger Hunwicks
If you do :
apt-cache show samba4-common-bin

You get:
Package: samba4-common-bin
Priority: optional
Section: universe/net
Installed-Size: 80
Maintainer: Ubuntu Developers ubuntu-devel-disc...@lists.ubuntu.com
Original-Maintainer: Samba Debian Maintainers 
pkg-samba-ma...@lists.alioth.debian.org
Architecture: i386
Source: samba4
Version: 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1
Replaces: samba4-common ( 2:3.4.0~pre2-1)
Depends: python-samba (= 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1), 
samba-common (= 2:3.4.0~pre2-1), python
Conflicts: samba ( 2:3.3.0~rc2-5), samba-common ( 2:3.3.0~rc2-5)

I.e. samba4-common-bin depends on a recent version of samba-common,
which is why both samba and samba4 components get installed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/832465

Title:
  package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/832465/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 832465] Re: package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2011-11-08 Thread Roger Hunwicks
One problem seems to be the samba4 postinst script is getting some
values (realm, domain, netbios name, server role) from samba-common, and
samba-common doesnt seem to use the values in smb.conf, particularly for
domain.

My workaround is to 
sudo apt-get install samba4-common-bin

then create replace the smb.conf file with a samba4 one, e.g. generated from a 
working samba4 installation, such as:
# Global parameters
[global]
server role = domain controller
workgroup = EXAMPLE
realm = example.com
netbios name = SERVER

[netlogon]
path = /var/lib/samba/sysvol/example.com/scripts
read only = No

[sysvol]
path = /var/lib/samba/sysvol
read only = No

Then run
sudo /var/lib/dpkg/info/samba-common.config

If you don't do the step above, then when samba4 installs, the postinst
script attempts to provision the server, but debconf returns the domain
as WORKGROUP instead of EXAMPLE and the provision fails - I don't know
if this means the bug is in samba-common rather than samba4?

Then run
sudo apt-get install samba4
and it should all work correctly

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/832465

Title:
  package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/832465/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 832465] Re: package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2011-10-14 Thread Marcel Mitsuto Fucatu Sugano
I think it's because of evolution-exchange MAPI bindings, but I could be
completely wrong! :P

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/832465

Title:
  package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/832465/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 832465] Re: package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2011-10-14 Thread Jelmer Vernooij
evolution-exchange is completely unrelated, so I think you mean
evolution-mapi.

That doesn't in any way depend on the samba4 binary package though, it
only uses some of the Samba 4 client libraries.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/832465

Title:
  package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/832465/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 832465] Re: package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2011-09-24 Thread Jean-Rene Bastien
Curiously, I removed all Samba4 installed components and now everything
is fine.  Not sure why both Samba 2.35 and 4 were installed by default
in 11.10.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/832465

Title:
  package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/832465/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 832465] Re: package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2011-09-12 Thread urusha
A dirty workaround is to find Package: samba4 in /var/lib/dpkg/status
and change next line to Status: install ok installed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/832465

Title:
  package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/832465/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 832465] Re: package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2011-09-10 Thread Jean-Rene Bastien
This is probably related since Samba install did not finished normally,
I can't install SMBFS either.  I get the same error.  This is probably
also the cause of my permanent drive no longer getting mounted.  In
/etc/fstab:

//192.168.1.103/share /home/jrbastien/NAS cifs
noserverino,guest,uid=1000,iocharset=utf8,codepage=cp850,unicode 0 0

jrbastien@JR-Vostro-1500:~$ sudo mount -a
[sudo] password for jrbastien: 
mount: wrong fs type, bad option, bad superblock on //192.168.1.103/share,
   missing codepage or helper program, or other error
   (for several filesystems (e.g. nfs, cifs) you might
   need a /sbin/mount.type helper program)
   In some cases useful info is found in syslog - try
   dmesg | tail  or so

Does anyone know a workaround?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/832465

Title:
  package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/832465/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 832465] Re: package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2011-08-26 Thread Launchpad Bug Tracker
** Changed in: samba4 (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/832465

Title:
  package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/832465/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 832465] Re: package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2011-08-23 Thread Jack Weidner
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/832465

Title:
  package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/832465/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 832465] Re: package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2011-08-23 Thread Apport retracing service
** Tags removed: need-duplicate-check

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/832465

Title:
  package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/832465/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs