Open burritts opened 1 year ago
Have the same issue.
Hi @burritts,
Is it solved with version 0.14.1?
Cheers
Yes, appears to be resolved by 0.14.1. dnf install completed without error, and kopia appears to work. I did very little testing, just ran the UI and kopia binary and verified the version was 0.14.1
I will close it and the issue seems to be resolved.
Cheers,
I'm still seeing this issue:
~ took 5s ❯ sudo dnf upgrade
Last metadata expiration check: 2:16:23 ago on Wed 27 Sep 2023 07:04:45 AM MDT.
Dependencies resolved.
=================================================================================================================================================================================
Package Architecture Version Repository Size
=================================================================================================================================================================================
Upgrading:
slack x86_64 4.34.120-0.1.el8 slack 83 M
Transaction Summary
=================================================================================================================================================================================
Upgrade 1 Package
Total size: 83 M
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] slack-4.34.120-0.1.el8.x86_64.rpm: Already downloaded
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
file /usr/lib/.build-id/3a/3ac62ceeacc1b5a5e83c8ba27b39aeb7d644dd from install of slack-4.34.120-0.1.el8.x86_64 conflicts with file from package kopia-ui-0.14.1-1.x86_64
It sounds like it may be the same issue as https://github.com/ferdium/ferdium-app/issues/416:
To prevent this from conflicting with other Electron based apps, it's necessary to omit all the symlinks, to achieve this, Electron-builder uses fpm to have an easier way to build linux apps.
The solution is to tell Electron-builder to have some flags on fpm while building the rpm to prevent creating those symlinks.
According to Electron-builder documentation and fpm documentation this option is --rpm-rpmbuild-define "_build_id_links none", this should be changed on the electron-builder.yml file at the root of the project
...
Reopen, as the issue still occurs.
+1. I'm seeing this as well.
Output from dnf install follows. It says files installed in folders like /usr/lib/.build-id/xx/someid conflict with an already installed slack package. I wonder if these files need to be installed at all - perhaps both kopia-ui and slack have packaged them in error? That's just a guess, I have no expertise in this area.
The install is from the yum repository setup according to: https://kopia.io/docs/installation/#linux-installation-using-rpm-redhat-centos-fedora, eg: baseurl=http://packages.kopia.io/rpm/stable/\$basearch/