On 07/20/2015 11:51 AM, Sven Nielsen wrote:
Am 20.07.2015 um 17:18 schrieb Steve Ankeny:
On 07/20/2015 10:24 AM, Sven Nielsen wrote:

Setting up samba (2:4.1.18+dfsg-3~inverse1) ...
Installing new version of config file /etc/logrotate.d/samba ...
Installing new version of config file /etc/init/smbd.conf ...
Installing new version of config file /etc/init.d/samba ...
update-rc.d: /etc/init.d/samba exists during rc.d purge (use -f to
force)
dpkg: error processing package samba (--configure):
  subprocess installed post-installation script returned error exit
status 1

As a workaround, have you tred simply to remove or rename
/etc/init.d/samba to something else before running 'apt-get install
-f" ? This should get you around this error and one step further..

Sven

Processing triggers for ureadahead (0.100.0-16) ...
E: Sub-process /usr/bin/dpkg returned an error code (1)
adam@sogo:~$



that was Rowland Penney's original suggestion --

(1) edit '/var/lib/dpkg/status'
(2) run 'sudo update-rd.d samba remove'

No ;), I mean, just _manually_ rename the file with:

# mv /etc/init.d/samba /etc/init.d/samba_old

Sven


noted . . . I'll try your suggestion first (then Rowland's)


--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to