[CentOS] Dependencies

Tue Jan 9 17:46:58 UTC 2007
Johnny Hughes <mailing-lists at hughesjr.com>

On Tue, 2007-01-09 at 18:27 +0100, Jordi Espasa Clofent wrote:
> Hi all,
> 
> If I try yum grouplist "FTP Server" I get the next large output:
> Dependencies Resolved
> 
> =============================================================================
>  Package                 Arch       Version          Repository
> Size
> =============================================================================
> Installing:
>  OpenIPMI                x86_64     1.4.14-1.4E.13   base
> 207 k
>  aspell                  i386       12:0.50.5-3.fc3  base
> 314 k
>  bluez-libs              i386       2.10-2           base
> 38 k
>  cyrus-sasl-plain        i386       2.1.19-5.EL4     base
> 27 k
>  dapl                    x86_64     1.2.0-1          base
> 99 k
>  dmraid                  i386       1.0.0.rc11-3_RHEL4_U4  base
> 396 k
>  e2fsprogs               i386       1.35-12.4.EL4    base
> 771 k
>  glibc                   i686       2.3.4-2.25       base
> 5.1 M
>  gpm                     i386       1.20.1-71.RHEL4  base
> 172 k
>  keyutils                x86_64     1.0-2            base
> 36 k
>  libgcc                  i386       3.4.6-3          base
> 59 k
>  libibverbs              x86_64     1.0.3-1          base
> 18 k
>  libmthca                x86_64     1.0.2-1          base
> 17 k
>  libsdp                  x86_64     1:0.9.0-1        base
> 28 k
>  libtermcap              i386       2.0.8-39         base
> 12 k
>  lksctp-tools            x86_64     1.0.2-6.4E.1     base
> 60 k
>  mcelog                  x86_64     1:0.4-1.12.EL    base
> 12 k
>  nano                    x86_64     1.2.4-1          base
> 337 k
>  nss_db                  i386       2.2-29           base
> 512 k
>  nss_ldap                i386       226-17           update
> 1.0 M
>  pam_ccreds              i386       1-3              base
> 28 k
>  pam_krb5                i386       2.1.8-1          base
> 81 k
>  pam_passwdqc            i386       0.7.5-2          base
> 33 k
>  pam_smb                 i386       1.1.7-5          base
> 32 k
>  readline                i386       4.3-13           base
> 175 k
>  redhat-lsb              i386       3.0-8.EL         base
> 19 k
>  rsh                     x86_64     0.17-25.4        base
> 42 k
>  tcp_wrappers            i386       7.6-37.2         base
> 96 k
>  tcsh                    x86_64     6.13-9           base
> 609 k
>  telnet                  x86_64     1:0.17-31.EL4.3  base
> 58 k
>  utempter                i386       0.5.5-5          base
> 21 k
>  xmlsec1-openssl         i386       1.2.6-3          base
> 58 k
> Installing for dependencies:
>  OpenIPMI-libs           x86_64     1.4.14-1.4E.13   base
> 435 k
>  audit-libs              i386       1.0.14-1.EL4     base
> 36 k
>  cracklib                i386       2.7-29           base
> 26 k
>  cracklib-dicts          i386       2.7-29           base
> 1.3 M
>  cyrus-sasl              i386       2.1.19-5.EL4     base
> 1.2 M
>  db4                     i386       4.2.52-7.1       base
> 1.5 M
>  device-mapper           i386       1.02.07-4.0.RHEL4  base
> 465 k
>  expat                   i386       1.95.7-4         base
> 69 k
>  fontconfig              i386       2.2.3-7.centos4  base
> 117 k
>  freetype                i386       2.1.9-4.el4      base
> 763 k
>  gdbm                    i386       1.8.0-24         base
> 26 k
>  glib2                   i386       2.4.7-1          base
> 476 k
>  kernel-ib               x86_64     1.0-1            base
> 66 k
>  keyutils-libs           x86_64     1.0-2            base
> 17 k
>  krb5-libs               i386       1.3.4-33         base
> 480 k
>  libgcrypt               i386       1.2.0-3          base
> 153 k
>  libgpg-error            i386       1.0-1            base
> 45 k
>  librdmacm               x86_64     0.9.0-1          base
> 28 k
>  libselinux              i386       1.19.1-7.2       base
> 55 k
>  libsepol                i386       1.1.1-2          base
> 28 k
>  libstdc++               i386       3.4.6-3          base
> 281 k
>  libxml2                 i386       2.6.16-6         base
> 619 k
>  libxslt                 i386       1.1.11-1         base
> 436 k
>  ncurses                 i386       5.4-13           base
> 1.5 M
>  net-snmp-libs           x86_64     5.1.2-11.EL4.7   base
> 1.8 M
>  openldap                i386       2.2.13-6.4E      base
> 236 k
>  openssl                 i686       0.9.7a-43.14     update
> 1.1 M
>  pam                     i386       0.77-66.17       base
> 1.8 M
>  xmlsec1                 i386       1.2.6-3          base
> 149 k
>  xorg-x11-Mesa-libGL     i386       6.8.2-1.EL.13.37.2  update
> 378 k
>  xorg-x11-libs           i386       6.8.2-1.EL.13.37.2  update
> 2.7 M
>  zlib                    i386       1.2.1.2-1.2      base
> 44 k
> 
> Transaction Summary
> =============================================================================
> Install     64 Package(s)
> Update       0 Package(s)
> Remove       0 Package(s)
> Total download size: 29 M
> Is this ok [y/N]:
> 
> But a simple yum groupinfo "FTP Server" reveals:
> 
> Group: FTP Server
>  Required Groups:
>    Base
>  Mandatory Packages:
>    vsftpd
> 
> So, the next step I've tried is: yum install vsftpd and... the output
> is:
> 
> Dependencies Resolved
> 
> =============================================================================
>  Package                 Arch       Version          Repository
> Size
> =============================================================================
> Installing:
>  vsftpd                  x86_64     2.0.1-5.EL4.5    base
> 125 k
> 
> Transaction Summary
> =============================================================================
> Install      1 Package(s)
> Update       0 Package(s)
> Remove       0 Package(s)
> Total download size: 125 k
> Is this ok [y/N]:
> 
> ¿Why this enormous difference between dependencies depending on used
> method (yum install or yum groupinstall)?
> 
> I've checked my system with up2date -u and all it's currently updated.
> 
> 
> 

yum groupinfo "FTP Server" says that vsftp and "Base" ...

Base is the minimal install Recommended.

It wants to install all those i386 packages as requires for Base ... 

I would recommend that for a server you put a:

exclude=*.i386 *.i586 *.i686

in yum.conf and only install i386 packages if absolutely required by
your server.

(I would also see if I could remove other i386/i586/i686 packages.)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20070109/fef04eb9/attachment-0005.sig>