在 ubuntu 16.04 LTS 中安装 sqlite3 时,由于未满足依赖关系,我看到以下错误,请帮我解决这个问题。
sudo apt install sqlite3
[sudo] password for dharani:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sqlite3 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'sqlite3' has no installation candidate
如果执行 apt-search,它会给出以下结果。
dharani@chikki:~$ apt search sqlite3
Sorting... Done
Full Text Search... Done
akonadi-backend-sqlite/xenial 4:15.12.3-0ubuntu6 amd64
SQLite storage backend for Akonadi
slang-sqlite/xenial 0.4.0-3.1 amd64
S-Lang bindings to the sqlite3 database library
sputnik/xenial,xenial 12.06.27-2 all
Extensible wiki
sqlcipher/xenial 3.2.0-1.1 amd64
Command line interface for SQLCipher
sqlite3-pcre/xenial 0~git20070120091816+4229ecc-0ubuntu1 amd64
Perl-compatible regular expression support for SQLite
sqliteman/xenial 1.2.2-0ubuntu9 amd64
GUI tool for SQLite3 admin and developers alike
sqliteman-doc/xenial,xenial 1.2.2-0ubuntu9 all
GUI tool for SQLite3 admin and developers alike
dharani@chikki:~$