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

2023.3 rpm installation fails due to file conflicts with another Electron app #4534

Closed
vashirov opened this issue Apr 7, 2023 · 2 comments · Fixed by #4547
Closed

2023.3 rpm installation fails due to file conflicts with another Electron app #4534

vashirov opened this issue Apr 7, 2023 · 2 comments · Fixed by #4547
Assignees
Labels

Comments

@vashirov
Copy link

vashirov commented Apr 7, 2023

Issue report

Operating system: Fedora 38

App version: 2023.3

Issue description

mullvad-vpn-2023.3-1.x86_64 rpm installation fails with the following message:

Error: Transaction test error:
  file /usr/lib/.build-id/0d/9fad3f21b1e381cc66b5efcae8f3910ae0edc1 from install of mullvad-vpn-2023.3-1.x86_64 conflicts with file from package slack-4.29.149-0.1.el8.x86_64
  file /usr/lib/.build-id/76/9d0269491ca2313fcd15d63059bac67bd8b1b3 from install of mullvad-vpn-2023.3-1.x86_64 conflicts with file from package slack-4.29.149-0.1.el8.x86_64
  file /usr/lib/.build-id/c2/dcac7cb6a727685d10d4161a0d14988f12a0fa from install of mullvad-vpn-2023.3-1.x86_64 conflicts with file from package slack-4.29.149-0.1.el8.x86_64
  file /usr/lib/.build-id/cb/dc9db5fec0e6129bddcb0c282be98be4c6966e from install of mullvad-vpn-2023.3-1.x86_64 conflicts with file from package slack-4.29.149-0.1.el8.x86_64

This issue is similar to:
bitwarden/clients#3524
jgraph/drawio-desktop#259

I believe it can be fixed by adding --rpm-rpmbuild-define=_build_id_links none to the fpm options for rpm build:

rpm: {
fpm: [
'--directories=/opt/Mullvad VPN/',
'--before-install',
distAssets('linux/before-install.sh'),
'--before-remove',

@intheendtheyweregone
Copy link

Had this same issue when trying to update Mullvad for a relative.. installed fine after adding the --force flag when installing. Not sure what, if any, consequences this had, but the "conflicting" applications seemed to work fine after.

sudo rpm -i --force MullvadVPN-2023.3_x86_64.rpm

@pinkisemils pinkisemils self-assigned this Apr 12, 2023
@pinkisemils
Copy link
Collaborator

Thanks for reporting this, we'll look into this.

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

Successfully merging a pull request may close this issue.

3 participants