[K12OSN] smbldap-installer reinstall failure (Robert Moskowitz) & (Roger)
Dan Young
dyoung at mesd.k12.or.us
Wed Aug 9 21:04:33 UTC 2006
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
--
Dan Young <dyoung at mesd.k12.or.us>
Multnomah ESD - Technology Services
503-257-1562
More information about the K12OSN
mailing list