Bug 2008197

Summary: Brltty i686 is not installable
Product: Red Hat Enterprise Linux 8 Reporter: Alex Baranowski <aleksander.baranowski>
Component: brlttyAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED WONTFIX QA Contact: rhel-cs-infra-services-qe <rhel-cs-infra-services-qe>
Severity: unspecified Docs Contact: Laura Onduskova <londusko>
Priority: unspecified    
Version: 8.4CC: londusko
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
.The `brltty` package is not multilib compatible It is not possible to have both 32-bit and 64-bit versions of the `brltty` package installed. You can either install the 32-bit (`brltty.i686`) or the 64-bit (`brltty.x86_64`) version of the package. The 64-bit version is recommended.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-27 07:28:04 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 Alex Baranowski 2021-09-27 14:56:31 UTC
# Steps to reproduce:

```
sudo yum install -y brltty-5.6-32.el8.i686 brltty-5.6-32.el8.x86_64
```

## Expected behavior

1. Everything install

## Current behavior:

Total                                                                                                       5.3 MB/s |  12 MB     00:02     
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
Error: Transaction test error:
  file /etc/brltty.conf conflicts between attempted installs of brltty-5.6-32.el8.i686 and brltty-5.6-32.el8.x86_64
  file /usr/bin/brltty-config conflicts between attempted installs of brltty-5.6-32.el8.i686 and brltty-5.6-32.el8.x86_64
  file /usr/share/man/man1/brltty.1.gz conflicts between attempted installs of brltty-5.6-32.el8.i686 and brltty-5.6-32.el8.x86_64

Comment 1 Jaroslav Škarvada 2021-10-07 15:39:22 UTC
brltty is not library, so it shouldn't be multilib. I think the 32 bit version was wrongly put to the repo because there was badly defined dependencies in the brltty spec. This is now fixed. The conflict itself is not easy to solve. Even if we solve it, it will result in installation of the 32 bit drivers which without the 32 bit brltty binary (which will be not installed due to the coloring) are probably useless. I think if the brltty.i686 was introduced to the repo, we shouldn't drop it (it can be still used if the 64 bit version is not installed). That's why I recommend just documenting this problem as a known issue.

Comment 2 Jaroslav Škarvada 2021-10-07 15:52:31 UTC
Possible fix (which I do not recommend):
- drop the drivers-directory option and its description from the /etc/brltty.conf, rely on the built-in defaults
- add wrapper for the brltty-config with some bash magic for detection of the 32/64 bit
- drop the 32/64 bit parts from the manual page (brltty.1.gz)

Comment 4 RHEL Program Management 2023-03-27 07:28:04 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.