hashicorp / hashicorp/boundary

Debian package conflict between boundary and boundary-enterprise

Open
#3,322 2 comments 0 reactions 1 assignee Claimed by @psekar View on GitHub
triage
Dominant language
Go
Stars
4.1k
Forks
317
Avg merge
5h 10m
Merged PRs (30d)
1

Description

**Describe the bug**

I see you published new .deb package for `boundary-enterprise` which is great :+1:
However, it conflicts with `boundary` package, as they have the overlapping files in them.

**To Reproduce**
Steps to reproduce the behavior:
1. Install `boundary` ( "apt install boundary")
2. try to install `boundary-enterprise` ("apt install boundary-enterprise")
3. See error:

```bash
dpkg: error processing archive /var/cache/apt/archives/boundary-enterprise_0.13.0+ent-1_amd64.deb (--unpack):
trying to overwrite '/etc/boundary.d/boundary.env', which is also in package boundary 0.13.0-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
```

**Expected behavior**

Usually this situation is handled by either introducing mutual conflict between the packages.
e.g.:
```
Conflict: boundary
```
in boundary-enterprise package
and
```
Conflict: boundary-enterprise
```
in boundary package

Or use more advanced techniques with [dpkg-divert](https://www.debian.org/doc/debian-policy/ap-pkg-diversions.html)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.