Comment 2 for bug 1968199

Revision history for this message
sascha arthur (sarthur) wrote :

curtin in-target -t /target /usr/bin/apt-get -y -q remove --purge snapd.

Fails with error code != 0:

Errors:
Stopping snap.lxd.activate.service
Stopping unit snap.lxd.activate.service
Running in chroot, ignoring command 'stop'
Waiting until unit snap.lxd.activate.service is stopped [attempt 1]
Running in chroot, ignoring command 'is-active'
Waiting until unit snap.lxd.activate.service is stopped [attempt 2]
Running in chroot, ignoring command 'is-active'
Waiting until unit snap.lxd.activate.service is stopped [attempt 3]
Running in chroot, ignoring command 'is-active'
Waiting until unit snap.lxd.activate.service is stopped [attempt 4]
Running in chroot, ignoring command 'is-active'
Waiting until unit snap.lxd.activate.service is stopped [attempt 5]

Even though it seems to be removed so its at least a workarround.

But i dont like things to return != 0

Any idea how to fix this? Maybe further curtin mapping? any params for apt?