[K12OSN] smbldap-installer reinstall failure (Robert Moskowitz) & (Roger)

Robert Moskowitz rgm at htt-consult.com
Fri Aug 11 15:41:47 UTC 2006


Dan Young wrote:
> Dan Young wrote:
>   
>> rpm -Va | grep '/etc/logrotate.d' | grep 'missing' > /tmp/logr-files
>> for e in $(cat /tmp/logr-files); do rpm -qf $e; done > /tmp/logr-rpms
>> less /tmp/logr-rpms
>>
>> That will verify all installed RPMs and tell you what files are missing,
>> then tell you what RPM package the missing file belongs to. For each of
>> those, you'll need to reinstall the package.
>>
>> yum install yum-utils   # to get the handy yumdownloader tool
>> mkdir /tmp/logrotate; cd /tmp/logrotate
>> for $e in $(cat /tmp/logrotate); do yumdownloader $e; done
>> rpm -ivh --replacepkgs *.rpm
>>     
>
> Oops, the yumdownloader line should read:
> for $e in $(cat /tmp/logr-rpms); do yumdownloader $e; done
>   

One final bug

for e in $(cat ....

Well the  list was long:

sysklogd, samba, psacct, aspid, ppp, 
cups,yum,tux,httpd,netsnmp,vsftpd,freeradius,mgetty,up2date,squid,bind, 
and mailman

bind resulted in a warning about /etc/rndc,ey created as 
/etc/rndc.key.rpmnew

time to reboot then relook at rerunning everything.

Or just reinstalling.   Particularly if Centos 4.4 comes out this weekend!





More information about the K12OSN mailing list