Hi all,

I've reviewed the mailing list archives and it looks like the "centos.org" AMIs in the marketplace are
really official products of the centos project (whatever that means), but I wanted to ask explicitly
to confirm.

Presuming yes, I've run into an odd problem with the 6.4 x86_64 AMI (not updated). 


with a few packages, files are not being properly created in /usr/share/locale/xx/LC_XXXX when I install the RPM. 
I mostly don't care about the files themselves, but I worry about what else is wrong.

I'll use subversion as my example below, but there are about half a dozen affected packages, including the coreutils
package as shipped in the AMI (ami-bf5021d6).


I have turned off selinux enforcement. 

RPM database shows the file:
[root@dns-east svn]# rpm -ql subversion | grep de.LC
/usr/share/locale/de/LC_MESSAGES/subversion.mo

verify doesn't complain:
[root@dns-east svn]# rpm --verify subversion
[ just returns, no output ]

RPM package contains the file:
[root@dns-east svn]# rpm2cpio /tmp/subversion-1.6.11-10.el6_5.x86_64.rpm | cpio -t | grep de.LC_MESSAGES
23744 blocks
./usr/share/locale/de/LC_MESSAGES/subversion.mo

[root@dns-east svn]# rpm2cpio /tmp/subversion-1.6.11-10.el6_5.x86_64.rpm | cpio --extract --make-directories
23744 blocks
[root@dns-east svn]# ls -l ./usr/share/locale/de/LC_MESSAGES/
total 308
-rw-r--r--. 1 root root 312655 Mar 13 14:03 subversion.mo

Uninstalling and reinstalling the RPM doesn't help.  


There are no crazy install scripts, either. 

[root@dns-east svn]# rpm -qp --scripts ../subversion-1.6.11-10.el6_5.x86_64.rpm
postinstall scriptlet (using /bin/sh):
# Register the snvserve service
/sbin/chkconfig --add svnserve 2>&1
/sbin/ldconfig
preuninstall scriptlet (using /bin/sh):
if [ $1 = 0 ]; then
    /sbin/service svnserve stop > /dev/null 2>&1 || :
    /sbin/chkconfig --del svnserve > /dev/null 2>&1 || :
fi
postuninstall program: /sbin/ldconfig
[root@dns-east svn]#


--
Dan Pritts
ICPSR Computing & Network Services
University of Michigan
+1 (734)615-7362