Skype 找不到 libsqlite3.so.0

Skype 找不到 libsqlite3.so.0

Skype 无法运行:

$ skype
skype: error while loading shared libraries: libsqlite3.so.0: cannot open shared object file: No such file or directory

我尝试重新安装 Skype(apt-get remove 然后 apt-get install)但仍然无法运行。

我尝试手动安装该库:

$ apt-file search libsqlite3.so.0
libsqlite3-0: /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
libsqlite3-0: /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
libsqlite3-0-dbg: /usr/lib/debug/usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6

$ sudo apt-get install libsqlite3-0
...
libsqlite3-0 is already the newest version.

我尝试允许 32 位版本:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get -f install skype

我尝试卸载并重新安装 Skype。没有成功。

我注意到,通过上述所有操作,“apt-get”从未尝试删除或重新安装该库。如果我尝试手动删除该库,则无法:

$ sudo apt-get remove libsqlite3-0
...
Some packages could not be installed. This may mean that you have
requested an impossible situation
...
The following packages have unmet dependencies.
 libatk-wrapper-java : Depends: default-jre but it is not going to be installed or
                                java2-runtime
 libatk-wrapper-java-jni : Depends: default-jre but it is not going to be installed or
                                    java2-runtime
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

我真的不知道这意味着什么,除了它不能被删除,因为一些依赖关系会被破坏。

更新:按照要求:

$ apt-cache policy libsqlite3-0:i386
libsqlite3-0:i386:
  Installed: 3.7.17-1ubuntu1
  Candidate: 3.7.17-1ubuntu1
  Version table:
 *** 3.7.17-1ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ saucy/main i386 Packages
        100 /var/lib/dpkg/status

更新 2:按照要求:

$ stat /usr/lib/i386-linux-gnu/libsqlite3.so.0
stat: cannot stat ‘/usr/lib/i386-linux-gnu/libsqlite3.so.0’: No such file or directory

我上线了:

  • Ubuntu 13.10 活泼
  • Linux aura 3.11.0-18-generic #32-Ubuntu SMP 2014 年 2 月 18 日星期二 21:11:14 UTC x86_64 x86_64 x86_64 GNU/Linux
  • CPU 为 Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz

答案1

这里的问题是,由于某种原因,libsqlite3 i386 库缺失,尽管它已按要求安装,apt并且不存在依赖性问题。要解决此问题,只需重新安装包 ( sudo apt-get install --reinstall libsqlite3-0:i386)。

相关内容