apt-listchanges でエラーメッセージ - memo.xight.org

Traceback (most recent call last):
  File "/usr/bin/apt-listchanges", line 35, in ?
    import apt_listchanges
  File "/usr/lib/site-python/apt_listchanges.py", line 26, in ?
    _ = gettext.translation('apt-listchanges').gettext
  File "/usr/lib/python2.3/gettext.py", line 416, in translation
    t = _translations.setdefault(key, class_(open(mofile, 'rb')))
  File "/usr/lib/python2.3/gettext.py", line 176, in __init__
    self._parse(fp)
  File "/usr/lib/python2.3/gettext.py", line 304, in _parse
    tmsg = unicode(tmsg, self._charset)
LookupError: unknown encoding: EUC-JP

このエラーの対応方法

  • # aptitude install python2.3-japanese-codecs