Comment 1 for bug 1891220

Revision history for this message
Jake Hill (routergod) wrote :

Following the procedure suggested in https://bugs.launchpad.net/charm-sysconfig/+bug/1867929/comments/3 it appears that I can resolve the situation as follows (this example a different machine than the report above);

root@ostmpv03:~# CHARM_DIR=/var/lib/juju/agents/unit-ntp-0/charm
root@ostmpv03:~# rm -rf $CHARM_DIR/wheelhouse/.bootstrapped $CHARM_DIR/../.venv
root@ostmpv03:~# JUJU_CHARM_DIR=$CHARM_DIR PYTHONPATH=$CHARM_DIR/lib python3 -c 'import charms.layer.basic; charms.layer.basic.bootstrap_charm_deps()'

Hope that helps!