Ohhh... well, there we go.
Thanks, missed that completely.
Mike
2008/9/22 Mathias Gug [EMAIL PROTECTED]
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
--
Mathias Gug
Ubuntu Developer http://www.ubuntu.com
** Changed in: samba (Ubuntu)
Status: New = Invalid
--
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 direct subscriber
of the bug.
Status in samba source package in Ubuntu: Invalid
Bug description:
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]
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
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)
Preconfiguring packages ...
Selecting previously deselected package samba.
(Reading database ... 133205 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
--
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