clone 550380 -1 -2 -3 -4
reassign -1 courier-imap
reassign -2 cyrus-imapd-2.2
retitle -1 uw-imapd and cyrus-imapd-2.2: error when trying to install together
reassign -3 cyrus-pop3d
retitle -1 ipopd and cyrus-pop3d: error when trying to install together
reassign -4 kolab-cyrus-imapd
retitle -1 uw-imapd and kolab-cyrus-imapd: error when trying to install together
thanks

On Fri, Oct 09, 2009 at 08:08:39PM +0200, Ralf Treinen wrote:
automatic installation tests of packages that share a file and at the
same time do not conflict by their package dependency relationships has
detected the following problem:

dpkg: error processing /var/cache/apt/archives/courier-imap_4.4.1-1.1_amd64.deb 
(--unpack):
trying to overwrite '/usr/share/man/man8/imapd.8.gz', which is also in package 
uw-imapd 8:2007e~dfsg-1

This is a serious bug as it makes installation fail. Possible
solutions are to have the two packages conflict, to rename the common
file in one of the two packages, or to remove the file from one
package and have this package depend on the other package. File
diversions or a Replace relation are another possibility.

Here is a list of files that are known to be shared by both packages
(according to the Contents file for sid/amd64, which may be
slightly out of sync):


 etc/pam.d/imap
 usr/sbin/imapd
 usr/share/man/man8/imapd.8.gz


Similar bugs happen also in connction with other packages, that is why I
suspect that this uw_imap's fault:

with cyrus-imapd-2.2:
---------------------
dpkg: error processing /var/cache/apt/archives/cyrus-imapd-2.2_2.2.13-17_amd64.d
eb (--unpack):
trying to overwrite '/etc/pam.d/imap', which is also in package uw-imapd 8:2007
e~dfsg-1

Common files are:
 etc/pam.d/imap
 usr/share/man/man8/imapd.8.gz

with cyrus-pop3d:
-----------------
dpkg: error processing /var/cache/apt/archives/cyrus-pop3d-2.2_2.2.13-17_amd64.d
eb (--unpack):
trying to overwrite '/etc/pam.d/pop', which is also in package ipopd 
8:2007e~dfsg-1

Common files are:
 etc/pam.d/pop


with kolab-cyrus-imapd:
-----------------------
dpkg: error processing 
/var/cache/apt/archives/kolab-cyrus-imapd_2.2.13-7_amd64.deb (--unpack):
trying to overwrite '/usr/share/man/man8/imapd.8.gz', which is also in package 
uw-imapd 8:2007e~dfsg-1
Common files are:
 usr/share/man/man8/imapd.8.gz


Thanks for spotting and reporting this, Ralf.

I agree that this is an important issue to fix. I do not, however, agree that it is "uw_imap's fault" but believe instead that it is mutually the fault of all of the involved daemon packages. I have thus cloned the bug report. You may want to add usertags to those clones reports.

The reason for this not been discovered already long ago is probably the earlier mutual conflict against virtual imap-server and pop3-server packages, respectively.


Regards,

- Jonas


--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: Digital signature

Reply via email to