AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
Expand all | Collapse all

yum update gettext.ppc 0:0.20.2-1 installed several unwanted/unneeded filesets as dependencies

  • 1.  yum update gettext.ppc 0:0.20.2-1 installed several unwanted/unneeded filesets as dependencies

    Posted Thu December 03, 2020 04:57 PM
    Running yum check-update shows one fileset (gettext.ppc) that needs updating.

    It was previously installed without all of the extra dependencies that were installed unnecessarily, IMO.

    You can see that there is a huge difference in expectation and actual results. I don't need gcc on this LPAR (granted, it's a test server which is why I ran yum -y instead of without -y) or most of my others (why I have yum to begin with). Not sure if this is an accident or on purpose or if this is even the right place to log this incident. But I would hope that these dependencies could be removed in either a re-release or additional update.

    If I run yum erase gcc it wants to uninstall every RPM on the system.

    <jon@nimrod-dr>
    {/home/jon}yum check-update
    AIX_Toolbox | 2.6 kB 00:00:00
    AIX_Toolbox/primary_db | 1.8 MB 00:00:00
    AIX_Toolbox_72 | 2.5 kB 00:00:00
    AIX_Toolbox_72/primary_db | 132 kB 00:00:01
    AIX_Toolbox_noarch | 2.5 kB 00:00:00
    AIX_Toolbox_noarch/primary_db | 93 kB 00:00:00

    gettext.ppc 0.20.2-1 AIX_Toolbox
    <


    jon@nimrod-dr
    /home/jon> yum -y update
    AIX_Toolbox | 2.6 kB 00:00:00
    AIX_Toolbox/primary_db | 1.8 MB 00:00:00
    AIX_Toolbox_72 | 2.5 kB 00:00:00
    AIX_Toolbox_72/primary_db | 132 kB 00:00:00
    AIX_Toolbox_noarch | 2.5 kB 00:00:00
    Setting up Update Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package gettext.ppc 0:0.19.8.1-5 will be updated
    ---> Package gettext.ppc 0:0.20.2-1 will be an update
    --> Processing Dependency: libtextstyle = 0.20.2-1 for package: gettext-0.20.2-1.ppc
    --> Processing Dependency: libgomp >= 8.3.0 for package: gettext-0.20.2-1.ppc
    --> Processing Dependency: libgomp.a(libgomp.so.1) for package: gettext-0.20.2-1.ppc
    --> Processing Dependency: libtextstyle.a(libtextstyle.so.0) for package: gettext-0.20.2-1.ppc
    --> Running transaction check
    ---> Package libgomp.ppc 0:8.3.0-3 will be installed
    --> Processing Dependency: gcc = 8.3.0-3 for package: libgomp-8.3.0-3.ppc
    ---> Package libtextstyle.ppc 0:0.20.2-1 will be installed
    --> Running transaction check
    ---> Package gcc.ppc 0:8.3.0-3 will be installed
    --> Processing Dependency: gcc-cpp = 8.3.0-3 for package: gcc-8.3.0-3.ppc
    --> Processing Dependency: sed for package: gcc-8.3.0-3.ppc
    --> Running transaction check
    ---> Package gcc-cpp.ppc 0:8.3.0-3 will be installed
    --> Processing Dependency: mpfr >= 4.0.2 for package: gcc-cpp-8.3.0-3.ppc
    --> Processing Dependency: gmp >= 6.1.2 for package: gcc-cpp-8.3.0-3.ppc
    --> Processing Dependency: libmpc >= 1.1.0 for package: gcc-cpp-8.3.0-3.ppc
    --> Processing Dependency: libgmp.a(libgmp.so.10) for package: gcc-cpp-8.3.0-3.ppc
    --> Processing Dependency: libmpc.a(libmpc.so.3) for package: gcc-cpp-8.3.0-3.ppc
    --> Processing Dependency: libmpfr.a(libmpfr.so.6) for package: gcc-cpp-8.3.0-3.ppc
    ---> Package sed.ppc 0:4.5-3 will be installed
    --> Running transaction check
    ---> Package gmp.ppc 0:6.1.2-1 will be installed
    ---> Package libmpc.ppc 0:1.1.0-1 will be installed
    ---> Package mpfr.ppc 0:4.0.2-2 will be installed
    --> Finished Dependency Resolution

    Dependencies Resolved

    =============================================================================================================================================================================================================================================
    Package Arch Version Repository Size
    =============================================================================================================================================================================================================================================
    Updating:
    gettext ppc 0.20.2-1 AIX_Toolbox 11 M
    Installing for dependencies:
    gcc ppc 8.3.0-3 AIX_Toolbox_72 28 M
    gcc-cpp ppc 8.3.0-3 AIX_Toolbox_72 10 M
    gmp ppc 6.1.2-1 AIX_Toolbox 1.6 M
    libgomp ppc 8.3.0-3 AIX_Toolbox_72 1.4 M
    libmpc ppc 1.1.0-1 AIX_Toolbox 224 k
    libtextstyle ppc 0.20.2-1 AIX_Toolbox 1.1 M
    mpfr ppc 4.0.2-2 AIX_Toolbox 1.9 M
    sed ppc 4.5-3 AIX_Toolbox 275 k

    Transaction Summary
    =============================================================================================================================================================================================================================================
    Install 8 Packages
    Upgrade 1 Package

    Total download size: 55 M
    Downloading Packages:
    (1/9): gcc-8.3.0-3.aix7.2.ppc.rpm | 28 MB 00:00:06
    (2/9): gcc-cpp-8.3.0-3.aix7.2.ppc.rpm | 10 MB 00:00:02
    (3/9): gettext-0.20.2-1.aix6.1.ppc.rpm | 11 MB 00:00:02
    (4/9): gmp-6.1.2-1.aix6.1.ppc.rpm | 1.6 MB 00:00:00
    (5/9): libgomp-8.3.0-3.aix7.2.ppc.rpm | 1.4 MB 00:00:00
    (6/9): libmpc-1.1.0-1.aix6.1.ppc.rpm | 224 kB 00:00:00
    (7/9): libtextstyle-0.20.2-1.aix6.1.ppc.rpm | 1.1 MB 00:00:00
    (8/9): mpfr-4.0.2-2.aix6.1.ppc.rpm | 1.9 MB 00:00:00
    (9/9): sed-4.5-3.aix6.1.ppc.rpm | 275 kB 00:00:00
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Total 4.2 MB/s | 55 MB 00:13
    Running Transaction Check
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Installing : gmp-6.1.2-1.ppc 1/10
    Installing : mpfr-4.0.2-2.ppc 2/10
    Installing : libmpc-1.1.0-1.ppc 3/10
    Installing : libtextstyle-0.20.2-1.ppc 4/10
    Installing : libgomp-8.3.0-3.ppc 5/10
    Updating : gettext-0.20.2-1.ppc 6/10
    Installing : sed-4.5-3.ppc 7/10
    Installing : gcc-cpp-8.3.0-3.ppc 8/10
    Installing : gcc-8.3.0-3.ppc 9/10
    Fixing headers into /tmp/gcc-fixincl13566298 for powerpc-ibm-aix7.2.4.0 target
    Forbidden identifiers: bool pixel vector
    Finding directories and links to directories
    Searching /usr/include/.
    Searching /usr/include/./X11
    Searching /usr/include/./python2.7
    Making symbolic directory links
    Fixing directory /usr/include into /tmp/gcc-fixincl13566298
    Applying aix_assert to assert.h
    Applying strict_ansi_only to assert.h
    Fixed: assert.h
    Applying aix_complex to complex.h
    Fixed: complex.h
    Applying aix_externc to ctype.h
    Applying avoid_wchar_t_type to ctype.h
    Fixed: ctype.h
    Applying aix_null to curses.h
    Fixed: curses.h
    Applying aix_null to dbm.h
    Fixed: dbm.h
    Applying AAB_aix_fcntl to fcntl.h
    Fixed: fcntl.h
    Applying io_quotes_def to isode/pepsy.h
    Applying machine_name to libmilter/mfapi.h
    Fixed: libmilter/mfapi.h
    Quoted includes in libmilter/mfapi.h
    Applying aix_null to locale.h
    Fixed: locale.h
    Applying sun_malloc to malloc.h
    Applying hpux8_bogus_inlines to math.h
    Applying math_exception to math.h
    Applying rs6000_double to math.h
    Fixed: math.h
    Applying io_quotes_use to net/bpf.h
    Fixed: net/bpf.h
    Applying aix_net_if_arp to net/if_arp.h
    Fixed: net/if_arp.h
    Applying io_quotes_use to netinet/if_802_5.h
    Fixed: netinet/if_802_5.h
    Applying io_quotes_def to netinet/in.h
    Applying ip_missing_semi to netinet/ip.h
    Applying io_quotes_def to netinet/ip6_opts.h
    Applying svr4_undeclared_getrnge to regexp.h
    Applying strict_ansi_only to setjmp.h
    Fixed: setjmp.h
    Applying gnu_types to stddef.h
    Fixed: stddef.h
    Applying aix_stdint_1 to stdint.h
    Applying aix_stdint_2 to stdint.h
    Applying aix_stdint_3 to stdint.h
    Applying aix_stdint_4 to stdint.h
    Fixed: stdint.h
    Applying AAB_aix_stdio to stdio.h
    Applying aix_null to stdio.h
    Applying aix_stdio_inline to stdio.h
    Applying stdio_stdarg_h to stdio.h
    Applying stdio_va_list to stdio.h
    Fixed: stdio.h
    Applying aix_null to stdlib.h
    Applying aix_stdlib_malloc to stdlib.h
    Applying aix_stdlib_realloc to stdlib.h
    Applying aix_stdlib_calloc to stdlib.h
    Applying aix_stdlib_valloc to stdlib.h
    Applying aix_stdlib_vec_malloc to stdlib.h
    Applying aix_stdlib_vec_calloc to stdlib.h
    Applying gnu_types to stdlib.h
    Fixed: stdlib.h
    Applying aix_null to string.h
    Applying sysv68_string to string.h
    Fixed: string.h
    Applying io_quotes_def to sys/aio.h
    Applying aix_null to sys/dir.h
    Fixed: sys/dir.h
    Quoted includes in sys/dir.h
    Applying io_quotes_def to sys/dlpi_aix.h
    Applying io_quotes_use to sys/dlpi_aix.h
    Applying io_quotes_def to sys/fs/kdm_dmi.h
    Applying io_quotes_def to sys/ioctl.h
    Applying io_quotes_use to sys/mtio.h
    Applying aix_null to sys/param.h
    Fixed: sys/param.h
    Quoted includes in sys/param.h
    Applying io_quotes_use to sys/ras.h
    Applying aix_volatile to sys/signal.h
    Fixed: sys/signal.h
    Applying aix_externcpp1 to sys/socket.h
    Applying aix_externcpp2 to sys/socket.h
    Fixed: sys/socket.h
    Applying io_quotes_def to sys/stropts.h
    Applying aix_null to sys/types.h
    Applying gnu_types to sys/types.h
    Fixed: sys/types.h
    Applying next_wait_union to sys/wait.h
    Fixed: sys/wait.h
    Applying aix_null to time.h
    Fixed: time.h
    Applying aix_null to unistd.h
    Fixed: unistd.h
    Applying io_quotes_def to usersec.h
    Applying aix_null to wchar.h
    Applying stdio_va_list_clients to wchar.h
    Fixed: wchar.h
    Fixing directory /usr/include/X11 into /tmp/gcc-fixincl13566298/root/usr/lpp/X11/include/X11
    Applying io_quotes_def to X11/Xmu/Atoms.h
    Fixing directory /usr/include/python2.7 into /tmp/gcc-fixincl13566298/root/opt/freeware/include/python2.7
    Cleaning up unneeded directories:
    fixincludes is done
    Cleanup : gettext-0.19.8.1-5.ppc 10/10

    Dependency Installed:
    gcc.ppc 0:8.3.0-3 gcc-cpp.ppc 0:8.3.0-3 gmp.ppc 0:6.1.2-1 libgomp.ppc 0:8.3.0-3 libmpc.ppc 0:1.1.0-1 libtextstyle.ppc 0:0.20.2-1 mpfr.ppc 0:4.0.2-2 sed.ppc 0:4.5-3

    Updated:
    gettext.ppc 0:0.20.2-1

    ------------------------------
    Jon Freeland<*>
    ------------------------------


  • 2.  RE: yum update gettext.ppc 0:0.20.2-1 installed several unwanted/unneeded filesets as dependencies

    Posted Fri December 04, 2020 05:51 AM
    Thanks for reporting this issue.
    There is a problem with libgomp rpm. It has a requires on gcc which is not needed.
    # rpm -qR libgomp
    /bin/sh
    /bin/sh
    AIX-rpm >= 7.2.0.0
    AIX-rpm < 7.3.0.0
    gcc = 8.3.0-3
    libc.a(shr.o)
    libc.a(shr_64.o)
    libgcc_s.a(shr.o)
    libpthread.a(shr_xpg5.o)
    libpthread.a(shr_xpg5_64.o)
    rpmlib(CompressedFileNames) <= 3.0.4-1
    rpmlib(PayloadFilesHavePrefix) <= 4.0-1

    Because of this,  gcc, gcc-cpp, gmp, limbpc, mpfr, sed packages are unnecessarily coming as dependencies.
    libgomp is part of gcc. So in the next release of gcc , we will fix this issue.

    In the meanwhile , you can forcefully remove the above mentioned packages using rpm option "--nodeps".
    libgomp & libtextstyle are genuinely needed for the new gettext package.

    ------------------------------
    Ayappan P
    ------------------------------