Bug 2008197 - Brltty i686 is not installable
Summary: Brltty i686 is not installable
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: brltty
Version: 8.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jaroslav Škarvada
QA Contact: rhel-cs-infra-services-qe
Laura Onduskova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-27 14:56 UTC by Alex Baranowski
Modified: 2023-02-25 07:27 UTC (History)
1 user (show)

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.
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-98259 0 None None None 2021-09-27 14:58:35 UTC

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)


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