[Bug 272812] Re: package samba 3.0.28a-1ubuntu4.5 failed to install/upgrade: subprocess post-installation script returned error exit status 1

2008-10-26 Thread ptn2008
** Description changed:

- Binary package hint: samba
- 
- I renamed the files smb.conf and smbusers to smb.con_ and smbuse_ in the
- /etc/samba directory. I did not touch the gdbcommands file. No other
- file was in the directory.
- 
- Then I ran
- sudo apt-get remove samba
- sudo apt-get clean
- sudo apt-get install samba
- 
- at the install, the following occurred:
- 
- [from screen]
- 
+ Reading package lists... Done
+ Building dependency tree   
+ Reading state information... Done
  The following packages were automatically installed and are no longer 
required:
-   python-zopeinterface python-twisted-core python-libuser python-pygame
-   python-pyogg python-pyvorbis python-editobj libsdl-ttf2.0-0
-   python-cerealizer libuser1 libcal3d12 python-soya python-tofu
-   libsdl-mixer1.2 libode0debian1 simgear0 plib1.8.4c2 python-twisted-bin
-   libsdl-image1.2
+   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://es.archive.ubuntu.com hardy-updates/main samba 
3.0.28a-1ubuntu4.5 [3840kB]
- Fetched 3840kB in 1min7s (56.8kB/s)   
 
+ Get:1 http://vn.archive.ubuntu.com hardy-updates/main samba 
3.0.28a-1ubuntu4.5 [3840kB]
+ Fetched 3840kB in 29s (129kB/s)   
 
  Preconfiguring packages ...
  Selecting previously deselected package samba.
- (Reading database ... 133205 files and directories currently installed.)
+ (Reading database ... 120170 files and directories currently installed.)
  Unpacking samba (from .../samba_3.0.28a-1ubuntu4.5_i386.deb) ...
  Setting up samba (3.0.28a-1ubuntu4.5) ...
-  * Starting Samba daemons
[fail] 
- invoke-rc.d: initscript samba, action start failed.
- dpkg: error processing samba (--configure):
-  subprocess post-installation script returned error exit status 1
- E: Sub-process /usr/bin/dpkg returned an error code (1)
- 
- [end screen]
- 
- 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.
- 
- regards
- Mike
- 
- ProblemType: Package
- Architecture: i386
- Date: Sun Sep 21 17:57:13 2008
- DistroRelease: Ubuntu 8.04
- ErrorMessage: subprocess post-installation script returned error exit status 1
- Package: samba 3.0.28a-1ubuntu4.5
- PackageArchitecture: i386
- SourcePackage: samba
- Title: package samba 3.0.28a-1ubuntu4.5 failed to install/upgrade: subprocess 
post-installation script returned error exit status 1
- Uname: Linux 2.6.24-19-server i686
+ Generating /etc/default/samba...
+ 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

-- 
package samba 3.0.28a-1ubuntu4.5 failed to install/upgrade: subprocess 
post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/272812
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 272812] Re: package samba 3.0.28a-1ubuntu4.5 failed to install/upgrade: subprocess post-installation script returned error exit status 1

2008-09-21 Thread MikeT

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/17795174/Dependencies.txt

** Attachment added: DpkgTerminalLog.gz
   http://launchpadlibrarian.net/17795175/DpkgTerminalLog.gz

-- 
package samba 3.0.28a-1ubuntu4.5 failed to install/upgrade: subprocess 
post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/272812
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs