20/06/2012 08:35 +0200, Andras Horvath wrote: > On Tue, 19 Jun 2012 19:05:49 +0200 > Andras Horvath <[log in to unmask]> wrote: > > > On Tue, 19 Jun 2012 09:59:26 -0700 > > Akemi Yagi <[log in to unmask]> wrote: > > > > > On Tue, Jun 19, 2012 at 9:55 AM, Andras Horvath <[log in to unmask]> > > > wrote: > > > > > > > How could I run a self check on all packages with rpm to see if > > > > all the files are there and their hashes match too? > > > > > > Run 'rpm -V' against the packages. > > > > > > If you get any output, then there is (are) some mismatch(es). Man > > > page has the explanation for the output. > > > > > > Akemi > > > > I ran it against python and yum packages, but all are ok. > > > > Andras > > If I restore "/usr/lib64/python2.6" directory from my backup, then yum > works again just fine. I can run "yum update" too. But when I run "yum > reinstall python", then after the package install everything goes wrong > again. > > Any idea what could cause this? This is a simple case installing a > package. Required cElementTree module is actually located in xml.etree (/usr/lib64/python2.6/xml/etree/cElementTree.py from python rpm), standalone cElementTree is not included in distro. Try to check access to the module at python interactive session: from xml.etree import cElementTree > Andras