How to fix the following issue:
$ svn update
Password for 'default' GNOME keyring:
svn: GNOME Keyring is locked and we are non-interactive
I have googled around but can't seem to find a satisfactory answer.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityEdit the ~/.subversion/config with gedit or nano , and add the following
[auth]
password-stores =
then save and try again. All the best.
svn: ~/.subversion/config:17: Option expected and svn refuses to proceed... what worked for me was mv ~/.gnome2/keyrings/login.keyring ~/.gnome2/keyrings/_login.keyring as per Being prompted for '(null)' GNOME keyring - Stack Overflow; but then SVN insists on storing the password, once it passes, to a new Gnome keyring - which I don't want (I want to be asked each time, as when I use SVN over ssh), but that's another issue...
run the below command:
seahorse
and then delete all items in the menu. The problem wil be gone
In my case the problem persisted until I deleted the default keyring. Using Mate Linux you can use this command to delete the default key file:
rm ~/.config/mate/keyrings/default
That solved the problem for me...
None of the solutions googled (removing keyrings from ~/.gnome2, blanking password-stores from ~/.subversion/config, ...) worked for me. I had to unset environment variables GNOME_KEYRING_CONTROL GNOME_KEYRING_PID in my startup files (~/.xsession or whatever) in order to prevent their values being inherited from the desktop/login environment.