desktop: RPM installer conflicts with Discord (libnotify dependency)

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

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 23 (5 by maintainers)

Most upvoted comments

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

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.