git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: "bash: git-upload-pack: command not found" ??

From
OKOliver Kullmann <o.kullmann@swansea.ac.uk>
Date
Mar 6, 2008, 13:54 UTC
Message-ID
<20080306135456.GG925@cs-wsok.swansea.ac.uk>
In-Reply-To
<20080306124710.GA10266@informatik.uni-freiburg.de>
On Thu, Mar 06, 2008 at 01:47:10PM +0100, Uwe Kleine-König wrote:
Show 15 quoted lines
> Hello,
> 
> Oliver Kullmann wrote:
> > Hello,
> > 
> > when using
> > 
> > Transitional> git pull ssh://user@host.xz/~/path/to/Transitional master
> > 
> > on a remote machine I get
> > 
> > Password:
> > bash: git-upload-pack: command not found
> > fatal: The remote end hung up unexpectedly
> Where is git-upload-pack on the server machine?
In the same directory as git, in /usr/local/bin/
>  Where do you set your
> PATH to include $(basedir git-upload-pack).

Hm, it's set "nowhere". Likely that's the problem: For a standard-user the path includes the git-directory, but not for the git-user.

Show 6 quoted lines
>  Does 
> 
> 	git pull --upload-pack /path/to/git-upload-pack ...
> 
> help?
>

Yes! That solves it (I won't fiddle around with the path settings, since I have also local installs etc., and that additional specification does the job).

Thanks!
Oliver
 
-- 
Dr. Oliver Kullmann
Computer Science Department
Swansea University
Faraday Building, Singleton Park
Swansea SA2 8PP, UK
http://cs.swan.ac.uk/~csoliver/
Previous: Uwe Kleine-KönigNext: Uwe Kleine-König
Message 3 of 4 in “"bash: git-upload-pack: command not found" ??”
  1. Oliver KullmannMar 6, 2008
  2. Uwe Kleine-KönigMar 6, 2008
  3. Oliver KullmannMar 6, 2008
  4. Uwe Kleine-KönigMar 6, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.