Am 23.12.2011 23:04, schrieb Joe Zeff:
On 12/23/2011 01:53 PM, Reindl Harald wrote:
>
>
> Am 23.12.2011 22:21, schrieb Joe Zeff:
>> On 12/23/2011 01:12 PM, Reindl Harald wrote:
>>> * remove thessh-config-files COMPLELTLY
>>> * uninstall ssh-daemon
>>> * install it again
>>
>> You can use yum to reinstall a package in one step if you want to. Is there any
advantage to doing it this way?
>> (I'm not being argumentative, here, I'm wondering if there's a reason
for your suggesting to do it this way.)
>
> without removing the configs they will be keeped
Yes, I understand that. That's why I didn't suggest that the OP not remove them
as the first step, just that using
yum reinstall might be more time effective than doing it in two steps.
i prefer in such operations make them step for step and watch
each possible output. "yum reinstall" doe snot exactly the same
than remove/install which is good if you want to reinstall a
package because something ha messed up binary files
but it handles config files totally different
"yum reinstall" will never touch them and not
create rpmnew/rpmsave files!
so if something with conigs messed up i prefer a hard remove
if it is not a critical package killing yum/rpm/ssl and implicitly
remove a bunch of other apckages