Skip to content

Can't install RStudio Desktop and Server on the same Red Hat instance #8840

Closed

Description

@ronblum

System details

RStudio Edition : Desktop and Server
RStudio Version : 1.4.1103
OS Version      : Red Hat 8.3
R Version       : 4.0.3

Steps to reproduce the problem

  1. Install RStudio Desktop on RHEL 8.3.
  2. Install RStudio Server on the same system.

Describe the problem in detail

The installation fails with an error about file conflicts:

Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction test error:
  file /usr/lib/.build-id/c0/5fa55274dbc2719d3d82db1b7f9f6dc17a470d from install of rstudio-server-1.4.1103-1.x86_64 conflicts with file from package rstudio-1.4.1103-1.x86_64
  file /usr/lib/.build-id/cc/34daf4315e1b8212faa5558d73f036db51b4b1 from install of rstudio-server-1.4.1103-1.x86_64 conflicts with file from package rstudio-1.4.1103-1.x86_64

Describe the behavior you expected

Successful side-by-side installation of RStudio Desktop and Server on the same machine.

Note: This is not a problem on Ubuntu.

[root@ip-172-98-27-103 ec2-user]# yum install rstudio-1.4.1103-x86_64.rpm
Last metadata expiration check: 0:02:11 ago on Thu 28 Jan 2021 06:53:10 PM UTC.
Dependencies resolved.
==================================================================================================================
 Package                    Architecture     Version                   Repository                            Size
==================================================================================================================
Installing:
 rstudio                    x86_64           1.4.1103-1                @commandline                         132 M
Installing dependencies:
 libpq                      x86_64           12.5-1.el8_3              rhel-8-appstream-rhui-rpms           195 k
 libxkbcommon-x11           x86_64           0.9.1-1.el8               rhel-8-appstream-rhui-rpms            25 k
 sqlite                     x86_64           3.26.0-11.el8             rhel-8-baseos-rhui-rpms              667 k

Transaction Summary
==================================================================================================================
Install  4 Packages

Total size: 132 M
Total download size: 887 k
Installed size: 785 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): sqlite-3.26.0-11.el8.x86_64.rpm                                            5.8 MB/s | 667 kB     00:00    
(2/3): libxkbcommon-x11-0.9.1-1.el8.x86_64.rpm                                    215 kB/s |  25 kB     00:00    
(3/3): libpq-12.5-1.el8_3.x86_64.rpm                                              1.6 MB/s | 195 kB     00:00    
------------------------------------------------------------------------------------------------------------------
Total                                                                             5.5 MB/s | 887 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                          1/1 
  Installing       : sqlite-3.26.0-11.el8.x86_64                                                              1/4 
  Installing       : libpq-12.5-1.el8_3.x86_64                                                                2/4 
  Installing       : libxkbcommon-x11-0.9.1-1.el8.x86_64                                                      3/4 
  Running scriptlet: rstudio-1.4.1103-1.x86_64                                                                4/4 
  Installing       : rstudio-1.4.1103-1.x86_64                                                                4/4 
  Running scriptlet: rstudio-1.4.1103-1.x86_64                                                                4/4 
  Verifying        : libxkbcommon-x11-0.9.1-1.el8.x86_64                                                      1/4 
  Verifying        : libpq-12.5-1.el8_3.x86_64                                                                2/4 
  Verifying        : sqlite-3.26.0-11.el8.x86_64                                                              3/4 
  Verifying        : rstudio-1.4.1103-1.x86_64                                                                4/4 

Installed:
  libpq-12.5-1.el8_3.x86_64          libxkbcommon-x11-0.9.1-1.el8.x86_64        rstudio-1.4.1103-1.x86_64       
  sqlite-3.26.0-11.el8.x86_64       

Complete!
[root@ip-172-98-27-103 ec2-user]# wget https://download2.rstudio.org/server/centos8/x86_64/rstudio-server-rhel-1.4.1103-x86_64.rpm
--2021-01-28 19:01:00--  https://download2.rstudio.org/server/centos8/x86_64/rstudio-server-rhel-1.4.1103-x86_64.rpm
Resolving download2.rstudio.org (download2.rstudio.org)... 54.230.126.97, 54.230.126.37, 54.230.126.23, ...
Connecting to download2.rstudio.org (download2.rstudio.org)|54.230.126.97|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 65299928 (62M) [application/x-redhat-package-manager]
Saving to: ‘rstudio-server-rhel-1.4.1103-x86_64.rpm’

rstudio-server-rhel-1.4.1103 100%[============================================>]  62.27M   209MB/s    in 0.3s    

2021-01-28 19:01:01 (209 MB/s) - ‘rstudio-server-rhel-1.4.1103-x86_64.rpm’ saved [65299928/65299928]

[root@ip-172-98-27-103 ec2-user]# sudo yum install rstudio-server-rhel-1.4.1103-x86_64.rpm
Last metadata expiration check: 0:01:52 ago on Thu 28 Jan 2021 06:59:11 PM UTC.
Dependencies resolved.
==================================================================================================================
 Package                       Architecture          Version                    Repository                   Size
==================================================================================================================
Installing:
 rstudio-server                x86_64                1.4.1103-1                 @commandline                 62 M

Transaction Summary
==================================================================================================================
Install  1 Package

Total size: 62 M
Installed size: 549 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction test error:
  file /usr/lib/.build-id/c0/5fa55274dbc2719d3d82db1b7f9f6dc17a470d from install of rstudio-server-1.4.1103-1.x86_64 conflicts with file from package rstudio-1.4.1103-1.x86_64
  file /usr/lib/.build-id/cc/34daf4315e1b8212faa5558d73f036db51b4b1 from install of rstudio-server-1.4.1103-1.x86_64 conflicts with file from package rstudio-1.4.1103-1.x86_64
  • I have read the guide for submitting good bug reports.
  • I have installed the latest version of RStudio, and confirmed that the issue still persists.
  • If I am reporting a RStudio crash, I have included a diagnostics report.
  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

Activity

  1. jmcphers commented on Jan 28, 2021

    @jmcphers
    Member

    Is this a regression in the sense that installing RStudio Desktop and Server 1.3 on RedHat 8 doesn't create the same issue?

    Build ID is a new thing in RedHat 8. Links:

    jordansissel/fpm#1503

    https://bugzilla.redhat.com/show_bug.cgi?id=1724153

    https://fedoraproject.org/wiki/Changes/ParallelInstallableDebuginfo

    https://fedoraproject.org/wiki/Releases/FeatureBuildId

    Possible routes forward:

    • Force the RPM package builder not to emit build IDs for our RPMs (do we need them?), or
    • Figure out which files these correspond to and make sure they get different IDs on Server and Desktop, or
    • Don't support running Desktop and Server on the same host
  2. Sergio-ote commented on Sep 10, 2021

    @Sergio-ote

    Hi @ronblum and @jmcphers , did you find any solution that could work around the issue?
    I am working on Rocky Linux 8.4 and experiencing the same problem at the moment.

    Thanks in advance,
    Sergio

  3. griznog commented on Oct 6, 2021

    @griznog

    I'll add a "me too" here for Rocky 8, it'd be nice to be able to naively install both rstudio and rstudio-server with dnf. Until then as a workaround I forced rstudio to install with

    rpm -Uvh --force rstudio-2021.09.0-351-x86_64.rpm

    after installing rstudio-server with dnf

  4. ronblum commented on Dec 17, 2021

    @ronblum
    ContributorAuthor

    This doesn't occur with RStudio Desktop and Server 1.3 on Red Hat 8, but also the builds don't work, because Red Hat 8 didn't exist when those came out.

    This is still an issue with Prairie Trillium:

    Error: Transaction test error:
      file /usr/lib/.build-id/61/ef23bade454e40f03817718cf72f7b44b41350 from install of rstudio-2022.02.0_daily+327.pro1-1.x86_64 conflicts with file from package rstudio-server-2022.02.0_daily+327.pro1-1.x86_64
      file /usr/lib/.build-id/a5/287aef6fcd6d0be9227b0da2f856c848828a76 from install of rstudio-2022.02.0_daily+327.pro1-1.x86_64 conflicts with file from package rstudio-server-2022.02.0_daily+327.pro1-1.x86_64
      file /usr/lib/.build-id/c0/5fa55274dbc2719d3d82db1b7f9f6dc17a470d from install of rstudio-2022.02.0_daily+327.pro1-1.x86_64 conflicts with file from package rstudio-server-2022.02.0_daily+327.pro1-1.x86_64
      file /usr/lib/.build-id/cc/34daf4315e1b8212faa5558d73f036db51b4b1 from install of rstudio-2022.02.0_daily+327.pro1-1.x86_64 conflicts with file from package rstudio-server-2022.02.0_daily+327.pro1-1.x86_64
    
  5. github-actions commented on Jul 22, 2022

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.

  6. added
    stale
    on Jul 22, 2022
  7. griznog commented on Jul 24, 2022

    @griznog

    Noticed this got marked as stale, but this is still an issue with the most recent versions.

  8. removed
    stale
    on Jul 24, 2022
  9. jhausser commented on Oct 16, 2023

    @jhausser

    Using Red Hat 8.8 and rstudio-2023.09.0-463-x86_64, I could reproduce both:

    • the issue (can't install rstudio client and server simultaneously due to Build-ID conflict)
    • the workaround by @griznog with rpm -Uvh --force. Perhaps worth mentioning in the doc/download page.
  10. github-actions commented on May 7, 2024

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.

  11. added
    stale
    on May 7, 2024
  12. github-actions commented on May 23, 2024

    @github-actions

    This issue has been automatically closed due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugregressionstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions