git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Jeff King <peff@peff.net>
To: "brian m. carlson" <sandals@crustytoothpaste.net>
Cc: Christian Strasser <christian@avr-fun.de>, git@vger.kernel.org
Subject: Re: Git install crashed nearly whole System
Date: Thu, 18 Mar 2021 13:00:04 -0400	[thread overview]
Message-ID: <YFOHFABji5/sDZod@coredump.intra.peff.net> (raw)
In-Reply-To: <YFOA8ARUwa34tiTl@camp.crustytoothpaste.net>

On Thu, Mar 18, 2021 at 04:33:52PM +0000, brian m. carlson wrote:

> > I'm a little confused. Is the instruction on "
> > https://git-scm.com/book/en/v2/Getting-Started-Installing-Git" not the
> > official one? As you can see there, the first part is how to install
> > git with your package manager (git-all).
> 
> That is probably out of date, and I'd suggest reporting it to the
> appropriate spot, which is _probably_ https://github.com/git/git-scm.com
> (although it might be a separate repo).  The git-all package has had
> this problem for some time now, so I wouldn't recommend it as the
> default option.

The book content gets pulled in from a separate repo via an automated
process. The right spot here is https://github.com/progit/progit2.

We do recommend just "apt install git" on the downloads page:

  https://git-scm.com/download/linux

though that has created occasional confusion, too (e.g., some people
expect gitk).

> > Should I remove everything form "git-all" and reinstall everything
> > according to your advise? It seems no git daemon is working right now
> > (systemctl | grep git).
> 
> If everything's working for you, there's no need to change it.  It's
> _possible_ to install git-all and not have this problem, but because of
> the way modern versions of Debian and the packages in question are
> configured it ends up tending to have this problem by default.
> 
> In this case, it may be that git-daemon is installed but not configured
> to start, or it may have been removed when you reinstalled GNOME since
> it's not a hard dependency.

Yeah. I think fundamentally this is a packaging issue. It looks like
"git-daemon-*" has been downgraded to "Suggests" in Debian unstable. It
looks like this was done in 1:2.26.0-2 last April. From the changelog:

    * debian/control: downgrade Recommends by git-all on git-daemon-run
    to Suggests. The git-all package is a "batteries included" full
    installation of Git. Automatically running a daemon is not useful
    to most of its users.

So they are already aware of and addressed the problem, but older
releases will still show it.

-Peff

  reply	other threads:[~2021-03-18 17:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-14 18:23 Git install crashed nearly whole System Christian Strasser
2021-03-14 18:52 ` Santiago Torres Arias
2021-03-18 11:34   ` Christian Strasser
2021-03-14 20:20 ` brian m. carlson
2021-03-18 10:37   ` Christian Strasser
2021-03-18 16:33     ` brian m. carlson
2021-03-18 17:00       ` Jeff King [this message]
2021-03-18 17:24         ` brian m. carlson
2021-03-19 15:50           ` Christian Strasser
2021-03-14 21:17 ` Randall S. Becker
2021-03-18  9:54   ` Christian Strasser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YFOHFABji5/sDZod@coredump.intra.peff.net \
    --to=peff@peff.net \
    --cc=christian@avr-fun.de \
    --cc=git@vger.kernel.org \
    --cc=sandals@crustytoothpaste.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).