Re: [CentOS] RPM: any better way to reinstall only certain files?

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



On 7/11/06, William L. Maltby <BillsCentOS@xxxxxxxxxxxx> wrote:
My former primary boot disk had some bad spots appear awhile back.
Damage, per rpm --verify, seems to be predominately in loss of reference
files in /usr/share/doc and such as that.

Being the type that wastes my own time before wasting that of others, I
did a semi-careful perusal of the rpm man pages. Thought the --files or
some such might offer a way ought. IIUC, nope! Seems that I can't select
specific files. It looks like I could do a new install in a new root
(chrooted) and then copy the files out, but I was already aware of an
apparently easier way I had used years ago, rpm2cpio (easier because I
can use the verify output list, slightly edited and reduced, to select
the desired files.

Thought "Well, it probably can do what I want, I just missed it. Maybe
tutorials, HOWTOs, etc. will give the answer". So, using the TOC of each
of these, I probed in vain (in that vein, it was fruitless but not
painless :-).

Depending on the corruption you've got, rpm -Fvh might be what you
want. Freshen may solve some of your dilemma.


--
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://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