YUM problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

I'm trying to find a YUM package. My system runs a CentOS-7.2.1511 (yes, it's a old version, but some software is "stable" with this CentOS version). Now, I'm looking for a package with YUM. When a run "yum provides */system-config-lvm", I get this error:
[root@mysystem ~]# yum provides */system-config-lvm
Complementos cargados:fastestmirror, langpacks, priorities
Loading mirror speeds from cached hostfile
* epel: mirror.uv.es
* extras: ftp.csuc.cat<ftp://ftp.csuc.cat>
* updates: ftp.csuc.cat<ftp://ftp.csuc.cat>
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 375, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 184, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 584, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
  File "/usr/share/yum-cli/yumcommands.py", line 1557, in doCommand
    return base.provides(extcmds)
  File "/usr/share/yum-cli/cli.py", line 1619, in provides
    callback_has_matchfor=True)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 3538, in searchPackageProvides
    tagdata = getattr(po, tag)
  File "/usr/lib/python2.7/site-packages/yum/packages.py", line 668, in <lambda>
    filelist = property(fget=lambda self: self.returnFileEntries(ftype='file'))
  File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1504, in returnFileEntries
    self._loadFiles()
  File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1478, in _loadFiles
    files = self.hdr['filenames']
_rpm.error: invalid header data

I have run "yum clean metadata" and "yum clean all", but error message still appears.

What can I do?

Thanks.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux