git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "brian m. carlson" <sandals@crustytoothpaste.net>
To: Christian Strasser <christian@avr-fun.de>
Cc: git@vger.kernel.org
Subject: Re: Git install crashed nearly whole System
Date: Sun, 14 Mar 2021 20:20:39 +0000	[thread overview]
Message-ID: <YE5wFxE5RPew5zrJ@camp.crustytoothpaste.net> (raw)
In-Reply-To: <8aa7be071abc23371397f72b725babc4e4e90190.camel@avr-fun.de>

[-- Attachment #1: Type: text/plain, Size: 2323 bytes --]

On 2021-03-14 at 18:23:40, Christian Strasser wrote:
> Hello all,
> 
> I installed Git yesterday on my system. For that I used “sudo apt-get
> install git-all”.  During the installation a lot of very important
> packages got removed! It was horrible, and I couldn’t use my gnome
> desktop environment at all! A lot off dependencies got lost!
> Fortunately, I could save my system through read out the information
> about removed packages from the apt history.
> 
> Today I totally removed git and tried to install everything again with
> the same instruction. The same misbehavior did happen!

This is best reported to Debian because it's a packaging problem, but
I'll tell you what's happening.

By default, Debian installs recommends.  When you specified git-all, you
also asked to install git-daemon-run or git-daemon-sysvinit, and the
former is the preferred option.  So that causes systemd to be
uninstalled and sysvinit to replace it instead, and because GNOME on
Debian is configured to require systemd and not to work with sysvinit,
GNOME gets removed.

There are a couple problems here.

First, you don't want to install git-all as a package because it has
this behavior, and git-all should not be configured such that installing
it causes your init system to be changed.  That is a serious packaging
problem.

Second, GNOME should gracefully work with whatever init system is on the
system, so that users can pick the one that's right for them.  Non-Linux
systems don't even have systemd, so GNOME should be appropriately
packaged so it doesn't have this problem.

None of this has anything to do with Git the project, which provides
source tarballs only and relies on distributors to build binary
packages.  All of these are Debian packaging problems and should be
reported in a series of bugs to Debian (usually via reportbug).

In the meantime, you should install the git and git-man packages if you
want to use core Git, and optionally git-email, git-svn, or git-cvs if
you want various other parts.  You don't really want to run git-daemon
outside of a controlled environment because the Git protocol provides no
authentication or encryption and you shouldn't expose such services
publicly.
-- 
brian m. carlson (he/him or they/them)
Houston, Texas, US

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 263 bytes --]

  parent reply	other threads:[~2021-03-14 20:22 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 [this message]
2021-03-18 10:37   ` Christian Strasser
2021-03-18 16:33     ` brian m. carlson
2021-03-18 17:00       ` Jeff King
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=YE5wFxE5RPew5zrJ@camp.crustytoothpaste.net \
    --to=sandals@crustytoothpaste.net \
    --cc=christian@avr-fun.de \
    --cc=git@vger.kernel.org \
    /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).