在ubuntu18.04 下通过如下命令进行aptitude命令的安装,
sudo apt-get install aptitude
安装成功,运行aptitude后遇到如下报错:
➜ test aptitude
aptitude: error while loading shared libraries: libsigc-2.0.so.0: cannot open shared object file: No such file or directory
通过查阅相关资料,找到如下解决方法:
➜ test sudo apt-get install --reinstall libcairomm-1.0-1v5 libglibmm-2.4-1v5 \
libsigc++-2.0-0v5