drawio-desktop: rpm conflicts with signal-desktop

When attempting to install the latest rpm on fedora31, I ran into the following issue:

sudo rpm -ihv draw.io-x86_64-12.9.9.rpm 
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
	package draw.io-12.9.9-288.x86_64 is already installed
	file /usr/lib/.build-id/5b/fbd3977f004574cd6668333fd1dc52e6b31010 from install of draw.io-12.9.9-288.x86_64 conflicts with file from package signal-desktop-1.32.1-2.fc31.x86_64
	file /usr/lib/.build-id/68/31304e78fc4f4cd1bd8216d99e32dabe4973c3 from install of draw.io-12.9.9-288.x86_64 conflicts with file from package signal-desktop-1.32.1-2.fc31.x86_64
	file /usr/lib/.build-id/72/d86eb8b1163969d3fc6f34b62b5160a33ad726 from install of draw.io-12.9.9-288.x86_64 conflicts with file from package signal-desktop-1.32.1-2.fc31.x86_64
	file /usr/lib/.build-id/75/2db195051aa513f5916d17ecc6e5d755124e14 from install of draw.io-12.9.9-288.x86_64 conflicts with file from package signal-desktop-1.32.1-2.fc31.x86_64
	file /usr/lib/.build-id/9f/604335c41e24151c5dbca16a33b81dc56c4c54 from install of draw.io-12.9.9-288.x86_64 conflicts with file from package signal-desktop-1.32.1-2.fc31.x86_64
	file /usr/lib/.build-id/cc/813d23c84126298d221a8a7c70184d3fca320d from install of draw.io-12.9.9-288.x86_64 conflicts with file from package signal-desktop-1.32.1-2.fc31.x86_64
	file /usr/lib/.build-id/cf/cca356ccaabf8d1e182054675cf63a92ad57a9 from install of draw.io-12.9.9-288.x86_64 conflicts with file from package signal-desktop-1.32.1-2.fc31.x86_64
	file /usr/lib/.build-id/f1/49c1b37a035c9c336c70bb56777811230332c9 from install of draw.io-12.9.9-288.x86_64 conflicts with file from package signal-desktop-1.32.1-2.fc31.x86_64

I’m curious what thos .build-id files are, and why they cross conflict. And if there is a way to change the rpm build process to address it. I don’t currently see where the rpm is built in the tree, but am happy to look into tweaking that if I can be pointed at it.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 2
  • Comments: 15 (1 by maintainers)

Commits related to this issue

Most upvoted comments

There seems to be conflicts also with Slack

Error: Transaction test error:
  file /usr/lib/.build-id/08/c585ec9ac3d4c22f3d3ac97e70593362a9e153 from install of draw.io-20.3.0-1.x86_64 conflicts with file from package slack-4.28.182-0.1.el8.x86_64
  file /usr/lib/.build-id/2a/33b622beae8c92a691c0056e2336ec75840301 from install of draw.io-20.3.0-1.x86_64 conflicts with file from package slack-4.28.182-0.1.el8.x86_64
  file /usr/lib/.build-id/78/f065664c37258cf50f4e5d000e5f61db296cb7 from install of draw.io-20.3.0-1.x86_64 conflicts with file from package slack-4.28.182-0.1.el8.x86_64
  file /usr/lib/.build-id/be/7e0a8182dc5bdd72ab8f92cc743fb0cf4ff95f from install of draw.io-20.3.0-1.x86_64 conflicts with file from package slack-4.28.182-0.1.el8.x86_64
  file /usr/lib/.build-id/d0/559f3ac02653b61634319629949d7435a277c3 from install of draw.io-20.3.0-1.x86_64 conflicts with file from package slack-4.28.182-0.1.el8.x86_64
  file /usr/lib/.build-id/da/7bfd439eb2866765067ecab210ebcb6184bb50 from install of draw.io-20.3.0-1.x86_64 conflicts with file from package slack-4.28.182-0.1.el8.x86_64
  file /usr/lib/.build-id/df/567116938fec968c889916ff7ebb098eab0a8a from install of draw.io-20.3.0-1.x86_64 conflicts with file from package slack-4.28.182-0.1.el8.x86_64
  file /usr/lib/.build-id/f3/6438bf5c51277b2b6c79bdee5bf0ed84aa8962 from install of draw.io-20.3.0-1.x86_64 conflicts with file from package slack-4.28.182-0.1.el8.x86_64

as a workaround sudo rpm -i ./drawio-x86_64-20.3.0.rpm --excludepath /usr/lib/.build-id/ worked for me

Also getting the same issue with slack

Error: Transaction test error:
  file /usr/lib/.build-id/0d/9fad3f21b1e381cc66b5efcae8f3910ae0edc1 from install of draw.io-20.7.4-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 draw.io-20.7.4-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 draw.io-20.7.4-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 draw.io-20.7.4-1.x86_64 conflicts with file from package slack-4.29.149-0.1.el8.x86_64

The “sudo rpm -i --excludepath=/usr/lib/.build-id/ drawio-x86_64-21.1.2.rpm” did not work for me. I was still getting barks about the debug path.

“sudo rpm -i --force drawio-x86_64-21.1.2.rpm” worked for me.

This thread has a better description: https://unix.stackexchange.com/questions/688839/if-i-do-not-care-about-debug-support-in-red-hat-packages-what-are-the-drawbacks

I too got the same error message that @filariow saw.

On checking one of those, I could see this:

$ ls -l /usr/lib/.build-id/08/c585ec9ac3d4c22f3d3ac97e70593362a9e153
lrwxrwxrwx. 1 root root 35 Sep 21 23:00 /usr/lib/.build-id/08/c585ec9ac3d4c22f3d3ac97e70593362a9e153 -> ../../../../usr/lib/slack/libEGL.so

Thanks for the workaround @filariow!