[CentOS] Yum error

Mon Dec 22 14:01:44 UTC 2014
Nicolas Thierry-Mieg <Nicolas.Thierry-Mieg at imag.fr>


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.