[Yum-devel] [PATCH] Don't encourage users to file a bug in case rpmdb is inconsistent

Panu Matilainen pmatilai at laiskiainen.org
Mon Feb 25 10:36:27 UTC 2013


On 02/25/2013 09:23 AM, Jan Zeleny wrote:

Thumbs up for the concept, but see below for a few comments:


> +                retmsgs.append(_('This usually indicates inconsistent state '\
> +                                 'of rpmdb. Please run rpm -Va --nofiles to '\
> +                                 'see possible issues.'))

"Inconsistent state of rpmdb" is fairly ambiguous - it can easily be 
misinterpreted for internally messed up rpmdb that requires --rebuilddb. 
I think it'd be better to talk explicitly about pre-existing dependency 
issues to avoid that possibility for confusion.

> +                retmsgs.append(_('If there are none issues reported, please '\

That should probably be s/none/no/.

This is an improvement over the current situation sure, but I think it 
should be possible to do better:

Yum already checks for pre-existing (rpmdb) dependency issues and dumps 
out the information. So there shouldn't be a need for the user to run 
'rpm -Va --nofiles', yum should be able to print out that information 
just as easily. That check could also be used to determine whether the 
user is encouraged to file a bug or not. Unless I'm missing something in 
how the thing works, that is...

	- Panu -



More information about the Yum-devel mailing list