Translated message

A translation of this page exists in English.

yum が動作せず、パッケージをアップデートできない

Solution Unverified - Updated -


  • yum list コマンドを実行すると、以下のような ssl エラーが発生します。
File "/usr/share/rhn/up2date_client/", line 139, in getLoginInfo
  File "/usr/share/rhn/up2date_client/", line 98, in login
    li = server.up2date.login(systemId)
  File "/usr/share/rhn/up2date_client/", line 64, in __call__
    raise up2dateErrors.SSLCertificateVerifyFailedError()
up2date_client.up2dateErrors.SSLCertificateVerifyFailedError:The SSL certificate failed verification.
  • https の代わりに http を使用すると登録できますが、yum ツールをアップグレードすると以下のエラーが発生します。
File "/usr/lib/python2.4/site-packages/yum/", line 530, in _loadRepoXML
    cache=self.http_caching == 'all')
  File "/usr/lib/yum-plugins/", line 209, in _getFile
    start, end, copy_local, checkfunc, text, reget, cache)
  File "/usr/lib/yum-plugins/", line 298, in _noExceptionWrappingGet
    return result
UnboundLocalError: local variable 'result' referenced before assignment


  • Red Hat Enterprise Linux 5
  • Red Hat Classic Registration

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content