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
- Build: Suppress generation of `.build-id` links in rpm packages This commit addresses a certain issue with `rpmbuild` in which certain packages will conflict with each other because they have identic... — committed to FreeTubeApp/FreeTube by Svallinn 3 years ago
- Exclude build-id links from RPM package Fixes #259. — committed to fpoirotte/drawio-desktop by fpoirotte a year ago
- Do not package build-id metadata for RPM target fixes #259 — committed to mhdonnelly/drawio-desktop by deleted user 9 months ago
- Do not package build-id metadata for RPM target fixes #259 — committed to mhdonnelly/drawio-desktop by mhdonnelly 9 months ago
- Do not package build-id metadata for RPM target fixes #259 — committed to mhdonnelly/drawio-desktop by mhdonnelly 9 months ago
There seems to be conflicts also with Slack
as a workaround
sudo rpm -i ./drawio-x86_64-20.3.0.rpm --excludepath /usr/lib/.build-id/worked for meAlso getting the same issue with slack
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:
Thanks for the workaround @filariow!