samba-common fails to upgrade if smb.conf is deleted
Bug #312449 reported by
Akdo
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: samba
this happen when smb.conf file not exist !
ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 8.10
ErrorMessage: subprocess post-installation script returned error exit status 1
NonfreeKernelMo
Package: samba-common 2:3.2.3-1ubuntu3.3
SourcePackage: samba
Title: package samba-common 2:3.2.3-1ubuntu3.3 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.27-9-generic i686
Related branches
Changed in samba: | |
assignee: | nobody → ttx |
status: | Confirmed → In Progress |
To post a comment you must log in.
Similar message received with 2:3.2.3-1ubuntu3.4
sudo dpkg --configure -a 3-1ubuntu3. 4) ... smb.conf' : No such file or directory 1ubuntu3. 4); however: 1ubuntu3. 4); however: 1ubuntu3. 4); however: 1ubuntu3. 4); however:
Setting up samba-common (2:3.2.
Not replacing deleted config file /etc/samba/smb.conf
chmod: cannot access `/etc/samba/
dpkg: error processing samba-common (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of smbclient:
smbclient depends on samba-common (= 2:3.2.3-
Package samba-common is not configured yet.
dpkg: error processing smbclient (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpam-smbpass:
libpam-smbpass depends on samba-common (= 2:3.2.3-
Package samba-common is not configured yet.
dpkg: error processing libpam-smbpass (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of winbind:
winbind depends on samba-common (= 2:3.2.3-
Package samba-common is not configured yet.
dpkg: error processing winbind (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of smbfs:
smbfs depends on samba-common (= 2:3.2.3-
Package samba-common is not configured yet.
dpkg: error processing smbfs (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
samba-common
smbclient
libpam-smbpass
winbind
smbfs
Copying smb.conf from a backup resolved problem, but I would have prefered that the upgrade process coped with the file being missing, by recreating the default smb.conf file.