My Profile

Keep Up to Date:
Blog RSS
Blog
Forum RSS
Forum
Post New Topic Post Reply
Posted 8 Months ago
filipmhz
Senior Boarder
Posts: 67
graphgraph
User Offline
 
Due to some filesystem-corruption I lost a few files. To get an overview over the damage I want to verify all packages and get a list of all missing files *and* the corresponding package-name.

rpm -Va brings me the list, but it doesnt mention the packages.

The outputlines of rpm -qa are not suitable to be fed to rpm -V directly cause it contains the version at the end which is not so easy to remove cause '-' is no valid seperator ...

So before I start writing some nasty perl-tool on my own : maybe I missed a simple rpm-option.

thnx,
The administrator has disabled public write access.
Posted 8 Months ago
dsojda
Expert Boarder
Posts: 85
graphgraph
User Offline
 
An easy way to get the files back and fix any dependency problems would be to install apt-get for rpm... you can then do apt-get install -f which will fix any problems.
The administrator has disabled public write access.
Posted 8 Months ago
mystic_moose
Senior Boarder
Posts: 66
graphgraph
User Offline
 
rpm -Va |cut -c 12- |tee list1.txt |xargs rpm -q
The administrator has disabled public write access.
 
Copyright © 2006 - Nov 2008 My Linux Gang