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

Re: issues(?) installing git-lfs via fedora "dnf" command

From
Robert P. J. Day <rpjday@crashcourse.ca>
Date
May 21, 2018, 17:04 UTC
Message-ID
<alpine.LFD.2.21.1805211303260.19892@localhost.localdomain>
In-Reply-To
<20180521170353.GA10623@aiede.svl.corp.google.com>
On Mon, 21 May 2018, Jonathan Nieder wrote:
Show 25 quoted lines
> Robert P. J. Day wrote:
>
> >   $ sudo dnf install git-lfs
> [...]
> >   Running transaction
> >     Preparing        :
> >     Installing       : git-lfs-2.4.0-1.fc28.x86_64
> >     Running scriptlet: git-lfs-2.4.0-1.fc28.x86_64
> >   Error: Failed to call git rev-parse --git-dir --show-toplevel: "fatal:
> >   not a git repository (or any of the parent directories): .git\n"
> [...]
> > is one supposed to be *in* a git repository when installing, because i
> > was in fact at the top level of my linux kernel source repo, so i'm
> > unclear on what that "Error" is trying to tell me. am i just being
> > clueless? is this something that i should submit as a fedora packaging
> > issue?
>
> Yes, this looks like something that should be reported as a Fedora
> packaging issue.
>
> The packager should be able to find out whether it's an issue in
> git-lfs upstream and report it to that project if it is.  Git-lfs is
> not part of git.git; it's a separate project:
> https://github.com/git-lfs/git-lfs/blob/master/CONTRIBUTING.md
> I believe they use github's issue tracker to track bugs.
  it would *appear* that this is a combination of both a git issue,
and a red hat packaging issue:

https://bugzilla.redhat.com/show_bug.cgi?id=1580357 https://github.com/git-lfs/git-lfs/issues/3013

rday
Previous: Jonathan NiederNext: Jonathan Nieder
Message 3 of 5 in “issues(?) installing git-lfs via fedora "dnf" command”
  1. Robert P. J. DayMay 21, 2018
  2. Jonathan NiederMay 21, 2018
  3. Robert P. J. DayMay 21, 2018
  4. Jonathan NiederMay 21, 2018
  5. Robert P. J. DayMay 21, 2018

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.