Skip to content

Why does the deb package depend on git? #256

@iainelder

Description

@iainelder

Describe the bug

$ apt depends cw-tail
cw-tail
  Depends: git
    git:i386
  Replaces: cw (<< 3.3.0)

In an Ubuntu 20 container it installs about 105MB of stuff when the executable itself is only about 9MB.

$ ls -lh "$(which cw)"
-rwxr-xr-x 1 root root 9.3M Apr 21 19:56 /usr/bin/cw

Copied from my CI install log.

+ sudo apt-get install --yes ./cw_amd64.deb
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  git git-man less libbsd0 libcbor0.6 libcurl3-gnutls libedit2 liberror-perl
  libexpat1 libfido2-1 libgdbm-compat4 libgdbm6 libperl5.30 libx11-6
  libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 netbase
  openssh-client patch perl perl-modules-5.30 xauth
Suggested packages:
  gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email
  git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n keychain
  libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc
  libterm-readline-gnu-perl | libterm-readline-perl-perl make libb-debug-perl
  liblocale-codes-perl
The following NEW packages will be installed:
  cw-tail git git-man less libbsd0 libcbor0.6 libcurl3-gnutls libedit2
  liberror-perl libexpat1 libfido2-1 libgdbm-compat4 libgdbm6 libperl5.30
  libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 netbase
  openssh-client patch perl perl-modules-5.30 xauth
0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded.
Need to get 14.7 MB/18.5 MB of archives.
After this operation, 105 MB of additional disk space will be used.

Expected behavior

One of the features is "No external dependencies", so I was surprised to see git as a dependency.

Desktop (please complete the following information):

  • OS: Ubuntu 20.04
  • Terminal: bash
  • cw version: 4.1.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions