Comment 12 for bug 1605303

Revision history for this message
Andy Whitcroft (apw) wrote :

@mvo -- that latest interim upload looks to remove the snapd.postrm which is relied upon by the tests. I think we need to rather revert it to the original from 2.0.11:

    diff -Nru snapd-2.0.10/debian/snapd.postrm
    snapd-2.11+0.16.04/debian/snapd.postrm
    --- snapd-2.0.10/debian/snapd.postrm 2016-06-29 19:03:11.000000000
    +0000
    +++ snapd-2.11+0.16.04/debian/snapd.postrm 1970-01-01
    00:00:00.000000000 +0000
    @@ -1,9 +0,0 @@
    -#!/bin/sh
    -
    -set -e
    -
    -if [ "$1" = "purge" ]; then
    - # FIXME: should we try to remove all snaps, mount points, services,
    - # mount units that got created as well?
    - rm -f /var/lib/snapd/state.json
    -fi
    \ No newline at end of file
[...]
    +# purge all state
    +sh ${SPREAD_PATH}/debian/snapd.postrm purge