Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] File conflicts in multilib installation of restraint-rhts #163

Open
jikortus opened this issue Sep 9, 2022 · 0 comments
Open

[BUG] File conflicts in multilib installation of restraint-rhts #163

jikortus opened this issue Sep 9, 2022 · 0 comments
Labels

Comments

@jikortus
Copy link

jikortus commented Sep 9, 2022

Describe the bug
restraint-rhts fails to install on a multilib system due to file conflicts in x86_64 and i686 packages (excerpt from Anaconda's program.log):

12:24:56,833 INF program: + dnf -y install restraint-rhts 12:24:56,833 INF program: Updating Subscription Management repositories. 12:24:56,833 INF program: Unable to read consumer identity 12:24:56,833 INF program: 12:24:56,834 INF program: This system is not registered with an entitlement server. You can use subscription-manager to register. 12:24:56,834 INF program: 12:24:56,834 INF program: Last metadata expiration check: 0:00:10 ago on Tue Sep 6 08:24:32 2022. 12:24:56,834 INF program: Dependencies resolved. 12:24:56,834 INF program: ================================================================================ 12:24:56,834 INF program: Package Architecture Version Repository Size 12:24:56,834 INF program: ================================================================================ 12:24:56,835 INF program: Installing: 12:24:56,835 INF program: restraint-rhts i686 0.4.0-1.el9 beaker-harness 28 k 12:24:56,835 INF program: restraint-rhts x86_64 0.4.0-1.el9 beaker-harness 27 k 12:24:56,835 INF program: Installing dependencies: 12:24:56,835 INF program: make x86_64 1:4.3-7.el9 beaker-BaseOS 542 k 12:24:56,835 INF program: restraint i686 0.4.0-1.el9 beaker-harness 3.9 M 12:24:56,836 INF program: restraint x86_64 0.4.0-1.el9 beaker-harness 3.8 M 12:24:56,836 INF program: 12:24:56,836 INF program: Transaction Summary 12:24:56,836 INF program: ================================================================================ 12:24:56,836 INF program: Install 5 Packages 12:24:56,836 INF program: 12:24:56,836 INF program: Total download size: 8.3 M 12:24:56,837 INF program: Installed size: 33 M 12:24:56,837 INF program: Downloading Packages: 12:24:56,837 INF program: (1/5): make-4.3-7.el9.x86_64.rpm 11 MB/s | 542 kB 00:00 12:24:56,837 INF program: (2/5): restraint-rhts-0.4.0-1.el9.i686.rpm 39 kB/s | 28 kB 00:00 12:24:56,837 INF program: (3/5): restraint-rhts-0.4.0-1.el9.x86_64.rpm 39 kB/s | 27 kB 00:00 12:24:56,837 INF program: (4/5): restraint-0.4.0-1.el9.i686.rpm 388 kB/s | 3.9 MB 00:10 12:24:56,837 INF program: (5/5): restraint-0.4.0-1.el9.x86_64.rpm 300 kB/s | 3.8 MB 00:13 12:24:56,838 INF program: -------------------------------------------------------------------------------- 12:24:56,838 INF program: Total 649 kB/s | 8.3 MB 00:13 12:24:56,838 INF program: Running transaction check 12:24:56,838 INF program: Transaction check succeeded. 12:24:56,838 INF program: Running transaction test 12:24:56,838 INF program: The downloaded packages were saved in cache until the next successful transaction. 12:24:56,838 INF program: You can remove cached packages by executing 'dnf clean packages'. 12:24:56,839 INF program: Error: Transaction test error: 12:24:56,839 INF program: file /usr/share/selinux/packages/restraint/restraint.pp conflicts between attempted installs of restraint-0.4.0-1.el9.i686 and restraint-0.4.0-1.el9.x86_64 12:24:56,839 INF program: file /usr/share/selinux/packages/restraint/rhts.pp conflicts between attempted installs of restraint-rhts-0.4.0-1.el9.x86_64 and restraint-rhts-0.4.0-1.el9.i686
Please refer to RH Beaker job #6966531 for additional details.

Version-Release number
restraint-rhts-0.4.0-1

To Reproduce
Steps to reproduce the behavior:
Either:

  1. Schedule a job with inst.multilib on kernel command line, or
  2. in an installed system with Beaker repo, try to install restraint-rhts.i686 and restraint-rhts.x86_64 (both need to be specified in case the repo contains also packages for other architectures - because of https://bugzilla.redhat.com/show_bug.cgi?id=1996681).

Actual behavior
RHEL installation fails due to conflicting files in multilib packages.

Expected behavior
No file conflicts, system installation is successful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant