microsoft / azurelinux

Linux OS for Azure 1P services and edge appliances
MIT License
4.31k stars 554 forks source link

yum install git will install too many packages #10421

Open mblaschke-daimlertruck opened 2 months ago

mblaschke-daimlertruck commented 2 months ago

Describe the bug

yum install git installs way too many packages (openssh, openldap, subversion?!)

To Reproduce Steps to reproduce the behavior:

  1. docker run -it --rm mcr.microsoft.com/cbl-mariner/base/core:2.0 sh
  2. yum update -y
  3. yum install git

result:

Loaded plugin: tdnfrepogpgcheck

Installing:
cracklib-dicts                   aarch64                  2.9.7-5.cm2                      mariner-official-base      8.85M                     4.05M
util-linux-libs                  aarch64                  2.37.4-9.cm2                     mariner-official-base      1.48M                   539.60k
cyrus-sasl-lib                   aarch64                  2.1.28-4.cm2                     mariner-official-base    701.61k                   167.79k
make                             aarch64                  4.3-3.cm2                        mariner-official-base      1.39M                   374.05k
libsemanage                      aarch64                  3.2-2.cm2                        mariner-official-base    300.15k                   181.97k
libcap-ng                        aarch64                  0.8.2-2.cm2                      mariner-official-base    111.09k                    53.14k
mpfr                             aarch64                  4.1.0-2.cm2                      mariner-official-base    513.66k                   260.98k
cracklib                         aarch64                  2.9.7-5.cm2                      mariner-official-base     70.61k                    37.83k
openldap                         aarch64                  2.4.57-9.cm2                     mariner-official-base      1.57M                   679.76k
libpwquality                     aarch64                  1.4.4-1.cm2                      mariner-official-base    387.65k                   115.94k
shadow-utils                     aarch64                  4.9-13.cm2                       mariner-official-base      4.26M                     1.48M
pam                              aarch64                  1.5.1-6.cm2                      mariner-official-base      1.02M                   418.28k
audit-libs                       aarch64                  3.0.6-8.cm2                      mariner-official-base    278.03k                   128.57k
perl-vmsish                      noarch                   1.04-489.cm2                     mariner-official-base      7.51k                    89.99k
perl-version                     noarch                   8:0.99.28-489.cm2                mariner-official-base     56.30k                   116.55k
perl-User-pwent                  noarch                   1.03-489.cm2                     mariner-official-base     19.12k                    96.96k
perl-Unicode-UCD                 noarch                   0.75-489.cm2                     mariner-official-base    205.63k                   159.85k
perl-Unicode-Normalize           aarch64                  1.28-489.cm2                     mariner-official-base    617.17k                   162.13k
perl-Unicode-Collate             aarch64                  1.29-489.cm2                     mariner-official-base      5.04M                   909.50k
perl-Time-Piece                  aarch64                  1.3401-489.cm2                   mariner-official-base     68.58k                   119.12k
perl-Time-Local                  noarch                   2:1.300-489.cm2                  mariner-official-base     21.99k                    98.22k
perl-Time-HiRes                  aarch64                  4:1.9767-489.cm2                 mariner-official-base     65.55k                   117.47k
perl-Time                        noarch                   1.03-489.cm2                     mariner-official-base     12.74k                    94.73k
perl-Tie-RefHash                 noarch                   1.40-489.cm2                     mariner-official-base     11.69k                    91.61k
perl-Tie-Memoize                 noarch                   1.1-489.cm2                      mariner-official-base      7.13k                    90.03k
perl-Tie-File                    noarch                   1.06-489.cm2                     mariner-official-base     86.45k                   121.72k
perl-Tie                         noarch                   4.6-489.cm2                      mariner-official-base     36.13k                   108.53k
perl-threads-shared              aarch64                  1.62-489.cm2                     mariner-official-base     67.12k                   119.20k
perl-Thread-Semaphore            noarch                   2.13-489.cm2                     mariner-official-base     10.95k                    91.65k
perl-threads                     aarch64                  1:2.26-489.cm2                   mariner-official-base     90.17k                   131.04k
perl-Thread-Queue                noarch                   3.14-489.cm2                     mariner-official-base     22.63k                    95.99k
perl-Thread                      noarch                   3.05-489.cm2                     mariner-official-base     13.05k                    94.25k
perl-Text-Balanced               noarch                   2.04-489.cm2                     mariner-official-base     90.98k                   122.29k
perl-Text-Abbrev                 noarch                   1.02-489.cm2                     mariner-official-base      3.99k                    87.94k
perl-Test-Simple                 noarch                   3:1.302183-489.cm2               mariner-official-base    840.62k                   520.11k
perl-Test-Harness                noarch                   1:3.43-489.cm2                   mariner-official-base    503.25k                   355.40k
perl-Test                        noarch                   1.31-489.cm2                     mariner-official-base     37.91k                   105.61k
perl-Term-ReadLine               noarch                   1.17-489.cm2                     mariner-official-base     18.20k                    95.41k
perl-Term-Complete               noarch                   1.403-489.cm2                    mariner-official-base      6.66k                    88.88k
perl-Term-Cap                    noarch                   1.17-489.cm2                     mariner-official-base     23.88k                    96.62k
perl-Term-ANSIColor              noarch                   5.01-489.cm2                     mariner-official-base     67.85k                   117.31k
perl-Sys-Syslog                  aarch64                  0.36-489.cm2                     mariner-official-base     75.21k                   119.58k
perl-Sys-Hostname                aarch64                  1.23-489.cm2                     mariner-official-base     12.44k                    92.72k
perl-subs                        noarch                   1.04-489.cm2                     mariner-official-base      3.03k                    87.50k
perl-sort                        noarch                   2.04-489.cm2                     mariner-official-base      6.69k                    89.37k
perl-Socket                      aarch64                  4:2.031-489.cm2                  mariner-official-base     88.75k                   124.18k
perl-sigtrap                     noarch                   1.09-489.cm2                     mariner-official-base     11.99k                    91.69k
perl-SelfLoader                  noarch                   1.26-489.cm2                     mariner-official-base     23.37k                    98.13k
perl-SelectSaver                 noarch                   1.02-489.cm2                     mariner-official-base      3.10k                    87.51k
perl-Search-Dict                 noarch                   1.07-489.cm2                     mariner-official-base      5.59k                    88.94k
perl-Safe                        noarch                   2.43-489.cm2                     mariner-official-base     31.64k                   101.83k
perl-POSIX                       aarch64                  1.97-489.cm2                     mariner-official-base    236.54k                   182.78k
perl-Pod-Usage                   noarch                   4:2.01-489.cm2                   mariner-official-base     45.12k                   109.20k
perl-Pod-Simple                  noarch                   1:3.42-489.cm2                   mariner-official-base    543.08k                   308.06k
perl-Pod-Perldoc                 noarch                   3.28.01-489.cm2                  mariner-official-base    152.39k                   161.22k
perl-podlators                   noarch                   1:4.14-489.cm2                   mariner-official-base    220.15k                   180.47k
perl-Pod-Html                    noarch                   1.27-489.cm2                     mariner-official-base     38.26k                   104.14k
perl-Pod-Escapes                 noarch                   1:1.07-489.cm2                   mariner-official-base     21.62k                    95.94k
perl-Pod-Checker                 noarch                   4:1.74-489.cm2                   mariner-official-base     46.78k                   108.29k
perl-Perl-OSType                 noarch                   1.010-489.cm2                    mariner-official-base      7.66k                    90.74k
perl-PerlIO-via-QuotedPrint      noarch                   0.09-489.cm2                     mariner-official-base      7.55k                    90.18k
perl-perlfaq                     noarch                   5.20210411-489.cm2               mariner-official-base    710.17k                   463.96k
perl-Params-Check                noarch                   1:0.38-489.cm2                   mariner-official-base     24.73k                    98.08k
perl-open                        noarch                   1.12-489.cm2                     mariner-official-base     12.16k                    92.52k
perl-Opcode                      aarch64                  1.50-489.cm2                     mariner-official-base     49.79k                   114.71k
perl-ODBM_File                   aarch64                  1.17-489.cm2                     mariner-official-base     24.89k                    98.23k
perl-NEXT                        noarch                   0.68-489.cm2                     mariner-official-base     24.53k                    97.57k
perl-Net-Ping                    noarch                   2.74-489.cm2                     mariner-official-base     91.78k                   119.21k
perl-Net                         noarch                   1.02-489.cm2                     mariner-official-base     26.51k                   101.90k
perl-NDBM_File                   aarch64                  1.15-489.cm2                     mariner-official-base     25.08k                    98.25k
perl-Module-Metadata             noarch                   1.000037-489.cm2                 mariner-official-base     39.26k                   103.08k
perl-Module-Loaded               noarch                   1:0.08-489.cm2                   mariner-official-base      5.90k                    89.29k
perl-Module-Load-Conditional     noarch                   0.74-489.cm2                     mariner-official-base     23.84k                    97.42k
perl-Module-Load                 noarch                   1:0.36-489.cm2                   mariner-official-base     12.96k                    92.76k
perl-Module-CoreList-tools       noarch                   1:5.20220313-489.cm2             mariner-official-base     18.53k                    93.59k
perl-Module-CoreList             noarch                   1:5.20220313-489.cm2             mariner-official-base    997.51k                   170.84k
perl-meta-notation               noarch                   5.34.1-489.cm2                   mariner-official-base      2.07k                    85.52k
perl-Memoize                     noarch                   1.03-489.cm2                     mariner-official-base     81.53k                   135.70k
perl-Math-Complex                noarch                   1.59-489.cm2                     mariner-official-base     86.19k                   125.34k
perl-Math-BigRat                 noarch                   0.2614-489.cm2                   mariner-official-base     84.67k                   110.07k
perl-Math-BigInt-FastCalc        aarch64                  0.500.900-489.cm2                mariner-official-base     22.06k                    97.93k
perl-Locale-Maketext-Simple      noarch                   1:0.21-489.cm2                   mariner-official-base     13.71k                    93.95k
perl-Locale-Maketext             noarch                   1.29-489.cm2                     mariner-official-base    164.72k                   174.87k
perl-locale                      noarch                   1.10-489.cm2                     mariner-official-base      7.20k                    89.60k
perl-libnetcfg                   noarch                   4:5.34.1-489.cm2                 mariner-official-base     17.84k                    92.56k
perl-libnet                      noarch                   3.13-489.cm2                     mariner-official-base    258.37k                   200.74k
perl-lib                         aarch64                  0.65-489.cm2                     mariner-official-base      9.44k                    90.93k
perl-less                        noarch                   0.03-489.cm2                     mariner-official-base      5.83k                    89.10k
perl-JSON-PP                     noarch                   1:4.06-489.cm2                   mariner-official-base    128.22k                   142.28k
perl-IPC-SysV                    aarch64                  2.09-489.cm2                     mariner-official-base     63.79k                   117.07k
perl-IPC-Cmd                     noarch                   2:1.04-489.cm2                   mariner-official-base     74.34k                   114.33k
perl-IO-Zlib                     noarch                   1:1.11-489.cm2                   mariner-official-base     20.37k                    95.36k
perl-IO-Socket-IP                noarch                   0.41-489.cm2                     mariner-official-base     48.24k                   107.38k
perl-IO-Compress                 noarch                   2.102-489.cm2                    mariner-official-base    801.11k                   340.04k
perl-I18N-LangTags               noarch                   0.45-489.cm2                     mariner-official-base     85.19k                   133.08k
perl-I18N-Langinfo               aarch64                  0.19-489.cm2                     mariner-official-base     25.75k                    98.64k
perl-I18N-Collate                noarch                   1.02-489.cm2                     mariner-official-base      8.00k                    90.20k
perl-HTTP-Tiny                   noarch                   0.076-489.cm2                    mariner-official-base     86.27k                   117.23k
perl-Hash-Util-FieldHash         aarch64                  1.21-489.cm2                     mariner-official-base     59.08k                   115.91k
perl-Hash-Util                   aarch64                  0.25-489.cm2                     mariner-official-base     51.10k                   110.96k
perl-GDBM_File                   aarch64                  1:1.19-489.cm2                   mariner-official-base     47.48k                   107.62k
perl-FindBin                     noarch                   1.52-489.cm2                     mariner-official-base      7.35k                    90.03k
perl-Filter-Simple               noarch                   0.96-489.cm2                     mariner-official-base     31.13k                   101.58k
perl-Filter                      aarch64                  2:1.59-489.cm2                   mariner-official-base     66.60k                   122.54k
perl-filetest                    noarch                   1.03-489.cm2                     mariner-official-base      7.36k                    90.53k
perl-File-stat                   noarch                   1.09-489.cm2                     mariner-official-base     13.62k                    93.48k
perl-File-Fetch                  noarch                   1.00-489.cm2                     mariner-official-base     52.31k                   106.05k
perl-File-DosGlob                aarch64                  1.12-489.cm2                     mariner-official-base     17.32k                    95.47k
perl-File-Copy                   noarch                   2.35-489.cm2                     mariner-official-base     20.57k                    96.50k
perl-FileCache                   noarch                   1.10-489.cm2                     mariner-official-base      8.38k                    90.75k
perl-fields                      noarch                   2.27-489.cm2                     mariner-official-base     12.79k                    92.26k
perl-ExtUtils-MM-Utils           noarch                   1:7.44-489.cm2                   mariner-official-base      3.83k                    88.49k
perl-ExtUtils-Miniperl           noarch                   1.10-489.cm2                     mariner-official-base      8.74k                    90.98k
perl-ExtUtils-Manifest           noarch                   1:1.73-489.cm2                   mariner-official-base     28.99k                    99.43k
perl-ExtUtils-MakeMaker          noarch                   2:7.62-489.cm2                   mariner-official-base    635.43k                   366.83k
perl-ExtUtils-Embed              noarch                   1.35-489.cm2                     mariner-official-base     16.46k                    94.00k
perl-ExtUtils-Command            noarch                   2:7.62-489.cm2                   mariner-official-base     10.55k                    91.13k
libgomp                          aarch64                  11.2.0-8.cm2                     mariner-official-base    268.00k                   150.03k
libstdc++-devel                  aarch64                  11.2.0-8.cm2                     mariner-official-base     18.32M                     2.61M
libmpc                           aarch64                  1.2.1-1.cm2                      mariner-official-base    393.46k                   125.48k
libgomp-devel                    aarch64                  11.2.0-8.cm2                     mariner-official-base    498.19k                   158.88k
libgcc-devel                     aarch64                  11.2.0-8.cm2                     mariner-official-base    128.86k                    65.59k
libgcc-atomic                    aarch64                  11.2.0-8.cm2                     mariner-official-base     41.01k                    28.51k
gcc-c++                          aarch64                  11.2.0-8.cm2                     mariner-official-base     29.02M                    11.50M
gcc                              aarch64                  11.2.0-8.cm2                     mariner-official-base    123.25M                    39.59M
perl-ExtUtils-CBuilder           noarch                   1:0.280236-489.cm2               mariner-official-base     63.08k                   114.31k
perl-experimental                noarch                   0.024-489.cm2                    mariner-official-base     10.88k                    91.22k
perl-Env                         noarch                   1.05-489.cm2                     mariner-official-base      8.21k                    89.89k
perl-English                     noarch                   1.11-489.cm2                     mariner-official-base      7.15k                    89.47k
perl-encoding-warnings           noarch                   0.13-489.cm2                     mariner-official-base     10.95k                    92.64k
perl-encoding                    aarch64                  4:3.00-489.cm2                   mariner-official-base     30.99k                   103.44k
perl-Dumpvalue                   noarch                   2.27-489.cm2                     mariner-official-base     20.69k                    94.64k
perl-doc                         noarch                   5.34.1-489.cm2                   mariner-official-base     10.36M                     5.08M
perl-DirHandle                   noarch                   1.05-489.cm2                     mariner-official-base      4.31k                    88.30k
perl-Digest-SHA                  aarch64                  1:6.02-489.cm2                   mariner-official-base     81.62k                   133.44k
perl-Digest-MD5                  aarch64                  2.58-489.cm2                     mariner-official-base     35.41k                   106.40k
perl-Digest                      noarch                   1.19-489.cm2                     mariner-official-base     24.44k                   101.80k
perl-Devel-SelfStubber           noarch                   1.06-489.cm2                     mariner-official-base      7.69k                    90.29k
perl-Devel-Peek                  aarch64                  1.30-489.cm2                     mariner-official-base     44.44k                   109.17k
perl-deprecate                   noarch                   0.04-489.cm2                     mariner-official-base      7.48k                    90.52k
perl-debugger                    noarch                   1.60-489.cm2                     mariner-official-base    403.46k                   221.50k
perl-DBM_Filter                  noarch                   0.06-489.cm2                     mariner-official-base     34.09k                   108.63k
perl-CPAN-Meta-YAML              noarch                   0.018-489.cm2                    mariner-official-base     28.95k                    96.26k
perl-CPAN-Meta-Requirements      noarch                   2.140-489.cm2                    mariner-official-base     35.73k                    98.15k
perl-CPAN-Meta                   noarch                   2.150010-489.cm2                 mariner-official-base    335.69k                   219.03k
perl-CPAN                        noarch                   2.28-489.cm2                     mariner-official-base    844.66k                   377.70k
perl-Config-Perl-V               noarch                   0.33-489.cm2                     mariner-official-base     18.72k                    95.63k
perl-Config-Extensions           noarch                   0.03-489.cm2                     mariner-official-base      3.57k                    88.10k
perl-Compress-Raw-Zlib           aarch64                  2.101-489.cm2                    mariner-official-base    120.03k                   131.35k
perl-Compress-Raw-Bzip2          aarch64                  2.101-489.cm2                    mariner-official-base     46.61k                   107.07k
perl-Class-Struct                noarch                   0.66-489.cm2                     mariner-official-base     26.32k                    98.61k
perl-blib                        noarch                   1.07-489.cm2                     mariner-official-base      4.14k                    88.23k
perl-bignum                      noarch                   0.51-489.cm2                     mariner-official-base     80.79k                   118.52k
perl-Benchmark                   noarch                   1.23-489.cm2                     mariner-official-base     37.36k                   103.81k
perl-autouse                     noarch                   1.11-489.cm2                     mariner-official-base      6.83k                    89.67k
perl-AutoSplit                   noarch                   5.74-489.cm2                     mariner-official-base     24.05k                    98.35k
perl-AutoLoader                  noarch                   5.74-489.cm2                     mariner-official-base     21.52k                    97.70k
perl-autodie                     noarch                   2.34-489.cm2                     mariner-official-base    156.04k                   161.91k
perl-Attribute-Handlers          noarch                   1.01-489.cm2                     mariner-official-base     38.44k                   104.45k
perl-Archive-Tar                 noarch                   2.38-489.cm2                     mariner-official-base    132.95k                   147.06k
perl-if                          noarch                   0.60.900-489.cm2                 mariner-official-base      6.73k                    89.83k
perl-Text-ParseWords             noarch                   3.30-489.cm2                     mariner-official-base     11.42k                    91.88k
perl-File-Temp                   noarch                   1:0.231.100-489.cm2              mariner-official-base    128.64k                   128.22k
perl-Symbol                      noarch                   1.09-489.cm2                     mariner-official-base      7.77k                    90.22k
perl-Math-BigInt                 noarch                   1:1.9998.18-489.cm2              mariner-official-base    596.60k                   245.19k
perl-IPC-Open3                   noarch                   1.21-489.cm2                     mariner-official-base     24.46k                    99.47k
perl-IO                          aarch64                  1.46-489.cm2                     mariner-official-base    152.82k                   167.79k
perl-FileHandle                  noarch                   2.03-489.cm2                     mariner-official-base     10.28k                    91.54k
perl-Fcntl                       aarch64                  1.14-489.cm2                     mariner-official-base     25.33k                    96.67k
perl-Data-Dumper                 aarch64                  2.179-489.cm2                    mariner-official-base     89.33k                   129.81k
perl-base                        noarch                   2.27-489.cm2                     mariner-official-base     13.50k                    92.28k
perl-File-Compare                noarch                   1.100.600-489.cm2                mariner-official-base      6.54k                    89.23k
perl-ExtUtils-ParseXS            noarch                   1:3.43-489.cm2                   mariner-official-base    381.15k                   268.63k
perl-ExtUtils-Install            noarch                   2.20-489.cm2                     mariner-official-base     74.99k                   119.93k
perl-ExtUtils-Constant           noarch                   0.25-489.cm2                     mariner-official-base     89.64k                   125.41k
perl-Devel-PPPort                aarch64                  3.62-489.cm2                     mariner-official-base    599.66k                   234.01k
mariner-rpm-macros               noarch                   2.0-25.cm2                       mariner-official-base    105.52k                    45.87k
perl-Text-Tabs+Wrap              noarch                   2013.0523-489.cm2                mariner-official-base     20.61k                    98.64k
perl-Storable                    aarch64                  1:3.23-489.cm2                   mariner-official-base    160.62k                   162.61k
perl-parent                      noarch                   1:0.238-489.cm2                  mariner-official-base      5.45k                    89.17k
perl-MIME-Base64                 aarch64                  3.16-489.cm2                     mariner-official-base     30.38k                   104.48k
perl-Getopt-Long                 noarch                   1:2.52-489.cm2                   mariner-official-base     97.74k                   128.38k
perl-File-Find                   noarch                   1.39-489.cm2                     mariner-official-base     38.61k                   102.26k
perl-macros                      noarch                   4:5.34.1-489.cm2                 mariner-official-base      5.51k                    86.56k
perl-Encode-devel                noarch                   4:3.08-489.cm2                   mariner-official-base    100.53k                   121.19k
perl-Encode                      aarch64                  4:3.08-489.cm2                   mariner-official-base      9.47M                     2.02M
perl-DynaLoader                  aarch64                  1.50-489.cm2                     mariner-official-base     32.28k                   102.63k
perl-overloading                 noarch                   0.02-489.cm2                     mariner-official-base      5.75k                    88.73k
perl-mro                         aarch64                  1.25-489.cm2                     mariner-official-base     34.31k                   104.90k
perl-vars                        noarch                   1.05-489.cm2                     mariner-official-base      4.81k                    88.88k
perl-PathTools                   aarch64                  3.80-489.cm2                     mariner-official-base    148.14k                   159.16k
perl-Getopt-Std                  noarch                   1.13-489.cm2                     mariner-official-base     12.02k                    91.72k
perl-File-Path                   noarch                   2.18-489.cm2                     mariner-official-base     52.43k                   109.54k
perl-File-Basename               noarch                   2.85-489.cm2                     mariner-official-base     14.98k                    93.37k
perl-Scalar-List-Utils           aarch64                  5:1.55-489.cm2                   mariner-official-base    109.81k                   145.07k
perl-overload                    noarch                   1.33-489.cm2                     mariner-official-base     71.16k                   123.58k
perl-Exporter                    noarch                   5.76-489.cm2                     mariner-official-base     34.93k                   106.15k
perl-constant                    noarch                   1.33-489.cm2                     mariner-official-base     20.09k                    97.71k
perl-Carp                        noarch                   1.52-489.cm2                     mariner-official-base     42.09k                   105.52k
perl-B                           aarch64                  1.82-489.cm2                     mariner-official-base    501.25k                   272.78k
apr-util                         aarch64                  1.6.3-1.cm2                      mariner-official-base    219.31k                   111.77k
apr                              aarch64                  1.7.2-2.cm2                      mariner-official-base    639.96k                   227.74k
libdb                            aarch64                  5.3.28-7.cm2                     mariner-official-base      1.65M                   818.21k
libserf                          aarch64                  1.3.9-8.cm2                      mariner-official-base    120.80k                    58.85k
utf8proc                         aarch64                  2.6.1-2.cm2                      mariner-official-base    354.73k                    95.90k
subversion                       aarch64                  1.14.2-1.cm2                     mariner-official-base      7.68M                     2.82M
file-libs                        aarch64                  5.40-2.cm2                       mariner-official-base      6.85M                   407.91k
subversion-perl                  aarch64                  1.14.2-1.cm2                     mariner-official-base      5.08M                     1.31M
gdbm                             aarch64                  1.21-1.cm2                       mariner-official-base    305.69k                   145.04k
python3-libs                     aarch64                  3.9.19-4.cm2                     mariner-official-base     29.36M                    10.38M
python3                          aarch64                  3.9.19-4.cm2                     mariner-official-base     37.58k                    36.45k
perl-YAML                        noarch                   1.30-2.cm2                       mariner-official-base    151.48k                    78.88k
perl-diagnostics                 noarch                   1.37-489.cm2                     mariner-official-base    446.86k                   296.32k
perl-Errno                       aarch64                  1.33-489.cm2                     mariner-official-base      9.29k                    90.99k
perl-ph                          aarch64                  5.34.1-489.cm2                   mariner-official-base    204.20k                   116.66k
perl-Pod-Functions               noarch                   1.13-489.cm2                     mariner-official-base     14.03k                    89.57k
perl-utils                       noarch                   5.34.1-489.cm2                   mariner-official-base    100.90k                   134.62k
perl-devel                       aarch64                  4:5.34.1-489.cm2                 mariner-official-base      7.52M                   914.79k
perl                             aarch64                  4:5.34.1-489.cm2                 mariner-official-base      0.00b                    88.28k
perl-libs                        aarch64                  4:5.34.1-489.cm2                 mariner-official-base      8.38M                     2.40M
perl-interpreter                 aarch64                  4:5.34.1-489.cm2                 mariner-official-base    113.12k                   149.92k
perl-DBI                         aarch64                  1.643-2.cm2                      mariner-official-base      1.85M                   794.84k
perl-CGI                         noarch                   4.54-3.cm2                       mariner-official-base    551.30k                   239.39k
ncurses-term                     aarch64                  6.4-2.cm2                        mariner-official-base      1.78M                   581.33k
openssh-server                   aarch64                  8.9p1-6.cm2                      mariner-official-base      1.09M                   516.19k
openssh-clients                  aarch64                  8.9p1-6.cm2                      mariner-official-base      4.65M                   998.92k
openssh                          aarch64                  8.9p1-6.cm2                      mariner-official-base     18.10k                    21.09k
ncurses                          aarch64                  6.4-2.cm2                        mariner-official-base    581.75k                   417.87k
less                             aarch64                  590-4.cm2                        mariner-official-base    305.12k                   160.22k
git                              aarch64                  2.39.4-1.cm2                     mariner-official-base     26.20M                    12.09M

Total installed size: 339.94M
Total download size: 128.18M
Is this ok [y/N]:

Expected behavior install git no openssh no openldap no subversion

using redhat redhat/ubi8:

Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 0:00:08 ago on Wed Sep 11 19:31:46 2024.
Dependencies resolved.
================================================================================================================================================================
 Package                               Architecture           Version                                                 Repository                           Size
================================================================================================================================================================
Installing:
 git                                   aarch64                2.43.5-1.el8_10                                         ubi-8-appstream-rpms                 92 k
Installing dependencies:
 emacs-filesystem                      noarch                 1:26.1-11.el8                                           ubi-8-baseos-rpms                    70 k
 git-core                              aarch64                2.43.5-1.el8_10                                         ubi-8-appstream-rpms                 11 M
 git-core-doc                          noarch                 2.43.5-1.el8_10                                         ubi-8-appstream-rpms                3.1 M
 groff-base                            aarch64                1.22.3-18.el8                                           ubi-8-baseos-rpms                   994 k
 less                                  aarch64                530-3.el8_10                                            ubi-8-baseos-rpms                   162 k
 libedit                               aarch64                3.1-23.20170329cvs.el8                                  ubi-8-baseos-rpms                    99 k
 ncurses                               aarch64                6.1-10.20180224.el8                                     ubi-8-baseos-rpms                   383 k
 openssh                               aarch64                8.0p1-25.el8_10                                         ubi-8-baseos-rpms                   491 k
 openssh-clients                       aarch64                8.0p1-25.el8_10                                         ubi-8-baseos-rpms                   628 k
 openssl                               aarch64                1:1.1.1k-12.el8_9                                       ubi-8-baseos-rpms                   692 k
 perl-Carp                             noarch                 1.42-396.el8                                            ubi-8-baseos-rpms                    30 k
 perl-Data-Dumper                      aarch64                2.167-399.el8                                           ubi-8-baseos-rpms                    57 k
 perl-Digest                           noarch                 1.17-395.el8                                            ubi-8-appstream-rpms                 27 k
 perl-Digest-MD5                       aarch64                2.55-396.el8                                            ubi-8-appstream-rpms                 37 k
 perl-Encode                           aarch64                4:2.97-3.el8                                            ubi-8-baseos-rpms                   1.5 M
 perl-Errno                            aarch64                1.28-422.el8                                            ubi-8-baseos-rpms                    76 k
 perl-Error                            noarch                 1:0.17025-2.el8                                         ubi-8-appstream-rpms                 46 k
 perl-Exporter                         noarch                 5.72-396.el8                                            ubi-8-baseos-rpms                    34 k
 perl-File-Path                        noarch                 2.15-2.el8                                              ubi-8-baseos-rpms                    38 k
 perl-File-Temp                        noarch                 0.230.600-1.el8                                         ubi-8-baseos-rpms                    63 k
 perl-Getopt-Long                      noarch                 1:2.50-4.el8                                            ubi-8-baseos-rpms                    63 k
 perl-Git                              noarch                 2.43.5-1.el8_10                                         ubi-8-appstream-rpms                 79 k
 perl-HTTP-Tiny                        noarch                 0.074-3.el8                                             ubi-8-baseos-rpms                    59 k
 perl-IO                               aarch64                1.38-422.el8                                            ubi-8-baseos-rpms                   142 k
 perl-IO-Socket-IP                     noarch                 0.39-5.el8                                              ubi-8-appstream-rpms                 47 k
 perl-IO-Socket-SSL                    noarch                 2.066-4.module+el8.3.0+6446+594cad75                    ubi-8-appstream-rpms                298 k
 perl-MIME-Base64                      aarch64                3.15-396.el8                                            ubi-8-baseos-rpms                    31 k
 perl-Mozilla-CA                       noarch                 20160104-7.module+el8.3.0+6498+9eecfe51                 ubi-8-appstream-rpms                 15 k
 perl-Net-SSLeay                       aarch64                1.88-2.module+el8.6.0+13392+f0897f98                    ubi-8-appstream-rpms                373 k
 perl-PathTools                        aarch64                3.74-1.el8                                              ubi-8-baseos-rpms                    90 k
 perl-Pod-Escapes                      noarch                 1:1.07-395.el8                                          ubi-8-baseos-rpms                    20 k
 perl-Pod-Perldoc                      noarch                 3.28-396.el8                                            ubi-8-baseos-rpms                    88 k
 perl-Pod-Simple                       noarch                 1:3.35-395.el8                                          ubi-8-baseos-rpms                   213 k
 perl-Pod-Usage                        noarch                 4:1.69-395.el8                                          ubi-8-baseos-rpms                    34 k
 perl-Scalar-List-Utils                aarch64                3:1.49-2.el8                                            ubi-8-baseos-rpms                    67 k
 perl-Socket                           aarch64                4:2.027-3.el8                                           ubi-8-baseos-rpms                    59 k
 perl-Storable                         aarch64                1:3.11-3.el8                                            ubi-8-baseos-rpms                    95 k
 perl-Term-ANSIColor                   noarch                 4.06-396.el8                                            ubi-8-baseos-rpms                    46 k
 perl-Term-Cap                         noarch                 1.17-395.el8                                            ubi-8-baseos-rpms                    23 k
 perl-TermReadKey                      aarch64                2.37-7.el8                                              ubi-8-appstream-rpms                 40 k
 perl-Text-ParseWords                  noarch                 3.30-395.el8                                            ubi-8-baseos-rpms                    18 k
 perl-Text-Tabs+Wrap                   noarch                 2013.0523-395.el8                                       ubi-8-baseos-rpms                    24 k
 perl-Time-Local                       noarch                 1:1.280-1.el8                                           ubi-8-baseos-rpms                    34 k
 perl-URI                              noarch                 1.73-3.el8                                              ubi-8-appstream-rpms                116 k
 perl-Unicode-Normalize                aarch64                1.25-396.el8                                            ubi-8-baseos-rpms                    78 k
 perl-constant                         noarch                 1.33-396.el8                                            ubi-8-baseos-rpms                    25 k
 perl-interpreter                      aarch64                4:5.26.3-422.el8                                        ubi-8-baseos-rpms                   6.3 M
 perl-libnet                           noarch                 3.11-3.el8                                              ubi-8-appstream-rpms                121 k
 perl-libs                             aarch64                4:5.26.3-422.el8                                        ubi-8-baseos-rpms                   1.5 M
 perl-macros                           aarch64                4:5.26.3-422.el8                                        ubi-8-baseos-rpms                    73 k
 perl-parent                           noarch                 1:0.237-1.el8                                           ubi-8-baseos-rpms                    20 k
 perl-podlators                        noarch                 4.11-1.el8                                              ubi-8-baseos-rpms                   118 k
 perl-threads                          aarch64                1:2.21-2.el8                                            ubi-8-baseos-rpms                    60 k
 perl-threads-shared                   aarch64                1.58-2.el8                                              ubi-8-baseos-rpms                    47 k
Enabling module streams:
 perl                                                         5.26
 perl-IO-Socket-SSL                                           2.066
 perl-libwww-perl                                             6.34

Transaction Summary
================================================================================================================================================================
Install  55 Packages

Total download size: 29 M
Installed size: 95 M
Is this ok [y/N]:
elsaco commented 2 months ago

@mblaschke-daimlertruck That's because you start with a bare container and installing git pulls a lot of dependencies. The container starts with 69 packages only! There's no gcc or make, etc. I bet the RHEL container has many of the missing cbl-mariner rpms already installed, thus less packages pulled when adding git

CBL-Mariner container:

root [ / ]# rpm -qa | wc -l
69

RHEL container:

[root@563d95a4eb6e ~]# rpm -qa | wc -l
185
mblaschke-daimlertruck commented 2 months ago

I don't have openssh-server and subversion installed on redhat/ubi8. Why is git pulling these dependencies?

elsaco commented 2 months ago

There's a request to split openssh into openssh-server and openssh-client. See #9569

As for subversion, git requires subversion-perl which requires subversion

But it's a conditional build. From git.spec:

%if %{with_svn}
%package        svn
Summary:        Git tools for interacting with Subversion repositories
Requires:       git = %{version}-%{release}
Requires:       subversion
Requires:       perl(Digest::MD5)
BuildArch:      noarch

%description svn
%{summary}.
%endif

So, I guess git on cbl-mariner can be built without svn support. The users would complain about 😀