Try to reinstall the package as was suggested, and let us know if it helped.
sudo apt install --reinstall im-config
Try to reinstall the package as was suggested, and let us know if it helped.
sudo apt install --reinstall im-config