Subject: | |
From: | |
Reply To: | |
Date: | Tue, 21 Nov 2006 00:10:10 +0100 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
----- Original message from Ioannis Vranos on Mon Nov 20 21:50:22 2006 -----
>
> For help to anyone that needs it, the procedure I followed to check the rpms integrity of
> my system and restore the missing files is:
>
>
> This filters the missing files/directories and stores them in output.txt, along with some
> files/directories that may not be missing, but contain the word "missing" in their name.
>
> rpm -V --nodeps -qa |grep missing >output.txt
>
>
>
>
> Then for any missing file/directory, we perform
>
> rpm -qf FILE_OR_DIRECTORY_THAT_IS_MISSING
>
> to find the corresponding rpm.
>
>
>
> We reinstall the corresponding rpm via
>
> rpm -ivh --force NAME_OF_RPM
>
Hello,
I check my rpm with :
while read line
do
toto=`echo $line | sed -e s"/.rpm//"`
echo $toto
rpm -V $toto
done < /var/log/rpmpkgs
and reinstall with :
rpm --nodeps -e NAME_OF_RPM
yum install NAME_OF_RPM
I had to do that for 28 packages this week-end, I'll explain
later why.
--
Best regards,
Robert FRANCHISSEUR
____ Apollo_gist :-)______________________________________________________
| Robert FRANCHISSEUR - Laboratoire de Météorologie Dynamique - C.N.R.S. |
| Equipe "R.A.M.S.E.S." - UNIVERSITE P. et M. Curie - Tour 45-55 3ème 315C |
| Boite 99 - 4, place Jussieu F-75252 PARIS CEDEX 05 FRANCE |
| Phone : +33 (0)1 44 27 73 87 fax : +33 (0)1 44 27 62 72 |
| e-mail : robert at lmd . jussieu . fr http : //www.lmd.jussieu.fr |
--------------------------------------------------------------------------
|
|
|