AIX Open Source

 View Only

yum check / Does the package comes from the AIX TOOLBOX ?

  • 1.  yum check / Does the package comes from the AIX TOOLBOX ?

    Posted Thu December 03, 2020 11:16 AM
    Hello,

    We ran the      yum check       command on an AIX 7.2 lpar.

    The yum check command returns an error about the package "renderproto"

    So we have decided to update it.  With no result as no update was available.

    But the package did not come from the AIX TOOLBOX...

    We had to remove manually the package and  re-install it under the control of YUM.

    I was wondering if the     yum update   command should not check if the current package version comes from the AIX TOOLBOX or not ?

    I have seen we should have tried a          yum reinstall renderproto

    This is what we will do next time !


    aimmi008:/tmp/yum_deploiement# yum check
    renderproto-0.11.1-2.ppc has missing requires of AIX-rpm < ('0', '5.4.0.0', None)
    Error: check all
    aimmi008:
    aimmi008:/tmp/yum_deploiement# rpm -qa | grep render
    libXrender-0.9.10-1.ppc
    renderproto-0.11.1-2.ppc
    aimmi008:/tmp/yum_deploiement# yum update renderproto-0.11.1-2.ppc
    Setting up Update Process
    No Packages marked for Update
    aimmi008:/tmp/yum_deploiement# rpm -qi renderproto-0.11.1-2.ppc
    Name : renderproto
    Version : 0.11.1
    Release : 2
    Architecture: ppc
    Install Date: Thu Oct 24 12:25:21 2019
    Group : X11/Development/Libraries
    Size : 80371
    License : MIT
    Signature : (none)
    Source RPM : renderproto-0.11.1-2.src.rpm
    Build Date : Wed Nov 23 23:09:15 2016
    Build Host : aix51.perzl.org
    Relocations : (not relocatable)
    URL : http://fontconfig.org/
    Summary : X Render Extension
    Description :
    This package contains header files and documentation for the X render
    extension. Library and server implementations are separate.
    aimmi008:/tmp/yum_deploiement# yum list renderproto
    Installed Packages
    renderproto.ppc 0.11.1-2 installed
    aimmi008:/tmp/yum_deploiement# yum install renderproto
    Setting up Install Process
    Package matching renderproto-0.11.1-1.ppc already installed. Checking for update.
    Nothing to do
    aimmi008:/tmp/yum_deploiement# yum check
    renderproto-0.11.1-2.ppc has missing requires of AIX-rpm < ('0', '5.4.0.0', None)
    Error: check all
    aimmi008:/tmp/yum_deploiement# rpm -ev renderproto-0.11.1-2.ppc --test
    Preparing packages...
    aimmi008:/tmp/yum_deploiement# rpm -ev renderproto-0.11.1-2.ppc
    Preparing packages...
    renderproto-0.11.1-2.ppc
    aimmi008:/tmp/yum_deploiement# yum install renderproto
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package renderproto.ppc 0:0.11.1-1 will be installed
    --> Finished Dependency Resolution

    Dependencies Resolved

    ======================================================================================================================================================================
    Package Arch Version Repository Size
    ======================================================================================================================================================================
    Installing:
    renderproto ppc 0.11.1-1 AIX_Toolbox 18 k

    Transaction Summary
    ======================================================================================================================================================================
    Install 1 Package

    Total download size: 18 k
    Installed size: 58 k
    Is this ok [y/N]: y
    Downloading Packages:
    renderproto-0.11.1-1.aix6.1.ppc.rpm | 18 kB 00:00:00
    Running Transaction Check
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Warning: RPMDB altered outside of yum.
    Installing : renderproto-0.11.1-1.ppc 1/1

    Installed:
    renderproto.ppc 0:0.11.1-1

    Complete!
    aimmi008:/tmp/yum_deploiement# yum check ###################################
    check all
    aimmi008:/tmp/yum_deploiement#

    ------------------------------
    christophe derouet
    ------------------------------