Jos Chrispijn schreef:
    Just got an error on Dovecot ports.
    As shown I use dovecot 1.x but for some reason v2.x want to install
    (Postfix maybe?)
    ===>  dovecot2-2.2.10 conflicts with installed package(s):
          dovecot-1.2.17
          They install files into the same place.
          You may want to stop build with Ctrl + C.
    ===>  License LGPL21 MIT accepted by the user
    ===>  Found saved configuration for dovecot2-2.2.10
    => dovecot-2.2.10.tar.gz doesn't seem to exist in
    /usr/ports/distfiles/.
    => Attempting to fetch
    [1]http://www.dovecot.org/releases/2.2/dovecot-2.2.10.tar.gz
    dovecot-2.2.10.tar.gz                         100% of 4451 kB 1594 kBps
    00m03s
    ===> Fetching all distfiles required by dovecot2-2.2.10 for building
    ===>  dovecot2-2.2.10 conflicts with installed package(s):
          dovecot-1.2.17
          They will not build together.
          Please remove them first with pkg_delete(1).
    *** [check-build-conflicts] Error code 1
    Stop in /usr/ports/mail/dovecot2.
    *** [build] Error code 1
    Stop in /usr/ports/mail/dovecot2.
    ** Command failed [exit code 1]: /usr/bin/script -qa
    /tmp/portinstall20140218-23988-1tc6fgn env make
    ** Fix the problem and try again.
    ** Listing the failed packages (-:ignored / *:skipped / !:failed)
            ! mail/dovecot2 (unknown build error)
    Command failed [exit code 1]: /usr/local/sbin/portinstall mail/dovecot2
    how can I solve this issue? Thanks,
    Jos Chrispijn

References

    1. http://www.dovecot.org/releases/2.2/dovecot-2.2.10.tar.gz
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

You have dovecot 1.2.17 installed, and dovecot is split up into two ports /usr/ports/mail/dovecot and /usr/ports/mail/dovecot2 What you need to do is remove the first port, or replace the port. They both install dovecot with the same files hense the error message

They install files into the same place.


first method :
# pkg_delete  dovecot-1.2.17  or pkg delete dovecot-1.2.17 if you use pkgng
# cd /usr/ports/mail/dovecot2
# make install clean

second method needs portmaster .
# portmaster -o mail/dovecot2 mail/dovecot

This will deinstall dovecot and reinstall dovecot2

Be aware that dovecot 2.x differs a lot from dovecot 1.x, so be prepared to update the config files.
So do not think you will be done within 10 minutes.

regards
Johan



_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to