Mozcの設定

Mozcの設定を起動させて「キー設定の選択」を選ぶと、下のエラーが出る。

$ /usr/lib/mozc/mozc_tool --mode=config_dialog
[libprotobuf ERROR google/protobuf/descriptor_database.cc:57] File already exists in database: session/candidates.proto
[libprotobuf FATAL google/protobuf/descriptor.cc:1018] CHECK failed: generated_database_->Add(encoded_file_descriptor, size):
terminate called after throwing an instance of 'google::protobuf::FatalException'
  what():  CHECK failed: generated_database_->Add(encoded_file_descriptor, size):
中止

適当に検索してみてホントかウソかよくわからない情報を試してみた。

apt-get remove uim-mozc

これで、「キー設定の選択」が選ぶことが可能になった。なんじゃこりゃ。で、設定変更後に

apt-get install uim-mozc

として問題がなかった。