Source.list 文件
deb http://ubuntu.mirror.serverloft.de/ubuntu precise main restricted universe
deb http://ubuntu.mirror.serverloft.de/ubuntu precise-updates main restricted universe
deb http://ubuntu.mirror.serverloft.de/ubuntu precise-security main universe multiverse restricted
apt-get update
apt-get install dovecot
显示无法找到包。
答案1
首先精确的是否已过时,请安装或升级到较新的版本。
除源包外,没有确切名为“dovecot”的包。
$ rmadison dovecot | grep precise
dovecot | 1:2.0.19-0ubuntu1 | precise | source
dovecot | 1:2.0.19-0ubuntu2.1 | precise-security | source
dovecot | 1:2.0.19-0ubuntu2.2 | precise-updates | source
你可以下载源代码:
apt source --download-only dovecot
或者编译它:
sudo apt build-dep dovecot
sudo apt source --compile dovecot
或者根据您的需求安装以下某个软件包:
dovecot-antispam
dovecot-dev
dovecot-ldap
dovecot-managesieved
dovecot-pgsql
dovecot-solr
dovecot-core
dovecot-gssapi
dovecot-lmtpd
dovecot-metadata-plugin
dovecot-pop3d
dovecot-sqlite
dovecot-dbg
dovecot-imapd
dovecot-lucene
dovecot-mysql
dovecot-sieve