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.


Edit the ~/.subversion/config with gedit or nano , and add the following

password-stores =

then save and try again. All the best.


  • can you considering accept ?
    – rɑːdʒɑ
    Jul 29 '13 at 11:51
  • Unfortunately, adding this line gives me: 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...
    – sdaau
    Oct 30 '14 at 17:52
  • You have moved the the file from where currently gnome will fetch. so its keep on asking everytime.
    – rɑːdʒɑ
    Oct 30 '14 at 18:12
  • It's worth nothing that this means disabling the encrypted storage of SVN passwords which you might not want to do. Jul 9 '18 at 14:18

run the below command:


and then delete all items in the menu. The problem wil be gone

  • This was very helpful for a similar problem where svn would hang. Running seahorse showed me that the keyring was locked. Unlocked it, and svn is back to normal.
    – poleguy
    Mar 1 at 17:53

Solution 1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.