Your message dated Sat, 12 Sep 2020 17:41:43 -0700
with message-id <[email protected]>
and subject line Re: git-all: Installing on Debian XFCE base install removes 
core system packages
has caused the Debian Bug report #934646,
regarding git-all: Installing git-all on Debian XFCE base install removes core 
system packages
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
934646: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934646
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: git-all
Version: 1:2.20.1-2
Severity: important

Dear Maintainer,

I did a fresh install of Debian Stable using the 
firmware-10.0.0-amd64-netinst.iso image and installed the following tasks: 
Debian desktop environment, XFCE, print server and standard system utilities.  
After this I ran a script which installed my usual packages.  For reference 
these were:
-----
PACKAGELIST="emacs texlive texlive-latex-extra texlive-fonts-extra 
texlive-science texlive-games perl-tk latexmk auto-multiple-choice 
auto-multiple-choice-doc auctex psutils pstoedit pdftk pdfchain asymptote 
mkdocs mkdocs-doc elpa-markdown-mode xfig xfig-doc gsfonts-x11 fig2ps 
imagemagick inkscape krita blender build-essential glibc-doc git-all 
jupyter-core jupyter-notebook python3-widgetsnbextension jupyter-nbconvert  
python-notebook-doc python3-seaborn texlive-xetex python3-plotly python3-numpy 
python-numpy-doc python3-scipy python-scipy-doc idle3 python3-matplotlib 
python3-matplotlib-venn python-matplotlib-doc python3-mpmath python-mpmath-doc 
python3-gmpy2 python3-sympy python3-sympy-doc ipython3 python-ipython-doc 
wxmaxima evince sshfs sudo audacious gnome-sound-recorder simple-scan 
youtube-dl gnome-system-tools unattended-upgrades xournal deja-dup thunderbird 
locate xinput galculator obs-studio gigolo"
--------
After this was complete my networking and the lightdm window manager were no 
longer present.  Looking at the apt log showed that my apt -y autoinstall of 
git-all had caused the removal of the task-xfce-desktop package, the 
network-manager the lightdm display manager as well as other core packages. 
This was obviously unexpected.

Next I reinstalled Debian as above without the git-all package and tried to 
install the various dependencies of git-all to see what was going on.  Looking 
at the dependencies of git-all shows that it recommends git-daemon-run or 
git-daemon-sysvinit.  It turns out that the  git-daemon-run package is the one 
which appears to require the removal of the core packages above if you try to 
install it after a fresh install.

The upshot is that because the default Debian install method is to install 
recommends and because git-all recommends git-daemon-run which in turn does not 
play nicely with the basic XFCE installation described above the system becomes 
broken. My suggestion would be to do one of the following:

1) Fix the git-daemon-run package or its dependency which is causing this.  
This appears to be new behaviour in Debian 10 as it worked before in 9.
2) Make the default recommend git-daemon-sysvinit which at least does not cause 
this problem.
3) Make these recommended packages suggested only.

Thanks for your attention to this.

-- System Information:
Debian Release: 10.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_CA:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages git-all depends on:
ii  git            1:2.20.1-2
pn  git-cvs        <none>
ii  git-doc        1:2.20.1-2
pn  git-el         <none>
pn  git-email      <none>
ii  git-gui        1:2.20.1-2
pn  git-mediawiki  <none>
pn  git-svn        <none>
ii  gitk           1:2.20.1-2
pn  gitweb         <none>

Versions of packages git-all recommends:
pn  git-daemon-run | git-daemon-sysvinit  <none>

git-all suggests no packages.

--- End Message ---
--- Begin Message ---
Hi,

Greg Price wrote:

> Given the nature of the bug and the fix I think it would be
> appropriate to upload a similar fix for an update to buster (Debian
> 10). But I can't speak for Jonathan and he may feel differently.

Indeed, I don't think this is a candidate for an update to stable.

The behavior you're describing is not in the git package --- it's a
combination of

- runit packaging having problems

- the apt command being more willing to deinstall important packages
  than to install the second alternative in a Recommends (or to not
  install something from Recommends at all)

For the reason described in the changelog, I think it makes sense
to downgrade that Recommends to a Suggests for the next Debian
release because even people *not* affected by those two problems
benefit from not getting a git service automatically installed.  But
that's the kind of change that doesn't qualify for a stable update.

On the other hand, a fix to the runit packaging in stable would make
sense to me.

Thanks and hope that helps,
Jonathan

--- End Message ---

Reply via email to