Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jan 2019 15:58:56 +0100
From:      Franco Fichtner <franco@lastsummer.de>
To:        Matthias Fechner <idefix@fechner.net>
Cc:        ports@freebsd.org
Subject:   Re: Add conflicts to port
Message-ID:  <09A8FA98-F113-47B2-B550-8344B43E4A65@lastsummer.de>
In-Reply-To: <6810cf5f-b804-91ca-063d-1aad794b8a71@fechner.net>
References:  <6810cf5f-b804-91ca-063d-1aad794b8a71@fechner.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Matthias,

Explicit CONFLICTS only exist within the ports tree
during builds.

pkg detects conflicts simply when files are attempted
to be installed in the same place -- i.e. a file already
belongs to another installed package.


Cheers,
Franco

> On 8. Jan 2019, at 3:52 PM, Matthias Fechner <idefix@fechner.net> =
wrote:
>=20
> Dear all,
>=20
> I just implement some changes in the gitlab-ce port which requires =
some
> conflicts.
> I tried to add:
>=20
> CONFLICTS_INSTALL=3D      gitolite-* \
>                 gitolite2-* \
>                 gogs-* \
>                 ${PYTHON_PKGNAMEPREFIX}-gitosis-*
>=20
> My test machine has gitolite and gitlab-ce installed.
>=20
> If I know execute pkg upgrade it does not trigger the conflict.
> I had expected that pkg forces now a deinstallation of gitolite before
> it continues with upgrading gitlab-ce.
> But it just installs gitlab-ce and ignores the conflict definition.
>=20
> Is this a bug in pkg or is something with the definition of the =
conflict
> not correct?
>=20
> Thanks.
>=20
> Gru=C3=9F
> Matthias
>=20
> --=20
>=20
> "Programming today is a race between software engineers striving to
> build bigger and better idiot-proof programs, and the universe trying =
to
> produce bigger and better idiots. So far, the universe is winning." --
> Rich Cook
>=20
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to =
"freebsd-ports-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?09A8FA98-F113-47B2-B550-8344B43E4A65>