question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RPM installer conflicts with Discord (libnotify dependency)

See original GitHub issue

Fedora 32

Which distribution of Linux are you using?

Installer

RPM

What happened?

installing both discord and github desktop throws and error as they have a dependency conflict.

Total size: 68 M
Installed size: 230 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/43/403913e1ccc0475b5e2d1d2ddca551b8815a99 from install of github-desktop-2.5.3.linux1-1.x86_64 conflicts with file from package discord-0.0.10-2.fc32.x86_64

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:23 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
shuriken1812commented, Aug 24, 2020

@advaithm I am actively looking and testing this issue thread on my fedora machine 👍

2reactions
shiftkeycommented, Aug 30, 2020

so can we have an rpm with the libnotify that fedora has ? … Or just don’t specify libnotify version in the rpm spec itself ?

@jatin-cbs we inherit the libnotify version from the electron-installer-redhat package we use to generate the RPM installer:

https://github.com/electron-userland/electron-installer-redhat/blob/060071451a5859a01eaf0724a685aed21bf0762f/src/dependencies.js#L18

  notify: '(libnotify or libnotify4)',

The idea that I was going to take another shot at was adding %define _build_id_links none to the spec file, based on https://access.redhat.com/discussions/5045161, which should stop the /usr/lib/build-id/ files from being added to the RPM.

This requires passing in a new template to electron-installer-redhat which I didn’t seem to get right when I last looked at this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to ignore conflicts in rpm installs - linux - Stack Overflow
Is there a way to ignore the old .rpm file and resolve the dependency with the new version that is already installed? I...
Read more >
Package self-conflict when using “rpm” command to install a ...
Situation. When trying to reinstall a KMP package rpm will produce message <package> conflicts with (installed) <package> rather than <package> ...
Read more >
Common issues with the Discord client on Linux - GitHub
Discord's dependencies on Arch Linux: glibc, alsa-lib, gcc-libs, gconf, libnotify, nspr, nss, libxss, libxtst, libc++ (libc++ is installed from the AUR) ...
Read more >
Cannot install skypeforlinux and discord for package manager ...
Well, I downloaded discord and installed skype rpm, they do both have the same chrome-sandbox build-id, so you can't have both installed. Code:....
Read more >
Problems with conflicts and broken dependencies
Hello everyone. When I tried updating my system today, I got the following result: [nikos@asus-e502na ~]$ sudo dnf upgrade --refresh
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found