[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Missing l10n and incomplete verification
- From: Charlie Brady <charlieb-rpm e-smith com>
- To: rpm-list redhat com
- Subject: Re: Missing l10n and incomplete verification
- Date: Wed, 15 May 2002 15:36:08 -0400 (EDT)
On Wed, 15 May 2002, Charlie Brady wrote:
>
> I would expect "rpm -V foo" to tell me about missing files. But it doesn't
> seem to. Is this expected behaviour?
>
> If it is intended for localisation files to be conditionally installed,
> what conditions control whether they are installed or not?
>
> bash-2.05# rpm -q lynx
> lynx-2.8.4-17
> bash-2.05# ls -l /usr/share/locale/*/LC_MESSAGES/lynx.mo
> -rw-r--r-- 1 root root 124902 Jul 31 2001
> /usr/share/locale/fr/LC_MESSAGES/lynx.mo
> bash-2.05# rpm -V lynx
> S.5....T c /etc/lynx.cfg
But if I now re-install the RPM, I get all the localisations:
bash-2.05# rpm -iv --force ~/lynx-2.8.4-17.i386.rpm
Preparing packages for installation...
lynx-2.8.4-17
bash-2.05# ls */LC*/lynx.mo
cs/LC_MESSAGES/lynx.mo ja/LC_MESSAGES/lynx.mo sl/LC_MESSAGES/lynx.mo
da/LC_MESSAGES/lynx.mo nl/LC_MESSAGES/lynx.mo sv/LC_MESSAGES/lynx.mo
de/LC_MESSAGES/lynx.mo pt_BR/LC_MESSAGES/lynx.mo
fr/LC_MESSAGES/lynx.mo ru/LC_MESSAGES/lynx.mo
And if I remove a file, the rpm verification correctly fails:
bash-2.05# rm sv/LC_MESSAGES/lynx.mo
rm: remove `sv/LC_MESSAGES/lynx.mo'? y
bash-2.05# rpm -V lynx
S.5....T c /etc/lynx.cfg
missing /usr/share/locale/sv/LC_MESSAGES/lynx.mo
bash-2.05#
--
Charlie Brady charlieb@e-smith.com
Lead Product Developer
Network Server Solutions Group http://www.e-smith.com/
Mitel Networks Corporation http://www.mitel.com/
Phone: +1 (613) 592 5660 or 592 2122 Fax: +1 (613) 592 1175
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]