AIX Open Source

 View Only
  • 1.  yum upgrade clamav

    Posted Thu August 01, 2024 06:42 PM
      |   view attached

    HI -

    A question about what yum is reporting as error when I do 

      yum upgrade clamav

    yum runs to completion but prints 2 errors about installed ppcs. it seems to be complaining that the installed version is being upgraded by ppc in the repo dir?
    For example - : libxml2-python-2.9.10-1.ppc (installed) requires libxml2 = 2.9.10-1 which will be upgraded to libxml2-2.10.4-1.ppc (clamav_103_main)
    does this mean that libxml2-python-2.9.10-1.ppc is blocking?

    probably the same as the second error for libstdc++-8-1.ppc (installed)

    so how can I resolve this? remove libstdc++-8-1.ppc (installed) and libxml2-python?
    or do i to upgrade them?

    Error: Package: libxml2-python-2.9.10-1.ppc (installed)
               Requires: libxml2 = 2.9.10-1
               Removing: libxml2-2.9.10-1.ppc (installed)
                   libxml2 = 2.9.10-1
               Updated By: libxml2-2.10.4-1.ppc (clamav_103_main)
                   libxml2 = 2.10.4-1
    Error: Package: 1:libstdc++-8-1.ppc (installed)
               Requires: libgcc = 1:8-1
               Removing: 1:libgcc-8-1.ppc (installed)
                   libgcc = 1:8-1
               Updated By: 1:libgcc-10-2.ppc (clamav_103_main)
                   libgcc = 1:10-2
               Available: libgcc-8.1.0-2.ppc (cloudinit)
                   libgcc = 8.1.0-2
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest
    /gpfs/software/ClamAV/clamav_103_repo>#  

    The suggested modifiers were not useful.

    P.S: I dont understand the "1:" part in the line  - Package: 1:libstdc++-8-1.ppc - is that part of the version?



    ------------------------------
    Brendan Walsh
    ------------------------------

    Attachment(s)



  • 2.  RE: yum upgrade clamav

    Posted Fri August 02, 2024 06:18 AM

    Hi Brendan,

    Can you try removing  libxml2-python-2.9.10-1 if it is not used by other packages ?

     libxml2-python-2.9.10-1 is based on python2 and it is old.

    Can you check if your repository is set with proper libgcc packages ?

    Please list the output of "yum list libgcc*"



    ------------------------------
    SANGAMESH
    ------------------------------



  • 3.  RE: yum upgrade clamav

    Posted Fri August 02, 2024 11:03 AM

    Hi Sangamesh

    /gpfs/software/ClamAV/clamav_103_repo># yum list "libgcc*"
    clamav_103_main                                                                                                                                                                           | 2.9 kB  00:00:00     
    clamav_103_repo                                                                                                                                                                           | 2.9 kB  00:00:00     
    cloudinit                                                                                                                                                                                 | 2.9 kB  00:00:00     
    Installed Packages
    libgcc.ppc                                                                                 1:8-1                                                                                   installed                     
    libgcc10.ppc                                                                               10.3.0-6                                                                                @/libgcc10-10.3.0-6.aix7.2.ppc
    libgcc8.ppc                                                                                8.3.0-4                                                                                 installed                     
    Available Packages
    libgcc.ppc                                                                                 1:10-2                                                                                  clamav_103_main               
    libgcc8.ppc                                                                                8.3.0-7                                                                                 clamav_103_main               
    /gpfs/software/ClamAV/clamav_103_repo># ls -l | grep libgc
    -rwxrwxrwx    1 root     system        14998 Aug 01 10:59 libgcc-10-2.aix7.2.ppc.rpm
    -rwxrwxrwx    1 root     system       812076 Aug 01 10:59 libgcc10-10.3.0-6.aix7.2.ppc.rpm
    -rwxrwxrwx    1 root     system       997108 Jul 24 10:33 libgcc8-8.3.0-6.aix7.2.ppc.rpm
    /gpfs/software/ClamAV/clamav_103_repo># date
    Fri Aug  2 10:54:25 EDT 2024
    /gpfs/software/ClamAV/clamav_103_repo># 

    I am not sure if libxml2-python-2.9.10-1 is used by other packages. I think i can use yum deplist libxml2-python-2.9.10-1?

    if it has sensible output i'll add it here.

    Thanks



    ------------------------------
    Brendan Walsh
    ------------------------------