Search code examples
bazaar

Permission Denied on bzr info lp:bzr


I have added my SSH Public and Private keys. But I'm still getting Permission Denied on "bzr info lp:bzr"

What am I missing? I've attached a screenshot of my Launchpad, Pageant, and the Console.

enter image description here


Solution

  • This happens when:

    • You told Bazaar your Launchpad username with bzr lp-login USERNAME
    • ... but, Bazaar could not verify it (your access to USERNAME on Launchpad)

    You can see your Launchpad username configuration with the command:

    $ bzr config
    bazaar:
      [DEFAULT]
      launchpad_username = the-username-you-set-with-bzr-lp-login
    

    You can either fix your ssh key setup (see this discussion), or you can remove the launchpad_username setting with:

    bzr config --remove launchpad_username --scope=bazaar
    

    After this bzr info lp:bzr should work, unless you have other issues (for example with proxy server, network, firewalls, or others).