Skip to content
This repository has been archived by the owner on Nov 10, 2018. It is now read-only.

if the docker daemon wasn't already running, your package install fails #5

Open
StefanScherer opened this issue Apr 17, 2015 · 0 comments
Labels

Comments

@StefanScherer
Copy link
Member

FYI if the docker daemon wasn't already running, your package install fails. You should probably put || true after the invoke-rc.d stop in your preinstall bit:

(Reading database ... 54022 files and directories currently installed.)
Preparing to replace docker-hypriot 1.5.0-7 (using docker-hypriot_1.6.0-1_armhf.deb) ...
[....] Stopping Docker: dockerstart-stop-daemon: warning: failed to kill 1745: No such process
1 pids were not killed
No process in pidfile '/var/run/docker-ssd.pid' found running; none killed.
invoke-rc.d: initscript docker, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
[....] Stopping Docker: dockerstart-stop-daemon: warning: failed to kill 1745: No such process
1 pids were not killed
No process in pidfile '/var/run/docker-ssd.pid' found running; none killed.
invoke-rc.d: initscript docker, action "stop" failed.
dpkg: error processing docker-hypriot_1.6.0-1_armhf.deb (--install):
subprocess new pre-removal script returned error exit status 1
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
docker-hypriot_1.6.0-1_armhf.deb
#
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant