AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 569909
Accepted
func0der
func0der
Asked: 2014-01-26 17:05:43 +0800 CST2014-01-26 17:05:43 +0800 CST 2014-01-26 17:05:43 +0800 CST

如何使用当前存储库在 debian 下安装 Dovecot

  • 772

前面的快速故事,以便您更好地了解我目前的状态。

我正在尝试通过本教程在 Debian 系统上安装 Dovecot + Postfix 。

我知道本教程最初是为 Ubuntu 制作的,但我几乎将所有内容都移植到了 debian。Linux 的伟大之处,对吧?^^ 我当然使用了 Debian 6s 默认存储库中的所有最新版本。这意味着: Dovecot 2.1.7 Postfix 2.7.1-1+squeeze1 Postfix-mysql 2.7.1-1+squeeze1

所以,我在第 3 步遇到了一些问题,其中说:

apt-get install postfix postfix-mysql dovecot-core dovecot-imapd dovecot-pop3d dovecot-lmtpd dovecot-mysql mysql-server

我对服务器上已有的所有东西都没有问题,比如 postfix 和 mysql。但是“dovecot-pop3d”和“dovecot-imapd”的安装出现了问题。例如:

root@server /etc/dovecot # apt-get install dovecot-pop3d
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:
dovecot-pop3d : Depends: dovecot-common (= 1:1.2.15-7)
E: Broken packages

(有趣的是,块引用和代码块看起来一模一样)

我在互联网上搜索了一下,发现从 Dovecot 2.1 开始dovecot-common被替换为dovecot-core.

所以我试图在没有完全遵循第 3 步的情况下实现伟大,并且没有安装dovecot-pop3d和dovecot-imapd.

所以..现在我在第 43 步,上面写着,我应该(重新)开始我的鸽舍。我试过了,得到了这个:

重新启动 IMAP/POP3 邮件服务器:dovecotFatal: service(pop3) access(/usr/lib/dovecot/pop3) failed: No such file or directory failed!

/usr/lib/dovecot下实际上没有名为pop3的二进制文件,但我无法安装它,因为上面提到的 apt-get 的问题。这就是我无法安装的原因dovecot-common:

root@server /etc/dovecot # apt-get -s install dovecot-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  dovecot-core dovecot-lmtpd dovecot-mysql
The following NEW packages will be installed:
  dovecot-common
0 upgraded, 1 newly installed, 3 to remove and 0 not upgraded.
Remv dovecot-mysql [1:2.1.7-7~bpo60+1]
Remv dovecot-lmtpd [1:2.1.7-7~bpo60+1]
Remv dovecot-core [1:2.1.7-7~bpo60+1]
Inst dovecot-common (1:1.2.15-7 Debian:6.0.8/oldstable, Debian-Security:6.0/oldstable [amd64])
Conf dovecot-common (1:1.2.15-7 Debian:6.0.8/oldstable, Debian-Security:6.0/oldstable [amd64])

我只是想知道 Debian 存储库是否已过时?我的意思是,我不能使用dovecot-pop3dwith dovecot-core,因为dovecot-common需要。但它不能使用,因为它包装了与dovecot-core.

我在这里忽略了什么吗?

谢谢阅读 :)

函数器


2014-01-16 更新:

/etc/apt/sources.list

#######################################################################################
# Mirror
#

deb     http://ftp.uni-bayreuth.de/linux/Debian/debian/  squeeze  main non-free contrib
deb-src http://ftp.uni-bayreuth.de/linux/Debian/debian/  squeeze  main non-free contrib

deb     http://security.debian.org/  squeeze/updates  main contrib non-free
deb-src http://security.debian.org/  squeeze/updates  main contrib non-free

deb     http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
debian
  • 1 1 个回答
  • 3685 Views

1 个回答

  • Voted
  1. Best Answer
    func0der
    2014-01-30T03:35:57+08:002014-01-30T03:35:57+08:00

    好的,我自己在这里回答。

    对于我要归档的配置,存储库已被彻底破坏。如果没有 dovecot-lmtpd,它可能会起作用,但是有了它,事情就会变得非常混乱。

    我似乎@ptman 的提示是必不可少的。dovecot-lmtpd 2.1.x 需要与 dovecot-common 不兼容的 dovecot-core。2.1.xx 版本来自 backports 存储库。

    我将我的 Debian 更新到 7,现在它工作得很好。

    谢谢您的帮助。在我的配置中,Debian 6 和 Dovecot 似乎无法使用存储库的当前状态安装 dovecot。纠正我,如果我错了。

    问候

    函数器

    • 1

相关问题

  • 关闭 FTP

  • 如何在同一台电脑上从 putty 连接 debian vmware

  • debian- 文件到包的映射

  • Debian Ubuntu 网络管理器错误 [关闭]

  • 为本地网络中的名称解析添加自定义 dns 条目

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve