It seems /usr/sbin/policy-rc.d is not required.
invoke-rc.d fails later on this command:
$ status ssh
Traceback (most recent call last):
File "/usr/local/bin/status", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/status/app.py", line 79, in main
get.get_response()
File
"/usr/local/lib/python2.7/dist-packages/status/commands/http_request.py", line
29, in get_response
raise e
AttributeError: 'NoneType' object has no attribute 'history'
So I have STRANGE status executable in /usr/local/bin contains Python
code (attached)
$ apt-file search /usr/local/bin/status
$ dpkg -S /usr/local/bin/status
dpkg-query: no path found matching pattern /usr/local/bin/status
So I removed that strange file and done this:
$ sudo dpkg --configure -a
Setting up openssh-server (1:6.2p2-6ubuntu0.2) ...
ssh stop/waiting
ssh start/running, process 5479
Setting up cups-browsed (1.0.40-0ubuntu1.1) ...
** Attachment added: "status"
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1297774/+attachment/4063016/+files/status
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1297774
Title:
package openssh-server 1:6.2p2-6ubuntu0.2 failed to install/upgrade:
subprocess installed post-installation script returned error exit
status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1297774/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs