Bug 1912405

Summary: /usr/bin/listen ownership conflict between "ax25-apps" and "rubygem-listen" packages
Product: [Fedora] Fedora Reporter: Jeremy Visser <jeremy.visser>
Component: ax25-appsAssignee: Richard Shaw <hobbes1069>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: bobjensen, hobbes1069, jaruga, randyn3lrx, ruby-packagers-sig, sindrb, strzibny, vondruch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ax25-apps-2.0.0-3.fc32 ax25-apps-2.0.0-3.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-13 01:35:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jeremy Visser 2021-01-04 11:22:03 UTC
Description of problem:

The packages "ax25-apps" and "rubygem-listen" (both available in the Fedora repos) cannot be installed together, because both provide /usr/bin/listen.

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

- Fedora 33
- rubygem-listen-3.2.1-2.fc33.noarch
- ax25-apps-2.0.0-2.fc33.x86_64

How reproducible:

All the time.

Steps to Reproduce:
1. dnf install ax25-apps rubygem-listen

   (Or install packages which pull these in as dependencies, e.g.
   I wanted both "direwolf" and "gedit-code-assistance" installed
   at the same time, which is impossible.)

Actual results:

dnf fails with error:

  file /usr/bin/listen from install of rubygem-listen-3.2.1-2.fc33.noarch conflicts with file from package ax25-apps-2.0.0-2.fc33.x86_64

Expected results:

I would expect package maintainers to use non-conflicting names (e.g. "ruby-listen" or "axlisten").

Additional info:

I don't have opinions on which package is "at fault", nor which package should be the one to rename the binary.

I have assigned the bug to the "rubygem-listen" component randomly, since I had to pick one or the other. However, I have Cc'ed the maintainer of ax25-apps to this bug.

This is similar to a conflict in Debian, where both node.js and (coincidentally) an AX.25 app wanted to own /usr/bin/node. The end result was that neither package was allowed to own /usr/bin/node.

I'm sure a friendlier resolution is possible in Fedora so it would be great if the maintainers of rubygem-listen and ax25-apps could get together and work out a solution.

Comment 1 Richard Shaw 2021-01-04 12:46:35 UTC
There was a patch for ax25-apps that got dropped some how. I've just reinstated it, but yes, both packages are using unacceptably generic names.

Comment 2 Fedora Update System 2021-01-04 13:24:07 UTC
FEDORA-2021-2f90a3ec0b has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-2f90a3ec0b

Comment 3 Jun Aruga 2021-01-04 16:18:48 UTC
> There was a patch for ax25-apps that got dropped some how. I've just reinstated it, but yes, both packages are using unacceptably generic names.

Thanks for fixing it. I agree "listen" is a generic name.
Note it is used here in case of rubygem-listen.
https://github.com/guard/listen/blob/master/bin/listen

Comment 4 Fedora Update System 2021-01-05 01:12:38 UTC
FEDORA-2021-2f90a3ec0b has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-2f90a3ec0b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-2f90a3ec0b

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

Comment 5 Fedora Update System 2021-01-05 01:58:01 UTC
FEDORA-2021-a71828fd4f has been pushed to the Fedora 32 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-a71828fd4f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-a71828fd4f

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

Comment 6 Fedora Update System 2021-01-13 01:35:15 UTC
FEDORA-2021-a71828fd4f has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2021-01-13 01:58:33 UTC
FEDORA-2021-2f90a3ec0b has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.