Opened 4 years ago

Closed 4 years ago

#60661 closed defect (fixed)

Dovecot update fails as port is in use

Reported by: phifogg (Daniel Dräs) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jberry@…
Port: dovecot, dovecot2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

It seems port dovecot replaced port dovecot2.

In my case an upgrade outdated fails with this error:

--->  dovecot2 is replaced by dovecot
--->  Computing dependencies for dovecot
Error: Can't install dovecot because conflicting ports are active: dovecot2
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

Somehow I am hesitating to remove dovecot2 to install dovecot as I fear my mail server might not work as intended anymore after this. A clean upgrade as intended by the ports sounds more promising to me.

Can this be fixed?

Change History (2)

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jberry@… added
Description: modified (diff)
Owner: set to ryandesign
Status: newaccepted

Looks like we just forgot to remove the conflicts dovecot2 line from the dovecot port when the dovecot2 port was marked replaced_by dovecot.

comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In c14d40e48c1dbd0d37bed614f630388b8bae8bc6/macports-ports (master):

dovecot: Remove conflict with dovecot2

dovecot2 is replaced by dovecot; dovecot declaring a conflict with
dovecot2 prevents dovecot2 users from upgrading to dovecot.

Closes: #60661

Note: See TracTickets for help on using tickets.