AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
Expand all | Collapse all

yum install fails, missing sqlite module for python 2.7

  • 1.  yum install fails, missing sqlite module for python 2.7

    Posted Fri September 04, 2020 01:27 PM

    Hi,

    I ran yum.sh and the install succeeded but running yum update fails, missing an sqlite module:

    Installing the packages...

    Verifying... ################################# [100%]

    Preparing... ################################# [100%]

    Updating / installing...

    1:readline-6.1-2 ################################# [ 6%]

    2:sqlite-3.15.2-1 ################################# [ 12%]

    ar: 0707-109 Member name libintl.so.1 does not exist.

    ar: 0707-109 Member name libintl.so.1 does not exist.

    /

    3:gettext-0.19.7-1 ################################# [ 18%]

    /

    4:glib2-2.14.6-2 ################################# [ 24%]

    5:yum-metadata-parser-1.1.4-2 ################################# [ 29%]

    6:gdbm-1.8.3-5 ################################# [ 35%]

    7:db-4.8.24-3 ################################# [ 41%]

    8:python-2.7.10-1 ################################# [ 47%]

    9:pysqlite-1.1.7-2 ################################# [ 53%]

    10:python-iniparse-0.4-1 ################################# [ 59%]

    11:ca-certificates-2016.10.7-2 ################################# [ 65%]

    12:curl-7.52.1-1 ################################# [ 71%]

    13:python-pycurl-7.19.3-1 ################################# [ 76%]

    14:python-urlgrabber-3.10.1-1 ################################# [ 82%]

    15:yum-3.4.3-7 ################################# [ 88%]

    16:python-devel-2.7.10-1 ################################# [ 94%]

    17:python-tools-2.7.10-1 ################################# [100%]

    Yum installed successfully.

    Please run 'yum update' to update packages to the latest level.

    root:/tmp/yum> yum update

    There was a problem importing one of the Python modules

    required to run yum. The error leading to this problem was:

    0509-022 Cannot load module /opt/freeware/lib/python2.7/site-packages/_sqlitecache.so.

    0509-150 Dependent module libxml2.a(libxml2.so.2) could not be loaded.

    0509-022 Cannot load module libxml2.a(libxml2.so.2).

    0509-026 System error: A file or directory in the path name does not exist.

    0509-022 Cannot load module /opt/freeware/lib/python2.7/site-packages/_sqlitecache.so.

    0509-150 Dependent module /opt/freeware/lib/python2.7/site-packages/_sqlitecache.so coul d not be loaded.

    Please install a package which provides this module, or

    verify that the module is installed correctly.

    It's possible that the above module doesn't match the

    current version of Python, which is:

    2.7.10 (default, Jun 22 2016, 05:57:59) [C]

    I tried a force install of sqlite-3.15.2-1 but I get the same error. has anyone else had this problem?



    #AIX
    #Support
    #SupportMigration


  • 2.  RE: yum install fails, missing sqlite module for python 2.7

    Posted Wed November 10, 2021 09:49 AM

    Hello

    Try to run /usr/sbin/updtvpkg first and the run yum check-update

    Savi



    #AIX
    #Support
    #SupportMigration


  • 3.  RE: yum install fails, missing sqlite module for python 2.7

    Posted Wed December 01, 2021 12:33 AM

    Same issue. Even after running updtvpkg



    #AIX
    #Support
    #SupportMigration


  • 4.  RE: yum install fails, missing sqlite module for python 2.7

    Posted Wed December 01, 2021 11:59 AM

    There was a problem importing one of the Python modules

    required to run yum. The error leading to this problem was:


      Could not load module /opt/freeware/lib/python2.7/site-packages/_sqlitecache.so.

           Dependent module libxml2.a(libxml2.so.2) could not be loaded.

    Could not load module libxml2.a(libxml2.so.2).

    System error: No such file or directory

    Could not load module /opt/freeware/lib/python2.7/site-packages/_sqlitecache.so.

           Dependent module /opt/freeware/lib/python2.7/site-packages/_sqlitecache.so could not be loaded.


    Please install a package which provides this module, or

    verify that the module is installed correctly.


    It's possible that the above module doesn't match the

    current version of Python, which is:

    2.7.10 (default, Jun 22 2016, 05:57:59) [C]


    If you cannot solve this problem yourself, please go to

    the yum faq at:

     http://yum.baseurl.org/wiki/Faq




    #AIX
    #Support
    #SupportMigration