threads / discuss / 55315

Git install crashed nearly whole System

Subject: Git install crashed nearly whole System

## tl;dr

11 messages between Mar 14, 2021 and Mar 19, 2021.

replies: 10people: 5as markdown or json

Christian Strasser· Mar 14, 2021, 18:23 UTC · lore
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!

For more information I added the history as an attachment to this email.

Information about my system:

Kernel : Linux 4.19.0-14-amd64 (x86_64) Version : #1 SMP Debian 4.19.171-2 (2021-01-30) C Library : GNU C Library / (Debian GLIBC 2.28-10) 2.28 Distribution : Debian GNU/Linux 10 (buster)

Gnome : Version: 3.30.2-11~deb10u2 (apt-cache show gnome- shell grep Version) -> 3.30.2

Best regards, Christian

...
Start-Date: 2021-03-13  19:10:24
Commandline: apt install git-all
Requested-By: christian (1000)
Install: libpackage-stash-perl:amd64 (0.38-1, automatic), exim4-base:amd64 (4.92-8+deb10u4, automatic), libnet-libidn-perl:amd64 (0.12.ds-3+b1, automatic), runit-sysv:amd64 (2.1.2-25, automatic), git-gui:amd64 (1:2.20.1-2+deb10u3, automatic), libb-hooks-op-check-perl:amd64 (0.22-1+b1, automatic), startpar:amd64 (0.61-1, automatic), libmodule-runtime-perl:amd64 (0.016-1, automatic), libserf-1-1:amd64 (1.3.9-7+b10, automatic), elpa-magit-popup:amd64 (2.12.5-1, automatic), libparams-validate-perl:amd64 (1.29-1+b1, automatic), tk:amd64 (8.6.9+1, automatic), libmediawiki-api-perl:amd64 (0.41-1, automatic), git-daemon-run:amd64 (1:2.20.1-2+deb10u3, automatic), libm17n-0:amd64 (1.8.0-2, automatic), elpa-dash:amd64 (2.14.1+dfsg-1, automatic), libdatetime-perl:amd64 (2:1.50-1+b1, automatic), libdata-optlist-perl:amd64 (0.110-1, automatic), git-man:amd64 (1:2.20.1-2+deb10u3, automatic), libjson-perl:amd64 (4.02000-1, automatic), libvariable-magic-perl:amd64 (0.62-1+b1, automatic), elpa-git-commit:amd64 (2.90.1-2, automatic), libtcl8.6:amd64 (8.6.9+dfsg-2, automatic), libdevel-callchecker-perl:amd64 (0.008-1, automatic), libutf8proc2:amd64 (2.3.0-1, automatic), libdbi-perl:amd64 (1.642-1+deb10u2, automatic), libyaml-perl:amd64 (1.27-1, automatic), libemail-valid-perl:amd64 (1.202-1, automatic), elpa-graphql:amd64 (0.1.1-3, automatic), libmagickwand-6.q16-6:amd64 (8:6.9.10.23+dfsg-2.1+deb10u1, automatic), cvs:amd64 (2:1.12.13+real-27, automatic), libb-hooks-endofscope-perl:amd64 (0.24-1, automatic), libcgi-fast-perl:amd64 (1:2.13-1, automatic), libalgorithm-c3-perl:amd64 (0.10-1, automatic), libexception-class-perl:amd64 (1.44-1, automatic), libspecio-perl:amd64 (0.43-1, automatic), libclass-singleton-perl:amd64 (1.5-1, automatic), libfcgi-perl:amd64 (0.78-2+b3, automatic), elpa-with-editor:amd64 (2.8.1-1, automatic), elpa-async:amd64 (1.9.3-1, automatic), libcgi-pm-perl:amd64 (4.40-1, automatic), insserv:amd64 (1.18.0-2, automatic), libnet-dns-perl:amd64 (1.19-1, automatic), libclass-c3-xs-perl:amd64 (0.14-1+b3, automatic), runit-helper:amd64 (2.8.6, automatic), git-svn:amd64 (1:2.20.1-2+deb10u3, automatic), libmodule-implementation-perl:amd64 (0.09-1, automatic), git:amd64 (1:2.20.1-2+deb10u3, automatic), exim4-daemon-light:amd64 (4.92-8+deb10u4, automatic), libpackage-stash-xs-perl:amd64 (0.29-1, automatic), libdevel-lexalias-perl:amd64 (0.05-2+b1, automatic), libsub-quote-perl:amd64 (2.005001-1, automatic), libsub-identify-perl:amd64 (0.14-1+b1, automatic), libsub-exporter-perl:amd64 (0.987-1, automatic), libdatetime-format-builder-perl:amd64 (0.8100-2, automatic), libclass-xsaccessor-perl:amd64 (1.19-3+b2, automatic), libparams-util-perl:amd64 (1.07-3+b4, automatic), libdevel-caller-perl:amd64 (2.06-2+b1, automatic), libterm-readkey-perl:amd64 (2.38-1, automatic), apache2-data:amd64 (2.4.38-3+deb10u4, automatic), emacs-bin-common:amd64 (1:26.1+1-3.2+deb10u2, automatic), libsvn1:amd64 (1.10.4-1+deb10u2, automatic), libsub-install-perl:amd64 (0.928-1, automatic), libjson-xs-perl:amd64 (3.040-1+b1, automatic), emacs-el:amd64 (1:26.1+1-3.2+deb10u2, automatic), libdynaloader-functions-perl:amd64 (0.003-1, automatic), libdigest-bubblebabble-perl:amd64 (0.02-2, automatic), elpa-ghub:amd64 (3.2.0-1, automatic), libclass-inspector-perl:amd64 (1.32-1, automatic), libdatetime-format-strptime-perl:amd64 (1.7600-1, automatic), libref-util-perl:amd64 (0.204-1, automatic), libfile-sharedir-perl:amd64 (1.116-2, automatic), gitk:amd64 (1:2.20.1-2+deb10u3, automatic), liblqr-1-0:amd64 (0.4.2-2.1, automatic), libunbound8:amd64 (1.9.0-2+deb10u2, automatic), libparams-classify-perl:amd64 (0.015-1+b1, automatic), libclass-method-modifiers-perl:amd64 (2.12-1, automatic), libotf0:amd64 (0.9.13-4, automatic), libsub-name-perl:amd64 (0.21-1+b3, automatic), mailutils-common:amd64 (1:3.5-4, automatic), libdatetime-timezone-perl:amd64 (1:2.23-1+2021a, automatic), libsvn-perl:amd64 (1.10.4-1+deb10u2, automatic), libgsasl7:amd64 (1.8.0-8+b2, automatic), exim4-config:amd64 (4.92-8+deb10u4, automatic), m17n-db:amd64 (1.8.0-1, automatic), librole-tiny-perl:amd64 (2.000006-1, automatic), emacs-gtk:amd64 (1:26.1+1-3.2+deb10u2, automatic), libntlm0:amd64 (1.5-1+deb10u1, automatic), cvsps:amd64 (2.1-8, automatic), tcl:amd64 (8.6.9+1, automatic), gitweb:amd64 (1:2.20.1-2+deb10u3, automatic), git-mediawiki:amd64 (1:2.20.1-2+deb10u3, automatic), libdatetime-format-iso8601-perl:amd64 (0.08-2, automatic), mailutils:amd64 (1:3.5-4, automatic), libnamespace-clean-perl:amd64 (0.27-1, automatic), tk8.6:amd64 (8.6.9-2, automatic), libnet-dns-sec-perl:amd64 (1.11-1, automatic), libreadonly-perl:amd64 (2.050-1, automatic), libdatetime-locale-perl:amd64 (1:1.23-1, automatic), libyaml-libyaml-perl:amd64 (0.76+repack-1, automatic), libtypes-serialiser-perl:amd64 (1.0-1, automatic), tcl8.6:amd64 (8.6.9+dfsg-2, automatic), sysvinit-core:amd64 (2.93-8, automatic), git-email:amd64 (1:2.20.1-2+deb10u3, automatic), libdevel-stacktrace-perl:amd64 (2.0300-1, automatic), libcommon-sense-perl:amd64 (3.74-2+b7, automatic), libclass-factory-util-perl:amd64 (1.7-3, automatic), libpadwalker-perl:amd64 (2.3-1+b1, automatic), libmagickcore-6.q16-6:amd64 (8:6.9.10.23+dfsg-2.1+deb10u1, automatic), emacs:amd64 (1:26.1+1-3.2+deb10u2, automatic), libmailutils5:amd64 (1:3.5-4, automatic), initscripts:amd64 (2.93-8, automatic), libdigest-hmac-perl:amd64 (1.03+dfsg-2, automatic), libnet-domain-tld-perl:amd64 (1.75-1, automatic), libclass-data-inheritable-perl:amd64 (0.08-3, automatic), libdbd-sqlite3-perl:amd64 (1.62-3, automatic), libeval-closure-perl:amd64 (0.14-1, automatic), libsub-exporter-progressive-perl:amd64 (0.001013-1, automatic), emacs-common:amd64 (1:26.1+1-3.2+deb10u2, automatic), libref-util-xs-perl:amd64 (0.117-1+b1, automatic), elpa-magit:amd64 (2.90.1-2, automatic), sysv-rc:amd64 (2.93-8, automatic), libgnutls-dane0:amd64 (3.6.7-4+deb10u6, automatic), apache2:amd64 (2.4.38-3+deb10u4, automatic), apache2-utils:amd64 (2.4.38-3+deb10u4, automatic), libtk8.6:amd64 (8.6.9-2, automatic), git-all:amd64 (1:2.20.1-2+deb10u3), libkyotocabinet16v5:amd64 (1.2.76-4.2+b1, automatic), libparams-validationcompiler-perl:amd64 (0.30-1, automatic), libclass-c3-perl:amd64 (0.34-1, automatic), install-info:amd64 (6.5.0.dfsg.1-4+b1, automatic), elpa-let-alist:amd64 (1.0.5-3, automatic), libnet-ip-perl:amd64 (1.26-2, automatic), elpa-treepy:amd64 (0.1.1-1, automatic), git-cvs:amd64 (1:2.20.1-2+deb10u3, automatic), libmro-compat-perl:amd64 (0.13-1, automatic), libnamespace-autoclean-perl:amd64 (0.28-1, automatic), git-doc:amd64 (1:2.20.1-2+deb10u3, automatic), imagemagick-6-common:amd64 (8:6.9.10.23+dfsg-2.1+deb10u1, automatic), runit:amd64 (2.1.2-25, automatic), git-el:amd64 (1:2.20.1-2+deb10u3, automatic), liblzo2-2:amd64 (2.10-0.1, automatic), sysuser-helper:amd64 (1.3.3, automatic), liberror-perl:amd64 (0.17027-2, automatic)
Remove: gnome-color-manager:amd64 (3.30.0-2), gnome-session:amd64 (3.30.1-2), gvfs-backends:amd64 (1.38.1-5), gnome-control-center:amd64 (1:3.30.3-2~deb10u1), chrome-gnome-shell:amd64 (10.1-5), rtkit:amd64 (0.11-6), gnome-software:amd64 (3.30.6-5), gnome-settings-daemon:amd64 (3.30.2-3), network-manager-gnome:amd64 (1.8.20-1.1), gnome-sushi:amd64 (3.30.0-2), gdm3:amd64 (3.30.2-3), network-manager:amd64 (1.14.6-2+deb10u1), packagekit-tools:amd64 (1.1.12-5), gnome-tweak-tool:amd64 (3.30.2-1), gnome-disk-utility:amd64 (3.30.2-3), gnome-tweaks:amd64 (3.30.2-1), gnome-music:amd64 (3.30.2-1), udisks2:amd64 (2.8.1-4), gvfs-fuse:amd64 (1.38.1-5), nautilus:amd64 (3.30.5-2), gnome-shell-extension-dash-to-panel:amd64 (18-1), task-gnome-desktop:amd64 (3.53), systemd-sysv:amd64 (241-7~deb10u6), libpam-systemd:amd64 (241-7~deb10u6), packagekit:amd64 (1.1.12-5), gnome-core:amd64 (1:3.30+1), gnome:amd64 (1:3.30+1), gnome-shell-extensions:amd64 (3.30.1-1), gufw:amd64 (18.10.0-1), policykit-1:amd64 (0.105-25), gvfs:amd64 (1.38.1-5), gnome-shell:amd64 (3.30.2-11~deb10u2), dbus-user-session:amd64 (1.12.20-0+deb10u1), nautilus-extension-brasero:amd64 (3.12.2-5), gstreamer1.0-packagekit:amd64 (1.1.12-5), gvfs-daemons:amd64 (1.38.1-5), colord:amd64 (1.4.3-4)
End-Date: 2021-03-13  19:11:08
...
Start-Date: 2021-03-14  13:25:10
Commandline: apt-get install git-all
Requested-By: christian (1000)
Install: libpackage-stash-perl:amd64 (0.38-1, automatic), runit-sysv:amd64 (2.1.2-25, automatic), git-gui:amd64 (1:2.20.1-2+deb10u3, automatic), libb-hooks-op-check-perl:amd64 (0.22-1+b1, automatic), libmodule-runtime-perl:amd64 (0.016-1, automatic), libserf-1-1:amd64 (1.3.9-7+b10, automatic), elpa-magit-popup:amd64 (2.12.5-1, automatic), libparams-validate-perl:amd64 (1.29-1+b1, automatic), tk:amd64 (8.6.9+1, automatic), libmediawiki-api-perl:amd64 (0.41-1, automatic), git-daemon-run:amd64 (1:2.20.1-2+deb10u3, automatic), libm17n-0:amd64 (1.8.0-2, automatic), elpa-dash:amd64 (2.14.1+dfsg-1, automatic), libdatetime-perl:amd64 (2:1.50-1+b1, automatic), libdata-optlist-perl:amd64 (0.110-1, automatic), git-man:amd64 (1:2.20.1-2+deb10u3, automatic), libjson-perl:amd64 (4.02000-1, automatic), libvariable-magic-perl:amd64 (0.62-1+b1, automatic), elpa-git-commit:amd64 (2.90.1-2, automatic), libtcl8.6:amd64 (8.6.9+dfsg-2, automatic), libdevel-callchecker-perl:amd64 (0.008-1, automatic), libutf8proc2:amd64 (2.3.0-1, automatic), libyaml-perl:amd64 (1.27-1, automatic), libemail-valid-perl:amd64 (1.202-1, automatic), elpa-graphql:amd64 (0.1.1-3, automatic), libmagickwand-6.q16-6:amd64 (8:6.9.10.23+dfsg-2.1+deb10u1, automatic), cvs:amd64 (2:1.12.13+real-27, automatic), libb-hooks-endofscope-perl:amd64 (0.24-1, automatic), libcgi-fast-perl:amd64 (1:2.13-1, automatic), libalgorithm-c3-perl:amd64 (0.10-1, automatic), libexception-class-perl:amd64 (1.44-1, automatic), libspecio-perl:amd64 (0.43-1, automatic), libclass-singleton-perl:amd64 (1.5-1, automatic), libfcgi-perl:amd64 (0.78-2+b3, automatic), elpa-with-editor:amd64 (2.8.1-1, automatic), elpa-async:amd64 (1.9.3-1, automatic), libcgi-pm-perl:amd64 (4.40-1, automatic), libnet-dns-perl:amd64 (1.19-1, automatic), libclass-c3-xs-perl:amd64 (0.14-1+b3, automatic), runit-helper:amd64 (2.8.6, automatic), git-svn:amd64 (1:2.20.1-2+deb10u3, automatic), libmodule-implementation-perl:amd64 (0.09-1, automatic), git:amd64 (1:2.20.1-2+deb10u3, automatic), libpackage-stash-xs-perl:amd64 (0.29-1, automatic), libdevel-lexalias-perl:amd64 (0.05-2+b1, automatic), libsub-quote-perl:amd64 (2.005001-1, automatic), libsub-identify-perl:amd64 (0.14-1+b1, automatic), libsub-exporter-perl:amd64 (0.987-1, automatic), libdatetime-format-builder-perl:amd64 (0.8100-2, automatic), libclass-xsaccessor-perl:amd64 (1.19-3+b2, automatic), libparams-util-perl:amd64 (1.07-3+b4, automatic), libdevel-caller-perl:amd64 (2.06-2+b1, automatic), libsvn1:amd64 (1.10.4-1+deb10u2, automatic), libsub-install-perl:amd64 (0.928-1, automatic), libjson-xs-perl:amd64 (3.040-1+b1, automatic), libdynaloader-functions-perl:amd64 (0.003-1, automatic), libdigest-bubblebabble-perl:amd64 (0.02-2, automatic), elpa-ghub:amd64 (3.2.0-1, automatic), libclass-inspector-perl:amd64 (1.32-1, automatic), libdatetime-format-strptime-perl:amd64 (1.7600-1, automatic), libref-util-perl:amd64 (0.204-1, automatic), libfile-sharedir-perl:amd64 (1.116-2, automatic), gitk:amd64 (1:2.20.1-2+deb10u3, automatic), liblqr-1-0:amd64 (0.4.2-2.1, automatic), libparams-classify-perl:amd64 (0.015-1+b1, automatic), libclass-method-modifiers-perl:amd64 (2.12-1, automatic), libotf0:amd64 (0.9.13-4, automatic), libdatetime-timezone-perl:amd64 (1:2.23-1+2021a, automatic), libsvn-perl:amd64 (1.10.4-1+deb10u2, automatic), m17n-db:amd64 (1.8.0-1, automatic), librole-tiny-perl:amd64 (2.000006-1, automatic), emacs-gtk:amd64 (1:26.1+1-3.2+deb10u2, automatic), cvsps:amd64 (2.1-8, automatic), tcl:amd64 (8.6.9+1, automatic), gitweb:amd64 (1:2.20.1-2+deb10u3, automatic), git-mediawiki:amd64 (1:2.20.1-2+deb10u3, automatic), libdatetime-format-iso8601-perl:amd64 (0.08-2, automatic), libnamespace-clean-perl:amd64 (0.27-1, automatic), tk8.6:amd64 (8.6.9-2, automatic), libnet-dns-sec-perl:amd64 (1.11-1, automatic), libreadonly-perl:amd64 (2.050-1, automatic), libdatetime-locale-perl:amd64 (1:1.23-1, automatic), libyaml-libyaml-perl:amd64 (0.76+repack-1, automatic), libtypes-serialiser-perl:amd64 (1.0-1, automatic), tcl8.6:amd64 (8.6.9+dfsg-2, automatic), sysvinit-core:amd64 (2.93-8, automatic), git-email:amd64 (1:2.20.1-2+deb10u3, automatic), libdevel-stacktrace-perl:amd64 (2.0300-1, automatic), libcommon-sense-perl:amd64 (3.74-2+b7, automatic), libclass-factory-util-perl:amd64 (1.7-3, automatic), libpadwalker-perl:amd64 (2.3-1+b1, automatic), libmagickcore-6.q16-6:amd64 (8:6.9.10.23+dfsg-2.1+deb10u1, automatic), emacs:amd64 (1:26.1+1-3.2+deb10u2, automatic), libnet-domain-tld-perl:amd64 (1.75-1, automatic), libclass-data-inheritable-perl:amd64 (0.08-3, automatic), libdbd-sqlite3-perl:amd64 (1.62-3, automatic), libeval-closure-perl:amd64 (0.14-1, automatic), libsub-exporter-progressive-perl:amd64 (0.001013-1, automatic), libref-util-xs-perl:amd64 (0.117-1+b1, automatic), elpa-magit:amd64 (2.90.1-2, automatic), libtk8.6:amd64 (8.6.9-2, automatic), git-all:amd64 (1:2.20.1-2+deb10u3), libparams-validationcompiler-perl:amd64 (0.30-1, automatic), libclass-c3-perl:amd64 (0.34-1, automatic), elpa-let-alist:amd64 (1.0.5-3, automatic), libnet-ip-perl:amd64 (1.26-2, automatic), elpa-treepy:amd64 (0.1.1-1, automatic), git-cvs:amd64 (1:2.20.1-2+deb10u3, automatic), libmro-compat-perl:amd64 (0.13-1, automatic), libnamespace-autoclean-perl:amd64 (0.28-1, automatic), git-doc:amd64 (1:2.20.1-2+deb10u3, automatic), imagemagick-6-common:amd64 (8:6.9.10.23+dfsg-2.1+deb10u1, automatic), runit:amd64 (2.1.2-25, automatic), git-el:amd64 (1:2.20.1-2+deb10u3, automatic), sysuser-helper:amd64 (1.3.3, automatic), liberror-perl:amd64 (0.17027-2, automatic)
Remove: gnome-color-manager:amd64 (3.30.0-2), gnome-session:amd64 (3.30.1-2), gvfs-backends:amd64 (1.38.1-5), gnome-control-center:amd64 (1:3.30.3-2~deb10u1), chrome-gnome-shell:amd64 (10.1-5), rtkit:amd64 (0.11-6), gnome-software:amd64 (3.30.6-5), gnome-settings-daemon:amd64 (3.30.2-3), network-manager-gnome:amd64 (1.8.20-1.1), gnome-sushi:amd64 (3.30.0-2), gdm3:amd64 (3.30.2-3), network-manager:amd64 (1.14.6-2+deb10u1), packagekit-tools:amd64 (1.1.12-5), gnome-tweak-tool:amd64 (3.30.2-1), gnome-disk-utility:amd64 (3.30.2-3), gnome-tweaks:amd64 (3.30.2-1), gnome-music:amd64 (3.30.2-1), udisks2:amd64 (2.8.1-4), gvfs-fuse:amd64 (1.38.1-5), nautilus:amd64 (3.30.5-2), gnome-shell-extension-dash-to-panel:amd64 (18-1), systemd-sysv:amd64 (241-7~deb10u6), libpam-systemd:amd64 (241-7~deb10u6), packagekit:amd64 (1.1.12-5), gnome-shell-extensions:amd64 (3.30.1-1), gufw:amd64 (18.10.0-1), policykit-1:amd64 (0.105-25), gvfs:amd64 (1.38.1-5), gnome-shell:amd64 (3.30.2-11~deb10u2), dbus-user-session:amd64 (1.12.20-0+deb10u1), nautilus-extension-brasero:amd64 (3.12.2-5), gstreamer1.0-packagekit:amd64 (1.1.12-5), gvfs-daemons:amd64 (1.38.1-5), colord:amd64 (1.4.3-4)
End-Date: 2021-03-14  13:25:34
...
Santiago Torres Arias· Mar 14, 2021, 18:52 UTC · re: Christian Strasser · lore

Re: Git install crashed nearly whole System

Hi, 
On Sun, Mar 14, 2021 at 07:23:40PM +0100, Christian Strasser wrote:
> Hello all,
> 
> I installed Git yesterday on my system. For that I used “sudo apt-get
> install git-all”.  

I'm not sure if this list is aware of this specific debian meta-package, but this reads like a scary packaging mistake that needs fixing asap. I think this would probably be sent to the Debian packager for git-all. You can probably ask the people listed as uploaders in here[1]

Show 24 quoted lines
> 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! 
> 
> For more information I added the history as an attachment to this
> email. 
> 
> Information about my system:
> 
> Kernel          : Linux 4.19.0-14-amd64 (x86_64)
> Version         : #1 SMP Debian 4.19.171-2 (2021-01-30)
> C Library       : GNU C Library / (Debian GLIBC 2.28-10) 2.28
> Distribution    : Debian GNU/Linux 10 (buster)
> 
> Gnome           : Version: 3.30.2-11~deb10u2 (apt-cache show gnome-
> shell  grep Version) -> 3.30.2
> 
> Best regards,
> Christian
> ...
> Start-Date: 2021-03-13  19:10:24
> Remove: gnome-color-manager:amd64 (3.30.0-2), gnome-session:amd64 (3.30.1-2), gvfs-backends:amd64 (1.38.1-5), gnome-control-center:amd64 (1:3.30.3-2~deb10u1), chrome-gnome-shell:amd64 (10.1-5), rtkit:amd64 (0.11-6), gnome-software:amd64 (3.30.6-5), gnome-settings-daemon:amd64 (3.30.2-3), network-manager-gnome:amd64 (1.8.20-1.1), gnome-sushi:amd64 (3.30.0-2), gdm3:amd64 (3.30.2-3), network-manager:amd64 (1.14.6-2+deb10u1), packagekit-tools:amd64 (1.1.12-5), gnome-tweak-tool:amd64 (3.30.2-1), gnome-disk-utility:amd64 (3.30.2-3), gnome-tweaks:amd64 (3.30.2-1), gnome-music:amd64 (3.30.2-1), udisks2:amd64 (2.8.1-4), gvfs-fuse:amd64 (1.38.1-5), nautilus:amd64 (3.30.5-2), gnome-shell-extension-dash-to-panel:amd64 (18-1), systemd-sysv:amd64 (241-7~deb10u6), libpam-systemd:amd64 

These last removals in particular look rather bad, but I don't see how they could be triggered by downloading git-all. Are you sure this only happens when you run apt install git-all?

Cheers! -Santiago

[1] https://tracker.debian.org/pkg/git
Christian Strasser· Mar 18, 2021, 11:34 UTC · re: Santiago Torres Arias · lore

Re: Git install crashed nearly whole System

Hello Santiago,
Thanks a lot for your information. 
Yes, I'm sure everything happened after I run sudo apt install git-all.

Greetings, Christian

On Sun, 2021-03-14 at 14:52 -0400, Santiago Torres Arias wrote:
Show 68 quoted lines
> Hi, 
> 
> On Sun, Mar 14, 2021 at 07:23:40PM +0100, Christian Strasser wrote:
> > Hello all,
> > 
> > I installed Git yesterday on my system. For that I used “sudo apt-
> > get
> > install git-all”.  
> 
> I'm not sure if this list is aware of this specific debian meta-
> package,
> but this reads like a scary packaging mistake that needs fixing asap.
> I
> think this would probably be sent to the Debian packager for git-all.
> You can probably ask the people listed as uploaders in here[1]
> 
> > 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! 
> > 
> > For more information I added the history as an attachment to this
> > email. 
> > 
> > Information about my system:
> > 
> > Kernel          : Linux 4.19.0-14-amd64 (x86_64)
> > Version         : #1 SMP Debian 4.19.171-2 (2021-01-30)
> > C Library       : GNU C Library / (Debian GLIBC 2.28-10) 2.28
> > Distribution    : Debian GNU/Linux 10 (buster)
> > 
> > Gnome           : Version: 3.30.2-11~deb10u2 (apt-cache show gnome-
> > shell  grep Version) -> 3.30.2
> > 
> > Best regards,
> > Christian
> > ...
> > Start-Date: 2021-03-13  19:10:24
> > Remove: gnome-color-manager:amd64 (3.30.0-2), gnome-session:amd64
> > (3.30.1-2), gvfs-backends:amd64 (1.38.1-5), gnome-control-
> > center:amd64 (1:3.30.3-2~deb10u1), chrome-gnome-shell:amd64 (10.1-
> > 5), rtkit:amd64 (0.11-6), gnome-software:amd64 (3.30.6-5), gnome-
> > settings-daemon:amd64 (3.30.2-3), network-manager-gnome:amd64
> > (1.8.20-1.1), gnome-sushi:amd64 (3.30.0-2), gdm3:amd64 (3.30.2-3),
> > network-manager:amd64 (1.14.6-2+deb10u1), packagekit-tools:amd64
> > (1.1.12-5), gnome-tweak-tool:amd64 (3.30.2-1), gnome-disk-
> > utility:amd64 (3.30.2-3), gnome-tweaks:amd64 (3.30.2-1), gnome-
> > music:amd64 (3.30.2-1), udisks2:amd64 (2.8.1-4), gvfs-fuse:amd64
> > (1.38.1-5), nautilus:amd64 (3.30.5-2), gnome-shell-extension-dash-
> > to-panel:amd64 (18-1), systemd-sysv:amd64 (241-7~deb10u6), libpam-
> > systemd:amd64 
> 
> These last removals in particular look rather bad, but I don't see
> how
> they could be triggered by downloading git-all. Are you sure this
> only
> happens when you run apt install git-all?
> 
> Cheers!
> -Santiago
> 
> [1] https://tracker.debian.org/pkg/git
brian m. carlson· Mar 14, 2021, 20:20 UTC · re: Christian Strasser · lore

Re: Git install crashed nearly whole System

On 2021-03-14 at 18:23:40, Christian Strasser wrote:
Show 11 quoted lines
> 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
Christian Strasser· Mar 18, 2021, 10:37 UTC · re: brian m. carlson · lore

Re: Git install crashed nearly whole System

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:
Show 59 quoted lines
> 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· Mar 18, 2021, 16:33 UTC · re: Christian Strasser · lore

Re: Git install crashed nearly whole System

On 2021-03-18 at 10:37:04, Christian Strasser wrote:
Show 8 quoted lines
> 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).

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.

> 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.

-- 
brian m. carlson (he/him or they/them)
Houston, Texas, US
Jeff King· Mar 18, 2021, 17:00 UTC · re: brian m. carlson · lore

Re: Git install crashed nearly whole System

On Thu, Mar 18, 2021 at 04:33:52PM +0000, brian m. carlson wrote:
Show 10 quoted lines
> > 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).

Show 12 quoted lines
> > 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
brian m. carlson· Mar 18, 2021, 17:24 UTC · re: Jeff King · lore

Re: Git install crashed nearly whole System

On 2021-03-18 at 17:00:04, Jeff King wrote:
Show 21 quoted lines
> On Thu, Mar 18, 2021 at 04:33:52PM +0000, brian m. carlson wrote:
> > 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.

Yeah, and I think that https://bugs.debian.org/953875 has fixed the problem where installing runit (by using git-daemon-run) would switch the default init system. So in bullseye, this will probably be fixed even if the daemon does get installed.

I think the person who previously maintained both Git and runit in Debian was busy with other things for a while, which prevented this issue from being fixed. Now Jonathan is maintaining Git (and is doing a great job, especially with the next builds in experimental) and someone else has taken over runit and fixed the problem mentioned above, which occasionally caused this same problem with other packages as well.

So I think this will sort itself out in the next release, and in the meantime, just be careful with git-all in buster and older.

-- 
brian m. carlson (he/him or they/them)
Houston, Texas, US
Christian Strasser· Mar 19, 2021, 15:50 UTC · re: brian m. carlson · lore

Re: Git install crashed nearly whole System

Hello all,
Thanks a lot for your effort. :-)

Greetings, Christian

On Thu, 2021-03-18 at 17:24 +0000, brian m. carlson wrote:
Show 50 quoted lines
> On 2021-03-18 at 17:00:04, Jeff King wrote:
> > On Thu, Mar 18, 2021 at 04:33:52PM +0000, brian m. carlson wrote:
> > > 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.
> 
> Yeah, and I think that https://bugs.debian.org/953875 has fixed the
> problem where installing runit (by using git-daemon-run) would switch
> the default init system.  So in bullseye, this will probably be
> fixed even if the daemon does get installed.
> 
> I think the person who previously maintained both Git and runit in
> Debian was busy with other things for a while, which prevented this
> issue from being fixed.  Now Jonathan is maintaining Git (and is
> doing a
> great job, especially with the next builds in experimental) and
> someone
> else has taken over runit and fixed the problem mentioned above,
> which
> occasionally caused this same problem with other packages as well.
> 
> So I think this will sort itself out in the next release, and in the
> meantime, just be careful with git-all in buster and older.
Randall S. Becker· Mar 14, 2021, 21:17 UTC · re: Christian Strasser · lore

RE: Git install crashed nearly whole System

On March 14, 2021 2:24 PM, Christian Strasser wrote:
Show 22 quoted lines
> Subject: Git install crashed nearly whole System
> 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!
> 
> For more information I added the history as an attachment to this email.
> 
> Information about my system:
> 
> Kernel          : Linux 4.19.0-14-amd64 (x86_64)
> Version         : #1 SMP Debian 4.19.171-2 (2021-01-30)
> C Library       : GNU C Library / (Debian GLIBC 2.28-10) 2.28
> Distribution    : Debian GNU/Linux 10 (buster)
> 
> Gnome           : Version: 3.30.2-11~deb10u2 (apt-cache show gnome-
> shell  grep Version) -> 3.30.2
I think it might be appropriate to report this to the apt team. The links can be found here: https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedureshould
I just (2021 Mar 03 2115Z) ran apt-get update and apt-get upgrade git. Yes, it did upgrade a whole lot of packages, including ansible, git, syslog, openssh, and many others. The apt manager for ubuntu only appears to know about git 2.7.4. You might have to add the git-core repository using: add-apt-repository ppa:git-core/ppa -y
After I added that, then ran apt-get upgrade git, I am now on git 2.29.0. Granted this is Ubuntu, not Debian, but apt should be ok. I'm not sure about the "git-all" package. I have never used that one (not is it certified at my place - just "git" is).

Regards, Randall

Christian Strasser· Mar 18, 2021, 09:54 UTC · re: Randall S. Becker · lore

Re: Git install crashed nearly whole System

On Sun, 2021-03-14 at 17:17 -0400, Randall S. Becker wrote:
Show 48 quoted lines
> On March 14, 2021 2:24 PM, Christian Strasser wrote:
> > Subject: Git install crashed nearly whole System
> > 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!
> > 
> > For more information I added the history as an attachment to this
> > email.
> > 
> > Information about my system:
> > 
> > Kernel          : Linux 4.19.0-14-amd64 (x86_64)
> > Version         : #1 SMP Debian 4.19.171-2 (2021-01-30)
> > C Library       : GNU C Library / (Debian GLIBC 2.28-10) 2.28
> > Distribution    : Debian GNU/Linux 10 (buster)
> > 
> > Gnome           : Version: 3.30.2-11~deb10u2 (apt-cache show gnome-
> > shell  grep Version) -> 3.30.2
> 
> I think it might be appropriate to report this to the apt team. The
> links can be found here: 
> https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedureshould
> 
> I just (2021 Mar 03 2115Z) ran apt-get update and apt-get upgrade
> git. Yes, it did upgrade a whole lot of packages, including ansible,
> git, syslog, openssh, and many others. The apt manager for ubuntu
> only appears to know about git 2.7.4. You might have to add the git-
> core repository using: add-apt-repository ppa:git-core/ppa -y
> 
> After I added that, then ran apt-get upgrade git, I am now on git
> 2.29.0. Granted this is Ubuntu, not Debian, but apt should be ok. I'm
> not sure about the "git-all" package. I have never used that one (not
> is it certified at my place - just "git" is).
> 
> Regards,
> Randall
> 
Hello Randall,
thank you for your reply. I'll consider your suggestion.
Regards,
Christian 
 

← back to recent threads