[CentOS] Yum error

Mon Dec 22 14:19:04 UTC 2014
Alessandro Baggi <alessandro.baggi at gmail.com>

On 12/22/2014 03:01 PM, Nicolas Thierry-Mieg wrote:
>
>
> On 12/22/2014 02:54 PM, Alessandro Baggi wrote:
>> On 12/22/2014 02:39 PM, Mark Milhollan wrote:
>>> On Mon, 22 Dec 2014, Alessandro Baggi wrote:
>>>
>>>>   File "/usr/lib/python2.7/site-packages/yum/fssnapshots.py", line
>>>> 156, in
>>>> __init__
>>>>     self._vgnames = _list_vg_names()
>>>>   File "/usr/lib/python2.7/site-packages/yum/fssnapshots.py", line
>>>> 59, in
>>>> _list_vg_names
>>>>     stdout=subprocess.PIPE, stderr=subprocess.PIPE)
>>>
>>> Looks like you have yum-plugin-fs-snapshot installed, which is flawed.
>>> Further it looks like a recent update that tried to fix the original
>>> problem introduced a new problem.  You can remove it manually using "rpm
>>> -e yum-plugin-fs-snapshot".
>>>
>>>
>>> /mark
>>>
>>
>> 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?
>
> rpm -qf /usr/lib/python2.7/site-packages/yum/fssnapshots.py
> will tell you what package owns that file.
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

  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.