Bug 1855262 - cfssl and mono-devel conflict over /usr/bin/mkbundle
Summary: cfssl and mono-devel conflict over /usr/bin/mkbundle
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: golang-github-cloudflare-cfssl
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Robert-André Mauchin 🐧
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-09 11:41 UTC by Andreas Kohn
Modified: 2020-07-18 01:52 UTC (History)
2 users (show)

Fixed In Version: golang-github-cloudflare-cfssl-1.4.1-2.fc31 golang-github-cloudflare-cfssl-1.4.1-2.fc32
Clone Of:
Environment:
Last Closed: 2020-07-18 01:08:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andreas Kohn 2020-07-09 11:41:33 UTC
Description of problem:

I cannot install both mono-devel(-6.6.0-7.fc32.x86_64) and golang-github-cloudflare-cfssl(-1.4.1-1.fc32.x86_64):

```
  file /usr/bin/mkbundle from install of golang-github-cloudflare-cfssl-1.4.1-1.fc32.x86_64 conflicts with file from package mono-devel-6.6.0-7.fc32.x86_64
```

Version-Release number of selected component (if applicable):
1.4.1-1

How reproducible:
Always (presumably)

Steps to Reproduce:
1. Install mono-devel using dnf
2. Install golang-github-cloudflare-cfssl using dnf

Actual results:
Step 2 fails.

Expected results:
Step 2 works.
"Somehow" both the mkbundle from cfssl and from mono-devel are available.

Additional info:
TBH: I suspect the only way to fix this would be to rename one of the two binaries, but I wouldn't know which one to chose. This issue might serve as a permanent "bad luck for you, then" for people searching for the error ... :)

Comment 1 Andreas Kohn 2020-07-09 11:46:27 UTC
Workaround: Install cfssl manually, which will put the tools into $GOPATH/bin. This will still lead to issues if you're trying to actively use mkbundle, and have $GOPATH/bin in $PATH.

```
go get -u github.com/cloudflare/cfssl/cmd/...
```
(From https://github.com/cloudflare/cfssl#installation)

Instead of installing _all_ cfssl commands this approach would allow to only install _some_, for example to only install cfssl itself:

```
go get -u github.com/cloudflare/cfssl/cmd/cfssl
```

Comment 2 Fedora Update System 2020-07-09 16:33:00 UTC
FEDORA-2020-b18151ddd7 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-b18151ddd7

Comment 3 Fedora Update System 2020-07-09 16:35:50 UTC
FEDORA-2020-bf1aa378d6 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-bf1aa378d6

Comment 4 Robert-André Mauchin 🐧 2020-07-09 16:37:22 UTC
Hi,

Thanks for the report. I've elected to rename the binary cfssl-mkbundle, this should clear the conflicts.

Comment 5 Fedora Update System 2020-07-10 01:42:31 UTC
FEDORA-2020-b18151ddd7 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-b18151ddd7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-b18151ddd7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2020-07-10 01:44:22 UTC
FEDORA-2020-bf1aa378d6 has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-bf1aa378d6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-bf1aa378d6

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2020-07-18 01:08:46 UTC
FEDORA-2020-bf1aa378d6 has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2020-07-18 01:52:44 UTC
FEDORA-2020-b18151ddd7 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.