wbuntu
August 12th, 2011, 05:24 PM
$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
samba
Suggested packages:
openbsd-inetd inet-superserver smbldap-tools ldb-tools
The following packages will be upgraded:
samba
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
39 not fully installed or removed.
Need to get 0 B/7,416 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
Selecting previously deselected package samba.
(Reading database ... 310325 files and directories currently installed.)
Preparing to replace samba 2:3.5.8~dfsg-1ubuntu2.2 (using .../samba_2%3a3.5.8~dfsg-1ubuntu2.3_i386.deb) ...
invoke-rc.d: unknown initscript, /etc/init.d/smbd not found.
dpkg: warning: subprocess old pre-removal script returned error exit status 100
dpkg - trying script from the new package instead ...
invoke-rc.d: unknown initscript, /etc/init.d/smbd not found.
dpkg: error processing /var/cache/apt/archives/samba_2%3a3.5.8~dfsg-1ubuntu2.3_i386.deb (--unpack):
subprocess new pre-removal script returned error exit status 100
update-alternatives: using /usr/bin/smbstatus.samba3 to provide /usr/bin/smbstatus (smbstatus) in auto mode.
invoke-rc.d: unknown initscript, /etc/init.d/smbd not found.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 100
Errors were encountered while processing:
/var/cache/apt/archives/samba_2%3a3.5.8~dfsg-1ubuntu2.3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
samba
Suggested packages:
openbsd-inetd inet-superserver smbldap-tools ldb-tools
The following packages will be upgraded:
samba
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
39 not fully installed or removed.
Need to get 0 B/7,416 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
Selecting previously deselected package samba.
(Reading database ... 310325 files and directories currently installed.)
Preparing to replace samba 2:3.5.8~dfsg-1ubuntu2.2 (using .../samba_2%3a3.5.8~dfsg-1ubuntu2.3_i386.deb) ...
invoke-rc.d: unknown initscript, /etc/init.d/smbd not found.
dpkg: warning: subprocess old pre-removal script returned error exit status 100
dpkg - trying script from the new package instead ...
invoke-rc.d: unknown initscript, /etc/init.d/smbd not found.
dpkg: error processing /var/cache/apt/archives/samba_2%3a3.5.8~dfsg-1ubuntu2.3_i386.deb (--unpack):
subprocess new pre-removal script returned error exit status 100
update-alternatives: using /usr/bin/smbstatus.samba3 to provide /usr/bin/smbstatus (smbstatus) in auto mode.
invoke-rc.d: unknown initscript, /etc/init.d/smbd not found.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 100
Errors were encountered while processing:
/var/cache/apt/archives/samba_2%3a3.5.8~dfsg-1ubuntu2.3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)