Red Hat Bugzilla – Bug 1463967
chrome-remote-desktop creates a conflicting directory symlink
Last modified: 2017-07-18 02:47:32 EDT
I am working on a new package, chrome-gnome-shell. It uses the native messaging hosts interface and installs files in /etc/opt/chrome/native-messaging-hosts/ directory. When chrome-remote-desktop is installed we get a file conflict as chrome-remote-desktop has replaced the directory with a symlink. This is caused by the following lines in chromium.spec:
ln -s ../../chromium/native-messaging-hosts native-messaging-hosts
Please remove this so that other programs can also use the directory. Thanks.
$ sudo dnf install chrome-remote-desktop-56.0.2924.87-3.fc25.x86_64
Error: Transaction check error:
file /etc/opt/chrome/native-messaging-hosts from install of chrome-remote-desktop-56.0.2924.87-3.fc25.x86_64 conflicts with file from package chrome-gnome-shell-8.2-1.fc25.noarch
Easy enough. I'll change it to be a dir rather than a symlink. You might also consider ensuring that your files are visible from both paths:
That should ensure that your code works with both Google Chrome and Chromium (as packaged in Fedora).
This should be fixed now in rawhide.