Debian(amd64) Wheezy 降级 libsqlite3-0

Debian(amd64) Wheezy 降级 libsqlite3-0
benben@debian:~/goagent$ sudo apt-get install sqlite3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
sqlite3 : Depends: libsqlite3-0 (= 3.7.13-1+deb7u1) but 3.7.17-1~bpo70+1 is to be installed
E: Unable to correct problems, you have held broken packages.

我该如何使用sqlite3


benben@debian:~$ sudo dpkg -l | grep bpo | grep libsqlite
ri  libsqlite3-0:amd64                    3.7.17-1~bpo70+1                   amd64        SQLite 3 shared library

这是依赖项的输出。看来很多常见的包都依赖它。

我对此不确定,但我想也许有一次我尝试在不稳定的版本中安装一些软件包,它会libsqlite3-0自动更新软件包。

我该如何救援?

benben@debian:~$ apt-cache --installed rdepends libsqlite3-0
libsqlite3-0
Reverse Depends:
  libnss3
  iceweasel
  libyelp0
  libwebkitgtk-3.0-0
  libtracker-sparql-0.14-0
  telepathy-salut
  telepathy-logger
  libtelepathy-logger2
  telepathy-gabble
  libseed-gtk3-0
  python3.2
  python2.7
  python2.6
  packagekit
  libpackagekit-glib2-14
  libnss3
  libsoup-gnome2.4-1
  libgpod4
  libchamplain-0.12-0
  iceweasel
  gnome-settings-daemon
  gnome-packagekit
  glchess
  libedataserverui-3.0-1
  libedata-book-1.2-13
  libebook-1.2-13
  libebackend-1.2-2
  libcamel-1.2-33
  evolution-data-server
  colord
  aptitude
  libaprutil1-dbd-sqlite3

答案1

从您的dpkg -l输出来看,它似乎libsqlite3-0-3.7.17-1~bpo70+1已被选择删除 ( ),但由于某种原因r仍然已安装 ( )。i您可以通过运行以下命令来检查已安装的任何软件包是否依赖于此软件包:

apt-cache --installed rdepends libsqlite3-0

如果您安装的软件包都不依赖于有问题的软件包,只需使用以下命令清除它:

apt-get purge libsqlite3-0

然后sqlite3再次尝试安装。

另外,该libsqlite3-0包是不是目前可从喘息向后移植,因此,如果上述方法不起作用,最好先进行安装apt-get update,然后重试安装sqlite3

相关内容