Latest master (5f385be). Steps to reproduce:
1. Deploy a local charm
$ juju deploy ~/trusty
2. Try to upgrade it
$ juju upgrade-charm gogs --force-units ERROR unknown schema for charm URL "local:trusty/gogs"
You can workaround by using --switch, but this probably isn't the intended UX:
$ juju upgrade-charm gogs --force-units --switch ~/trusty/gogs Added charm "local:trusty/gogs-1" to the model.
Latest master (5f385be). Steps to reproduce:
1. Deploy a local charm
$ juju deploy ~/trusty
2. Try to upgrade it
$ juju upgrade-charm gogs --force-units
ERROR unknown schema for charm URL "local:trusty/gogs"
You can workaround by using --switch, but this probably isn't the intended UX:
$ juju upgrade-charm gogs --force-units --switch ~/trusty/gogs trusty/ gogs-1" to the model.
Added charm "local: