Bug 83122

Summary: rpm -V fileutils won't detect missing files
Product: [Retired] Red Hat Linux Reporter: Peter Åstrand <astrand>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED NOTABUG QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: mitr
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-01-31 17:07:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peter Åstrand 2003-01-30 15:25:22 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc1) Gecko/20020417

Description of problem:
I've been trying to research why Swedish LC_MESSAGES don't work on a certain
system. I found out that /usr/share/locale/sv/LC_MESSAGES/fileutils.mo was
missing, but rpm -V fileutils didn't detect this:

[root@bornholm root]# ls /usr/share/locale/sv/LC_MESSAGES/fileutils.mo
ls: /usr/share/locale/sv/LC_MESSAGES/fileutils.mo: No such file or directory
[root@bornholm root]# rpm -V fileutils
[root@bornholm root]#

Still, the RPM db thinks that the fileutils pkg owns this file:

[root@bornholm root]# rpm -qf /usr/share/locale/sv/LC_MESSAGES/fileutils.mo
fileutils-4.1.9-11

After re-installing fileutils with --force, things work correctly:

[root@bornholm root]# rm /usr/share/locale/sv/LC_MESSAGES/fileutils.mo
[root@bornholm root]# rpm -V fileutils
missing    /usr/share/locale/sv/LC_MESSAGES/fileutils.mo


Version-Release number of selected component (if applicable):
rpm-4.1-1.06

How reproducible:
Couldn't Reproduce

Steps to Reproduce:
I guess this can be reproduced by installing a new system and *not* choosing to
include support for Swedish, but I haven't tried.

Comment 1 Jeff Johnson 2003-01-31 17:07:57 UTC
My guess is that the file isn't missing, it was not
installed.

Look at "rpm -qs fileutils" output to find the install state of
the file in question.

Reinstall the package with a different setting for

#       A colon separated list of desired locales to be installed;
#       "all" means install all locale specific files.
#
%_install_langs all

If using rpm, just reinstall the package.

If using anaconda, this can be done by selecting what locales
you are interested in.

Please reopen if the above is not the problem.