On Wednesday 06 Jul 2011 12:38:22 Neil Bothwick wrote:
> On Wed, 6 Jul 2011 11:37:54 +0100, Mick wrote:
> > > It produces false positives and you need to look at the output for
> > > each affected package, but do you know a better way of detecting
> > > corruption of installed files?
> > 
> > I wasn't familiar with qcheck (yes, I know, I lead a sheltered life!)
> > but adding --verbose does not reveal additional info.  When you say
> > "look at the output", do you mean the output of emerge -1aDv <package> ?
> 
> The -B option restricts the output to just the names of packages with
> changed files. If you feed this list back to qcheck with just the -T
> option, you'll get a list of affected files.
> 
> qcheck -aBT >foo
> qcheck -T $(cat foo)
> 
> You may want to pipe the output from the second through grep -v /etc/

Very useful Neil, thanks!  Most of these files had lockfiles hanging around, 
or some changed config file.
-- 
Regards,
Mick

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

Reply via email to