Synergy-core: Synergy 2 overwrites manually installed Synergy 1 in Fedora

Created on 10 Aug 2018  路  4Comments  路  Source: symless/synergy-core

Hi,

I am running Synergy 1.10 on Fedora 28 64-bit and I got an issue, since Synergy 2 is in official Fedora repositories.

  1. Install Synergy 1.10 manually
  2. Run "dnf update"
  3. Synergy is updated to version 2.0

The workaround is to exclude synergy package, but system-wise solution would be to replace Synergy 2 with version 1 in Fedora official repositories.

bug

Most helpful comment

One way you could fix this is by setting the Epoch of the Synergy 1.10 RPM you distribute on your website:

https://rpm-packaging-guide.github.io/#epoch

All 4 comments

Sadly we have no control over the Fedora repo. Would you mind raising a bug on the Fedora bug tracker? https://fedoraproject.org/wiki/How_to_file_a_bug_report

One way you could fix this is by setting the Epoch of the Synergy 1.10 RPM you distribute on your website:

https://rpm-packaging-guide.github.io/#epoch

Workaround for this that seems to work with PackageKit in Fedora 30

You need to add

exclude=synergy

to the [updates] section in /etc/yum.repos.d/fedora-updates.repo AND [fedora] section in /etc/yum.repos.d/fedora.repo

To get DNF to ignore the 2.x version and only use the 1.x. Also this will work with tools like Gnome Software which use packagekit (you may need to do something like pkcon refresh)

see https://bugzilla.redhat.com/show_bug.cgi?id=1256108 for more info

I think the best option is to have a new package called synergy2 which differs from version 1 so version 1 won't be replaced automatically.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

johnny-mac picture johnny-mac  路  4Comments

jenelcohen picture jenelcohen  路  4Comments

jasonosei picture jasonosei  路  3Comments

ColinCreamer picture ColinCreamer  路  5Comments

xmstspider picture xmstspider  路  4Comments