Now, this is kind-of an odd one. I've got Dovecot2 installed on Squeeze
from squeeze-backports. Originally, I had installed Dovecot (1) from
the regular repository. However, there seems to have been one package
left in a kind-of hanging state: dovecot-common from version 1. I
discovered this when I did a
aptitude search '~c'
to see if there were any packages that I could clean up (I don't like to
leave config files laying around when I've removed something). Several
were found, including the old dovecot-common package (which as of
version 2, is a transitional package that doesn't need to be there).
So, having found several packages with the above command, I did a
aptitude purge '~p'
to clean them up. Everything *except* dovecot-common went away. When
it got to dovecot-common, it just gave me an error message. Oh, and it
deleted /etc/dovecot/dovecot.conf for me before erroring out. Oops.
Thankfully I found a backup copy in /usr/share/dovecot which I was able
to copy back. :-)
But in the meantime, I've still got this old reference to version 1
dovecot-common.
> # aptitude search '~c'
> c dovecot-common - Transitional package for dovecot
> # dpkg -s dovecot-common
> Package: dovecot-common
> Status: purge ok config-files
> Priority: optional
> Section: mail
> Installed-Size: 18948
> Maintainer: Dovecot Maintainers <jaldhar-dovecot@debian.org>
> Architecture: amd64
> Source: dovecot
> Version: 1:1.2.15-7
> Replaces: dovecot
> Depends: libbz2-1.0, libc6 (>= 2.7), libcomerr2 (>= 1.01), libdb4.8, libgssapi-krb5-2 (>= 1.8+dfsg), libk5crypto3 (>= 1.6.dfsg.2), libkrb5-3 (>= 1.6.dfsg.2), libldap-2.4-2 (>= 2.4.7), libmysqlclient16 (>= 5.1.21-1), libpam0g (>= 0.99.7.1), libpq5 (>= 8.4~0cvs20090328), libsqlite3-0 (>= 3.7.3), libssl0.9.8 (>= 0.9.8m-1), zlib1g (>= 1:1.1.4), libpam-runtime (>= 0.76-13.1), openssl, adduser, ucf (>= 2.0020)
> Suggests: ntp
> Description: secure mail server that supports mbox and maildir mailboxes
> Dovecot is a mail server whose major goals are security and extreme
> reliability. It tries very hard to handle all error conditions and verify
> that all data is valid, making it nearly impossible to crash. It should
> also be pretty fast, extensible, and portable.
> .
> This package contains the files used by both the dovecot IMAP and POP3 servers
> and the Dovecot LDA (deliver).
> Homepage: http://dovecot.org/
I suppose it's not actually hurting anything by remaining there, but I'd
prefer to get it to purged status (p) when doing a "aptitude search
dovcot" and looking at the list if I can.
So, the question is: *Is* there a way I can get it to clear that "c"
flag and put it back to a "p" like it should be? How to get rid of the
error when trying to purge it? (Or if it's really purged, then back to
how to get it to *list* it as being purged?)
Do I need to remove/purge all my dovecot packages and reinstall after
getting -common out? (I'd prefer to NOT do that if it can be avoided.)
--Dave
Attachment:
signature.asc
Description: OpenPGP digital signature