Bug 234807 - ports-mgmt/pkg does not respect CONFLICTS_INSTALL
Summary: ports-mgmt/pkg does not respect CONFLICTS_INSTALL
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-pkg mailing list
Depends on:
Blocks: gitlab_config
  Show dependency treegraph
Reported: 2019-01-09 22:01 UTC by Matthias Fechner
Modified: 2019-04-19 12:41 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Fechner freebsd_committer 2019-01-09 22:01:21 UTC
If you mark in a port some other port as conflicts, pkg does not handle this.
This makes it possible to have conflicting ports installed which e.g. overwrite file on runtime of these application.

One example is www/gitlab-ce and devel/gitolite.
Both of them are writing to a file /usr/local/git/.ssh/authorized_keys if the application is used.

As this conflict happens at runtime it is crucial that pkg respect the CONFLICT defitintion while installing packages.
Comment 1 Baptiste Daroussin freebsd_committer 2019-04-19 12:41:33 UTC
pkg does automatically figure out those conflict making CONFLICT_INSTALL useless.

There is no need to do anything but let pkg figure it out