From: Christian Strasser <christian@avr-fun.de>
To: "brian m. carlson" <sandals@crustytoothpaste.net>
Cc: git@vger.kernel.org
Subject: Re: Git install crashed nearly whole System
Date: Thu, 18 Mar 2021 11:37:04 +0100 [thread overview]
Message-ID: <b805d53740429a26413cdd4e756db29f95c98052.camel@avr-fun.de> (raw)
In-Reply-To: <YE5wFxE5RPew5zrJ@camp.crustytoothpaste.net>
Hello Brian,
First, I want to thank you for your detailed information.
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).
I have to admit that I'm new to the Linux world, and that I still have
to learn a lot about it.
After the disaster I reinstalled all lost packages (also GNOME)
according to the information in my apt history. Everything seems to
work fine now.
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).
Best regards form Germany,
Christian
On Sun, 2021-03-14 at 20:20 +0000, brian m. carlson wrote:
> 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.
next prev parent reply other threads:[~2021-03-18 10:38 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 [this message]
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=b805d53740429a26413cdd4e756db29f95c98052.camel@avr-fun.de \
--to=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).