Yum Error

Home » CentOS » Yum Error
CentOS 8 Comments

Hi there, I’ve installed C7 and I’m trying to use targetcli and other. Until yesterday all works good. Today I’ve runned yum update, that has updated glibc. Then I installed targetcli and targetd. After some operation on an md device like mount/umont. After this, during yum install lsof I get:

….. Install 1 Package

Total size: 331 k Installed size: 927 k Is this ok [y/d/N]: y Downloading packages:
Running transaction check Running transaction test Transaction test succeeded Running transaction Traceback (most recent call last):
File “/usr/bin/yum”, line 29, in
yummain.user_main(sys.argv[1:], exit_code=True)
File “/usr/share/yum-cli/yummain.py”, line 355, in user_main
errcode = main(args)
File “/usr/share/yum-cli/yummain.py”, line 261, in main
return_code = base.doTransaction()
File “/usr/share/yum-cli/cli.py”, line 771, in doTransaction
resultobject = self.runTransaction(cb

8 thoughts on - Yum Error

  • Hi Mark, I’ve tried:rpm -e yum-plugin-fs-snapshot error: package yum-plugin-fs-snapshot is not installed

    Then, yum-plugin-fs-snapshot is not installed.

    I’ve tried to install it but nothing happened. Then I’ve tried also to remove it with rpm -e but no good result.

    Other method to get debug info?

    Thanks in advance.

  • rpm -qf /usr/lib/python2.7/site-packages/yum/fssnapshots.py will tell you what package owns that file.

  • rpm -qf /usr/lib/python2.7/site-packages/yum/fssnapshots.py yum-3.4.3-118.el7.CentOS.noarch

    Tried to reinstall yum and yum-fastestmirror…bad results.

  • Hello friends, today I encountered this issue on one of the CentOS
    machines, yesterday everything seemed woking normally:

    $ sudo yum update There was a problem importing one of the Python modules required to run yum. The error leading to this problem was:

    lIbgscaPi_krb .co.2: cannot open shared object file: No such file or directory

    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.5 (default, Nov 6 2016, 00:28:07)
    [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)]

    If you cannot solve this problem yourself, please go to the yum faq at:
    http://yum.baseurl.org/wiki/Faq

    Im sure I did not overwrite any of the python packages, since I have protectbase configured. Please do you know what could be the problem?

    Thank you very much and have a nice day vychytraly

  • sudo ldconfig

    And if the error persists check that there’s nothing wrong with your filesystem – run dmesg to see if there are any other issues.

    P.