You are not logged in.

#1 2015-10-18 15:20:24

jpjenkins
Member
Registered: 2014-03-24
Posts: 104

Git: could not create work tree dir "..." no such file or directory.

Attempt: git clone https://github.com/nightingale-media-pl … acking.git
Returns the topic heading.

Version        : 2.6.1-1
Description    : the fast distributed version control system
Architecture   : x86_64
URL            : http://git-scm.com/
Licences       : GPL2
Groups         : None
Provides       : git-core
Depends On     : curl  expat>=2.0  perl-error  perl>=5.14.0  openssl  pcre
Optional Deps  : tk: gitk and git gui
                 perl-libwww: git svn
                 perl-term-readkey: git svn
                 perl-mime-tools: git send-email
                 perl-net-smtp-ssl: git send-email TLS support
                 perl-authen-sasl: git send-email TLS support
                 python2: various helper scripts [installed]
                 subversion: git svn [installed]
                 cvsps2: git cvsimport
                 gnome-keyring: GNOME keyring credential helper
Required By    : None
Optional For   : gettext  oh-my-zsh-git
Conflicts With : None
Replaces       : git-core
Installed Size :  26.12 MiB
Packager       : Dan McGee <dan@archlinux.org>
Build Date     : Tue 06 Oct 2015 03:20:46 CEST
Install Date   : Sun 18 Oct 2015 17:04:56 CEST
Install Reason : Explicitly installed
Install Script : Yes
Validated By   : Signature

I've reinstalled git and all dependencies listed above. I have also tried it with a target path to no avail.

I've also confirmed that the command I've used works for others on the arch IRC channel.

A search doesn't bring up anything. Any suggestions folks?

Thanks

Last edited by jpjenkins (2015-10-18 15:21:59)

Offline

#2 2015-10-18 15:31:02

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,575

Re: Git: could not create work tree dir "..." no such file or directory.

what does `which git` give you?

Offline

#3 2015-10-18 15:32:55

jpjenkins
Member
Registered: 2014-03-24
Posts: 104

Re: Git: could not create work tree dir "..." no such file or directory.

/usr/bin/git

Offline

#4 2015-10-18 15:38:28

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,575

Re: Git: could not create work tree dir "..." no such file or directory.

Can you clone other repos?

Offline

#5 2015-10-18 15:41:44

jpjenkins
Member
Registered: 2014-03-24
Posts: 104

Re: Git: could not create work tree dir "..." no such file or directory.

Nope hmm

Offline

#6 2015-10-18 15:42:55

jpjenkins
Member
Registered: 2014-03-24
Posts: 104

Re: Git: could not create work tree dir "..." no such file or directory.

Someone on the IRC channel suggested that I may have installed a package with pacman -Sy. I can't imagine me doing such a thing but mistakes happen. Whether this would stop git from working even after a full reinstall with dependencies, I don't know.

Offline

#7 2015-10-18 15:51:00

ayekat
Member
Registered: 2011-01-17
Posts: 1,590

Re: Git: could not create work tree dir "..." no such file or directory.

jpjenkins wrote:

even after a full reinstall with dependencies

... and after a pacman -Syu?

What's the output of this?

git clone -v [URL]

pkgshackscfgblag

Offline

#8 2015-10-18 15:51:38

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,575

Re: Git: could not create work tree dir "..." no such file or directory.

If it's a partial update issue, pacman -Su should fix it.

What shell?

Offline

#9 2015-10-18 15:55:27

jpjenkins
Member
Registered: 2014-03-24
Posts: 104

Re: Git: could not create work tree dir "..." no such file or directory.

Ummm. It just started working again. I've not done anything, it even failed when I was testing another repo a few minutes ago.

Very strange, thanks for your efforts anyway folks. Appreciated.

Offline

Board footer

Powered by FluxBB