Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sonic-package-manager] stop service explicitelly before uninstalling…
… package (#1805) #### What I did Fixed an issue with uninstall. 1. When disabling the feature by setting its state to disabled in FEATURE table and then uninstalling it, there is a possibility that service hasn't fully stopped yet. 2. When uninstalling with --force option, and reinstalling the package with --enable option the service does not start. #### How I did it Stop and disable service explicitely before uninstalling package. #### How to verify it ``` sudo spm uninstall cpu-report --force && sudo spm install cpu-report=10.0.0 -v DEBUG -y --enable && docker ps ```
- Loading branch information