Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

quick story up front, so that you understand my current state better.

I am trying to install Dovecot + Postfix on a Debian system by this tutorial.

I know this tutorial is original made for Ubuntu, but I pretty much ported everything to debian. The great thing about Linux, huh? ^^ I of course used all the newest versions out of Debian 6s default repositories. Which means: Dovecot 2.1.7 Postfix 2.7.1-1+squeeze1 Postfix-mysql 2.7.1-1+squeeze1

So, I got a little problems in Step 3 where is says:

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

I got no problem with all the stuff I already had on the server, like postfix and mysql. But there was a problem with the installation of "dovecot-pop3d" and "dovecot-imapd". For example:

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

(funny, blockquotes and code blocks are looking exactly alike)

I searched a little on the internet and found out that from Dovecot 2.1 on the dovecot-common are replaced by dovecot-core.

So I tried to archieve greatness without completly following step 3 and did not install dovecot-pop3d and dovecot-imapd.

So..now I am at Step 43 where it says, I should (re-)start my dovecot. I tried and got this:

Restarting IMAP/POP3 mail server: dovecotFatal: service(pop3) access(/usr/lib/dovecot/pop3) failed: No such file or directory failed!

There is actually no binary under /usr/lib/dovecot called pop3, but I can not install it, because of the problem with apt-get mentioned above. And here is the reason I can not install 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])

I am just wondering if the Debian repositories are out of date? I mean, I can not use dovecot-pop3d with dovecot-core, because dovecot-common is needed. But it can not be used, because it wraps the same functionality as dovecot-core.

Am I overlooking something here?

Thanks for reading :)

func0der


Update 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
share|improve this question
    
Post your /etc/apt/sources.list sources. –  Michael Hampton Jan 26 at 1:12
    
Edited my initial question. –  func0der Jan 26 at 13:01
    
Have you tried without the backports repository? –  ptman Jan 26 at 13:10
    
The package is still in backports. Did you do something crazy like pin packages? Check /etc/apt/preferences. And why on earth are you still running squeeze? –  Michael Hampton Jan 26 at 16:55
    
@ ptman: I have tried. Nothing changed, but that I can not find version for e.g. "dovecot-core" anymore. @MichaelHampton: I do not have that file and I have not pinned any packages, because I do not know what that could be. I realised yesterday after this post, that there is a new version of Debian. But I do not understand why you are so shocked that I did not touch my running system just to upgrade to a new version of my OS?! –  func0der Jan 26 at 17:22

1 Answer 1

Okay, I am answering this here myself.

The repository is indead broken for the configuration I am trying to archieve. Without dovecot-lmtpd it may have worked, but with it, the things get very messy.

I seems like the tip of @ptman was essential. dovecot-lmtpd 2.1.x needs dovecot-core which is incompatible with dovecot-common. The 2.1.xx version comes out of the backports repository.

I updated my Debian to 7 and now it is working just fine.

Thanks for the help. It seems with my configuration, Debian 6 and Dovecot, it is not possible to install dovecot with the current state of the repositories. Correct me, if I am wrong.

Regards

func0der

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.