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

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



On Tue, 2006-07-11 at 15:29 -0400, Jim Perrin wrote:
> On 7/11/06, William L. Maltby <BillsCentOS@xxxxxxxxxxxx> wrote:
> > On Tue, 2006-07-11 at 13:54 -0400, William L. Maltby wrote:
> > > On Tue, 2006-07-11 at 13:41 -0400, Jim Perrin wrote:
> > > > 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.
> > > > >
> > > > > <snip>
> > >
> > > > Depending on the corruption you've got, rpm -Fvh might be what you
> > > > want. Freshen may solve some of your dilemma.
> 
> rpm also has a  --replacefiles

Gave it a shot, seems to be NG. Here's my actions and results.

# rpm --install --verbose --replacefiles \
redhat-logos-1.1.26-1.centos4.1.noarch.rpm
Preparing packages for installation...
        package redhat-logos-1.1.26-1.centos4.1 is already installed
# Did an ls and files not in /usr/share/doc/redhat*
# rpm -Fvh --replacefiles redhat-logos-1.1.26-1.centos4.1.noarch.rpm
# ls -l /usr/share/doc/redhat-logos*
ls: /usr/share/doc/redhat-logos*: No such file or directory
# rpm -Uvh --replacefiles redhat-logos-1.1.26-1.centos4.1.noarch.rpm
Preparing...                ###########################################
[100%]
        package redhat-logos-1.1.26-1.centos4.1 is already installed

I'm doing a small script for the rpm2cpio, so keep those ideas coming!
Only a few minutes to test the ideas and it might save me some effort
(just selecting the rpm files and adding to the script iinput ATM).
-- 
Bill

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
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