How to fix synaptic: error while loading shared libraries: libxapian.so.30: cannot open shared?
Solution 1:
You have to reinstall the proper library from official Ubuntu package by using commands below:
sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install --reinstall libxapian30 libxapian-dev
and then retry running Synaptic.