Stopped working on Ubuntu 16.04, installation docs are outdated
Created originally on Bitbucket by teo8976 (Teo Tei)
I installed mercurial_keyring ages ago, before I upgraded Ubuntu to 16.04. After upgrading Ubuntu to 16.04, mercurial_keyring stopped working, and every time I ran a hg command I would get this working:
*** failed to import extension mercurial_keyring: No module named builtins
This already sucks in itself, but the worst is the following. I had leaved with this until to now (that is, without the extension and with the warning every time), then I finally decided to try and fix, by reinstalling, upgrading mercurial_keyring or whatever.
So I went to https://www.mercurial-scm.org/wiki/KeyringExtension and then https://pypi.org/project/mercurial_keyring/
Under "prerequisites", it recommends to do this on Ubuntu:
sudo apt-get install python-keyring python-keyring-gnome
This throws an error:
$ sudo apt-get install python-keyring python-keyring-gnome
[sudo] password for teo:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-keyring-gnome
I don't know if python-keyring-gnome
doesn't exist anymore or if I need to add the repository for apt or whatever, but the installation guide is either wrong or incomplete.
I hate having to waste time to figure out how to install something (especially something I had already installed), but I hate it even more when there is an official guide that is supposed to save me from wasting that time, and it doesn't work.