ceph fails to uninstall

Bug #1546112 reported by Bjørnar Ness
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ceph (Ubuntu)
Fix Released
High
James Page

Bug Description

ceph fails to uninstall with the following error:

Removing ceph (9.2.0-0ubuntu4) ...
Failed to stop ceph.service: Unit ceph.service not loaded.
invoke-rc.d: initscript ceph, action "stop" failed.
dpkg: error processing package ceph (--purge):
 subprocess installed pre-removal script returned error exit status 5
ceph-create-keys.service is a disabled or a static unit, not starting it.
Errors were encountered while processing:
 ceph
E: Sub-process /usr/bin/dpkg returned an error code (1)

Tags: xenial
Revision history for this message
Bjørnar Ness (bjornar-ness) wrote :

in file: /var/lib/dpkg/info/ceph.prerm

no service called ceph:

                invoke-rc.d ceph stop || {
                        RESULT=$?
                        if [ $RESULT != 100 ]; then
                                exit $RESULT
                        fi
                }

James Page (james-page)
Changed in ceph (Ubuntu):
importance: Undecided → High
status: New → In Progress
assignee: nobody → James Page (james-page)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ceph - 9.2.0-0ubuntu6

---------------
ceph (9.2.0-0ubuntu6) xenial; urgency=medium

  * d/ceph-mds.dirs: Actually create /var/lib/ceph/mds prior to changing
    permissions (LP: #1544647).
  * d/ceph.init: Restore link to init-ceph, resolving un-install failures
    due to missing init script (LP: #1546112).

 -- James Page <email address hidden> Wed, 17 Feb 2016 10:33:24 +0000

Changed in ceph (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Joel Van Boxtel (jeol13) wrote :

bionic also affected.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.