package samba 3.0.28a-1ubuntu4.5 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libntfs-3g12
Use 'apt-get autoremove' to remove them.
Suggested packages:
openbsd-inetd inet-superserver smbldap-tools
The following NEW packages will be installed:
samba
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 3840kB of archives.
After this operation, 9429kB of additional disk space will be used.
Get:1 http://
Fetched 3840kB in 29s (129kB/s)
Preconfiguring packages ...
Selecting previously deselected package samba.
(Reading database ... 120170 files and directories currently installed.)
Unpacking samba (from .../samba_
Setting up samba (3.0.28a-
Generating /etc/default/
tdbsam_open: Converting version 0 database to version 3.
account_policy_get: tdb_fetch_uint32 failed for field 1 (min password length), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 2 (password history), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 3 (user must logon to change password), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum password age), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum password age), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 6 (lockout duration), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 7 (reset count minutes), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 8 (bad lockout attempt), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 9 (disconnect time), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 10 (refuse machine password change), returning 0
Importing account for nobody...ok
Importing account for baithien...ok
* Starting Samba daemons
description: | updated |
On Sun, Sep 21, 2008 at 04:10:11PM -0000, MikeT wrote:
> Then I ran
> sudo apt-get remove samba
> sudo apt-get clean
> sudo apt-get install samba
>
>
> in the /etc/samba the files I renamed have not been recreated while a
> new file was added - smbpasswd. It was not there before.
>
> All this was done to try to reset the samba installation to a virgin
> state. I have solved the problem by renaming the backed up files back
> again.
You should use apt-get purge samba to remove the configuration files.
apt-get remove samba keeps the configuration files around and apt-get
install won't install the configuration files if the package has just
been removed rather than purged.
status invalid
-- www.ubuntu. com
Mathias Gug
Ubuntu Developer http://