git errors pulling notmuch

classic Classic list List threaded Threaded
4 messages Options
Tomas Nordin Tomas Nordin
Reply | Threaded
Open this post in threaded view
|

git errors pulling notmuch

Hello Notmuchers

I have installed Notmuch from source a while ago and been happy. But
today I thought maybe it is about time to see if I should update (244
commits behind), so I tried to pull the changes. I am getting this git
error:

  1 git … pull origin
error: cannot lock ref 'refs/remotes/origin/debian/jessie-backports': 'refs/remotes/origin/debian' exists; cannot create 'refs/remotes/origin/debian/jessie-backports'
From git://notmuchmail.org/git/notmuch
 ! [new branch]        debian/jessie-backports -> origin/debian/jessie-backports  (unable to update local ref)
error: cannot lock ref 'refs/remotes/origin/debian/squeeze-backports': 'refs/remotes/origin/debian' exists; cannot create 'refs/remotes/origin/debian/squeeze-backports'
 ! [new branch]        debian/squeeze-backports -> origin/debian/squeeze-backports  (unable to update local ref)
error: cannot lock ref 'refs/remotes/origin/debian/stretch': 'refs/remotes/origin/debian' exists; cannot create 'refs/remotes/origin/debian/stretch'
 ! [new branch]        debian/stretch          -> origin/debian/stretch  (unable to update local ref)
error: cannot lock ref 'refs/remotes/origin/debian/stretch-backports': 'refs/remotes/origin/debian' exists; cannot create 'refs/remotes/origin/debian/stretch-backports'
 ! [new branch]        debian/stretch-backports -> origin/debian/stretch-backports  (unable to update local ref)
error: cannot lock ref 'refs/remotes/origin/debian/wheezy-backports': 'refs/remotes/origin/debian' exists; cannot create 'refs/remotes/origin/debian/wheezy-backports'
 ! [new branch]        debian/wheezy-backports -> origin/debian/wheezy-backports  (unable to update local ref)

the output is via Magit process. The currently installed notmuch is
0.24.1+65~g77c9ec1

Do you see easy what's going on?

Best regards
--
Tomas
_______________________________________________
notmuch mailing list
[hidden email]
https://notmuchmail.org/mailman/listinfo/notmuch
David Bremner-2 David Bremner-2
Reply | Threaded
Open this post in threaded view
|

Re: git errors pulling notmuch

Tomas Nordin <[hidden email]> writes:

> Hello Notmuchers
>
> I have installed Notmuch from source a while ago and been happy. But
> today I thought maybe it is about time to see if I should update (244
> commits behind), so I tried to pull the changes. I am getting this git
> error:
>
>   1 git … pull origin
> error: cannot lock ref 'refs/remotes/origin/debian/jessie-backports': 'refs/remotes/origin/debian' exists; cannot create 'refs/remotes/origin/debian/jessie-backports'

Try "git remote prune origin"

d
_______________________________________________
notmuch mailing list
[hidden email]
https://notmuchmail.org/mailman/listinfo/notmuch
Tomas Nordin Tomas Nordin
Reply | Threaded
Open this post in threaded view
|

Re: git errors pulling notmuch

David Bremner <[hidden email]> writes:

> Try "git remote prune origin"

OK, worked just fine, thanks. Should I mention that an untracked file
appeared "notmuch.sym", in the top level directory, without me knowingly
building anything.
_______________________________________________
notmuch mailing list
[hidden email]
https://notmuchmail.org/mailman/listinfo/notmuch
David Bremner-2 David Bremner-2
Reply | Threaded
Open this post in threaded view
|

Re: git errors pulling notmuch

Tomas Nordin <[hidden email]> writes:

> David Bremner <[hidden email]> writes:
>
>> Try "git remote prune origin"
>
> OK, worked just fine, thanks. Should I mention that an untracked file
> appeared "notmuch.sym", in the top level directory, without me knowingly
> building anything.

At some point we transitioned from generating notmuch.sym to having it
committed (in lib/) so this is probably leftover from a previous build
(and no longer cleaned by the build system). In any case, removing it
should be harmless.

d
_______________________________________________
notmuch mailing list
[hidden email]
https://notmuchmail.org/mailman/listinfo/notmuch