AIX

 View Only
  • 1.  tightvnc-server-1.3.10-3.ppc installation in AIX 7.2 (7200-05-09-2446)

    Posted Wed March 12, 2025 05:39 PM

    Hello for all,

    I am trying to install tightvnc-server-1.3.10-3.ppc in an AIX 7.2.

    I have a local repository  from Toolbox.

    When I try to install tightvnc, using dnf, it returns a "missing" lib (see below):

    [root@server]$ dnf install tightvnc-server.ppc
    Last metadata expiration check: 1:42:28 ago on Wed Mar 12 16:38:15 -03 2025.
    Error:
     Problem: conflicting requests
      - nothing provides libX11.a(shr4.o) needed by tightvnc-server-1.3.10-3.ppc
    (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

    What is missing here?

    Thanks



    ------------------------------
    Adalberto Giaretta
    Diretor de Tecnologia
    Infodive Representações e Serviços Ltda
    Porto Alegre
    +55 51 3330-0444
    ------------------------------


  • 2.  RE: tightvnc-server-1.3.10-3.ppc installation in AIX 7.2 (7200-05-09-2446)

    Posted Thu March 13, 2025 02:55 AM
    Edited by Saikrishna Akkela Thu March 13, 2025 03:36 AM

    Hi,

    Do you have "X11.base.lib" installed in your system? If not, can you try after installing it?

    $ lslpp -w /usr/lib/libX11.a
      File                                        Fileset               Type
      ----------------------------------------------------------------------------
      /usr/lib/libX11.a                           X11.base.lib          Symlink


    If this is already installed, Please run "/usr/sbin/updtvpkg" and try installing the tightvnc.
    ------------------------------
    Saikrishna Akkela
    ------------------------------



  • 3.  RE: tightvnc-server-1.3.10-3.ppc installation in AIX 7.2 (7200-05-09-2446)

    Posted Thu March 13, 2025 09:09 AM

    Hi,

    Perfect, Saikrishna! It id done!

    I run 

    [root@server:/]$ lslpp -w /usr/lib/libX11.a
      File                                        Fileset               Type
      ----------------------------------------------------------------------------
      /usr/lib/libX11.a                           X11.base.lib          Symlink

    Then,

    [root@server:/]$ /usr/sbin/updtvpkg
    Please wait...
    [root@server:/]$

    And now ... IT IS OK.

    [root@server:/]$ dnf install tightvnc-server.ppc
    Last metadata expiration check: 17:16:52 ago on Wed Mar 12 16:38:15 -03 2025.
    Dependencies resolved.
    =============================================================================================================================================================
     Package                                  Architecture                 Version                              Repository                                  Size
    =============================================================================================================================================================
    Installing:
     tightvnc-server                          ppc                          1.3.10-3                             Local_AIX_Toolbox                          1.2 M
    Installing dependencies:
     libjpeg                                  ppc                          9f-1                                 Local_AIX_Toolbox                          1.6 M
     
    Transaction Summary
    =============================================================================================================================================================
    Install  2 Packages
     
    Total size: 2.8 M
    Installed size: 7.6 M
    Is this ok [y/N]: y
    Downloading Packages:
    Running transaction check
    Transaction check succeeded.
    Running transaction test
    Transaction test succeeded.
    Running transaction
      Preparing        :                                                                                                                                     1/1
      Installing       : libjpeg-9f-1.ppc                                                                                                                    1/2
      Installing       : tightvnc-server-1.3.10-3.ppc                                                                                                        2/2
      Verifying        : libjpeg-9f-1.ppc                                                                                                                    1/2
      Verifying        : tightvnc-server-1.3.10-3.ppc                                                                                                        2/2
     
    Installed:
      tightvnc-server-1.3.10-3.ppc                                                        libjpeg-9f-1.ppc
     
    Complete!

    Thank you, Saikrishna



    ------------------------------
    Adalberto Giaretta
    Diretor de Tecnologia
    Infodive Representações e Serviços Ltda
    Porto Alegre
    +55 51 3330-0444
    ------------------------------



  • 4.  RE: tightvnc-server-1.3.10-3.ppc installation in AIX 7.2 (7200-05-09-2446)

    Posted Fri March 14, 2025 07:00 AM

    Hi,

    Just to clarify, why do we have to run "/usr/sbin/updtvpkg" and it solved my issue.

    It is because AIX-rpm virtual package.

    AIX-rpm is a "virtual" package which reflects what has been installed on the system by installp. It is created by the /usr/sbin/updtvpkg script when the rpm.rte is installed, and can be run anytime the administrator chooses (usually after installing something with installp that is required to satisfy some dependency by an RPM package). 
     
     Since AIX-rpm has to have some sort of version number, it simply reflects the level of bos.rte on the system where /usr/sbin/updtvpkg is being run. It's just informational - nothing should be checking the level of AIX-rpm. 
     
     AIX doesn't just automatically run /usr/sbin/updtvpkg every time that something gets installed or deinstalled because on some slower systems with lots of software installed, /usr/sbin/updtvpkg can take a LONG time. 
     
     If you want to run the command manually: 
     
    # /usr/sbin/updtvpkg 
    If you get an error similar to "cannot read header at 20760 for lookup" when running updtvpkg, run a rpm rebuilddb: 
    # rpm --rebuilddb 
    Once you run updtvpkg, you can run a rpm -qa to see your new AIX-rpm package. 
    Regards,


    ------------------------------
    Adalberto Giaretta
    Diretor de Tecnologia
    Infodive Representações e Serviços Ltda
    Porto Alegre
    +55 51 3330-0444
    ------------------------------



  • 5.  RE: tightvnc-server-1.3.10-3.ppc installation in AIX 7.2 (7200-05-09-2446)

    Posted Fri March 14, 2025 09:37 AM
    Hello Adalberto,

    You can use which_fileset to see what fileset a file belongs to:

    $ which_fileset libX11.a
    /usr/lib/libX11.a -> /usr/lpp/X11/lib/R7/libX11.a X11.base.lib 7.3.2.0
    /usr/lpp/X11/lib/R7/libX11.a            X11.base.lib 7.3.2.0
    /usr/lpp/X11/lib/libX11.a -> /usr/lpp/X11/lib/R4/libX11.a X11.compat.lib.X11R4 7.3.0.0
    /usr/lpp/X11/lib/R4/libX11.a            X11.compat.lib.X11R4 7.3.0.0
    /usr/lpp/X11/lib/R5/libX11.a            X11.compat.lib.X11R5 7.3.0.0
    /usr/lpp/X11/lib/R6/libX11.a            X11.compat.lib.X11R6 7.3.0.0

    I would tend to install all of the filesets listed. 

    Thanks!

    Grover Davidson
    AIX Screen Team
    grover@us.ibm.com

    Dick Stratton, who was held in the Hanoi Hilton for 2,251 days as a "prisoner at war," had taught me that a call from the field is not an interruption of the daily routine; it's the reason for the daily routine. - General James Mattis

    Teamwork is built on individual contributions, each working independently but willingly helping others when needed. It is by sharing knowledge and skills that the abilities of the individual contributors is increased, and as a result, the whole team. - Grover Davidson