[Dovecot] Upgrading from 1.0.rc2-1ubuntu2.2 on edgy

Asheesh Laroia asheesh at asheesh.org
Thu Dec 20 16:59:26 EET 2007


On Thu, 20 Dec 2007, Daragh Mc Grath wrote:

> Hi Guys,
>
> Can anyone shed some light as to how I upgrade away from
> 1.0.rc2-1ubuntu2.2 on edgy? The usual aptitude upgrades aren't doing
> anything for me, and, downloading the package from another Ubuntu
> release, and trying a dpkg -i is causing lots of dependency errors.

In my (strong) opinion (based in years of using Ubuntu and Debian), the 
easiest way will be to compile Dovecot yourself, but to do it using the 
Debian packaging so that what you have is a proper .deb.

1. Add this line to /etc/apt/sources.list:

deb-src http://ftp.us.debian.org/debian/ unstable main

This adds Debian *source* to your sources.list, but no binary packages, so 
you will be sure to not accidentally get Deibian packages.

2. $ sudo aptitude update

We need to refresh the sources.list.

3. $ sudo aptitude install apt-src

We'll use apt-src to make the compiling step really easy.

4. $ sudo apt-src -bi install dovecot

This will download the source package, then "b"uild it, and then "i"nstall 
it!

That should be all.  This will take you to 1.0.9, it'll be really easy, 
and you'll be using the Debian package so you won't have to fight your 
package manager later.

When 1.1.0 is released, the same process will get you 1.1.0 as soon as 
http://packages.debian.org/sid/dovecot-imapd says it has 1.1.0.

-- Asheesh.

--
I generally avoid temptation unless I can't resist it.
 		-- Mae West


More information about the dovecot mailing list