Date: Tue, 8 Jan 2019 17:04:43 +0100 From: Rodrigo Osorio <ros@bebik.net> To: freebsd-ports@freebsd.org Subject: Re: Add conflicts to port Message-ID: <5f644134-abb3-34c4-c850-7f0426860e60@bebik.net> In-Reply-To: <09A8FA98-F113-47B2-B550-8344B43E4A65@lastsummer.de> References: <6810cf5f-b804-91ca-063d-1aad794b8a71@fechner.net> <09A8FA98-F113-47B2-B550-8344B43E4A65@lastsummer.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/8/19 3:58 PM, Franco Fichtner wrote: > 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: >> >> Dear all, >> >> I just implement some changes in the gitlab-ce port which requires some >> conflicts. >> I tried to add: >> >> CONFLICTS_INSTALL= gitolite-* \ >> gitolite2-* \ >> gogs-* \ >> ${PYTHON_PKGNAMEPREFIX}-gitosis-* >> >> My test machine has gitolite and gitlab-ce installed. >> >> 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. >> >> Is this a bug in pkg or is something with the definition of the conflict >> not correct? >> >> Thanks. >> >> Gruß >> Matthias >> >> -- "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 >> >> _______________________________________________ >> 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" > _______________________________________________ > 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" @Matthias pkg detect conflict in files and tries to solve it (sometimes) by deinstalling the packages that conflict with the one you are trying to install. If I remember well, the deinstall is not forced, and you has to validate it. Cheers - rodrigo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5f644134-abb3-34c4-c850-7f0426860e60>