RE: Missing files need restoring from RPMs - help

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

 



Hi Vidiot,

> -----Original Message-----
> From: Vidiot [mailto:brown@xxxxxxxxxxxxxxxxxx]

> 
> Due to a hard drive problem, a bunch of files are now gone.  
> I need to get
> those files from the associated RPM.
> 
> For example, /usr/X11R6/lib/modules/bitmap, is now gone.
> 
> How do I get RPM to tell me which RPM file is associated with 
> said file
> and how do I get it to reinstall missing files?  

To find out what files are associated with a package use the --whatprovides option to rpm ie

rpm -q --whatprovides  /usr/X11R6/bin/bitmap
xorg-x11-6.8.1-23.EL

You can also use --whatrequires ie

rpm -q --whatrequires xorg-x11
linuxwacom-0.6.4-6
xorg-x11-tools-6.8.1-23.EL


Im not sure if --whatprovides works if the file your needing to replace is missing, give it a go and see.

rpm -v <packageX> should tell you if a file related to packageX is missing.

Its also possible that you may be able to boot off the install media and perform a repair install, but I'm not sure with RH7.1 .

Good luck,
Nick .



Wesleyan Administration Services Ltd registered number 5188850 and Wesleyan Unit Trust Managers Ltd registered number 2114859 ("WUTM Ltd")
are wholly owned subsidiary companies of Wesleyan Assurance Society, whose registered number is ZC145.
WUTM Ltd is a member of IMA. For ISA/PEP/Unit Trusts Administration Centre: PO Box 9033, Chelmsford, SM99 2WQ Telephone: 0870 601 6129
Wesleyan Assurance Society and WUTM Ltd are authorised and regulated by the Financial Services Authority.
Head Office, Colmore Circus, Birmingham B4 6AR. Telephone: 0121 200 3003 Fax 0121 200 2971.
Website: www.wesleyan.co.uk Telephone calls may be recorded for monitoring and training purposes.

CONFIDENTIALITY NOTICE

This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you are not the intended recipient, please contact us immediately.

The contents of any attachments in this e-mail may contain software viruses, which could damage your own computer system. While every reasonable precaution to minimise this risk has been taken, we cannot accept liability for any damage that you sustain as a result of software viruses. You should carry out your own virus checking procedure before opening any attachment.


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux