[Rpm-maint] rpm --verify and replaced files

Michael Schroeder mls at suse.de
Tue Apr 9 08:40:42 UTC 2013


On Tue, Apr 09, 2013 at 08:32:57AM +0300, Panu Matilainen wrote:
> I suppose the idea has been not to complain when its "known broken", ie 
> installed with --replacefiles or --force. The kinda legitimate use-case for 
> that would be replacing %config files from another package, for everything 
> else forced files pretty much of course equals broken package. I agree it 
> would be good to somehow note this in the --verify output, but since the 
> verification output is the way it is... ideas welcome.
>
> One possibility might be adding another "field" to the output where any 
> non-regular state is shown as a one-letter abbreviation (such as R for 
> replaced, W for wrongcolor etc).

Yes, that would work for me. Another easy bandaid is to add an option
to make verify report bad replaced files.

Cheers,
  Michael.

-- 
Michael Schroeder                                   mls at suse.de
SUSE LINUX Products GmbH,  GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}


More information about the Rpm-maint mailing list