bakomatex 安装问题

bakomatex 安装问题

问题
为 bakomatex 安装了 deb 包,从那时起 dpkg 就一直出现错误。

debanjan@tanrake:~$ sudo apt-get upgrade
[sudo] password for debanjan: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up bakoma-tex:i386 (10.1.0-130131) ...
/opt/bakoma/bin/linux/setupcon: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
dpkg: error processing bakoma-tex:i386 (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 bakoma-tex:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)

解决问题所采取的步骤

debanjan@tanrake:~$ sudo dpkg --configure -a
Setting up bakoma-tex:i386 (10.1.0-130131) ...
/opt/bakoma/bin/linux/setupcon: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
dpkg: error processing bakoma-tex:i386 (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 bakoma-tex:i386

答案1

尝试安装libgtk2.0-0为了i386,在终端中输入以下命令:

sudo apt-get install libgtk2.0-0:i386

实际上libgtk-x11-2.0.so.0属于libgtk2.0-0:

http://packages.ubuntu.com/saucy/i386/libgtk2.0-0/filelist

相关内容