P.S. - RE: [redhat-list] updates pending question

Alfred Hovdestad alfred.hovdestad at usask.ca
Fri May 10 20:48:14 UTC 2013



On 10/05/13 02:33 PM, Constance Morris wrote:
> -----Original Message-----
> From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com] On Behalf Of m.roth at 5-cent.us
> Sent: Friday, May 10, 2013 4:17 PM
> To: General Red Hat Linux discussion list
> Subject: RE: P.S. - RE: [redhat-list] updates pending question
>
> Constance   Morris wrote:
>> [mailto:redhat-list-bounces at redhat.com] On Behalf Of Alfred Hovdestad
>> Sent: Friday, May 10, 2013 3:53 PM
>> On 10/05/13 12:06 PM, Constance Morris wrote:
> <SNIP>
>> Hey Alfred,
>> Yes, I'm running RHEL 5.9 (Tikanga)
>> How will I know which is the custom version of openssh to re-install?
>> And do I have to download it from a website first and then upload it
>> to the server, or do I type in a command?
>
> Check places like /usr/local or /opt, unless they installed the source packages, in which case they'll be under /root/rpmbuild. If it was a tarball install, then to rebuild is easy:
> cd <dir>
> ./configure (check to see if there's any switches you need to set) make make install
>>
>> When I enter the command:   yum install openssh      or       yum install
>> openssh-server
>> I get error messages either way saying :
>>
>> " Loaded plugins: rhnplugin, security
>> Traceback (most recent call last):
>>    File "/usr/bin/yum", line 29, in ?
>>      yummain.user_main(sys.argv[1:], exit_code=True)
>>    File "/usr/share/yum-cli/yummain.py", line 309, in user_main
>>      errcode = main(args)
>>    File "/usr/share/yum-cli/yummain.py", line 161, in main
>>      return exFatal(e)
>>    File "/usr/share/yum-cli/yummain.py", line 64, in exFatal
>>      logger.critical('\n\n%s', to_unicode(e))
>>    File "/usr/lib/python2.4/logging/__init__.py", line 1019, in critical
>>      apply(self._log, (CRITICAL, msg, args), kwargs)
>>    File "/usr/lib/python2.4/logging/__init__.py", line 1078, in _log
>>      record = self.makeRecord(self.name, level, fn, lno, msg, args,
>> exc_info)
>>    File "/usr/lib/python2.4/logging/__init__.py", line 1064, in makeRecord
>>      return LogRecord(name, level, fn, lno, msg, args, exc_info)
>>    File "/usr/lib/python2.4/logging/__init__.py", line 226, in __init__
>>      if args and (len(args) == 1) and args[0] and (type(args[0]) ==
>> types.DictType):
>>   TypeError: 'NoneType' object is not callable"
>
> Oy, as they say, vey. Type yum clean all, then try again.
>
>       mark
> -----------
>
> Did the yum clean all and got " Loaded plugins: rhnplugin, security  Cleaning up Everything"
> So I afterwards I tried the ' yum install openssh ' and got the same error messages, so I tried the yum install openssh-server and also got the same error messages.
>
> Constance  :-(
>

Let's see what else has been changed on those packages.  Try:

rpm -V openssh-server
rpm -V openssh-clients

And while we are at it:

rpm -V yum

--
Alfred




More information about the redhat-list mailing list