Problems Removing Synergy 3 from Fedora (Linux)

Problem 🛠

I had some issues with my Synergy3 and wanted to share my solutions in case someone runs into similar problems.

I had issues with the core not starting, so I decided to remove and reinstall Synergy3. I found out that for some reason Synergy cannot be removed from my laptop via the RPM file. So, I tried to use the package manager.

First, Synergy3 has an exclusion rule for the package manager because, if not, for some reason your dnf decides that Synergy1 is newer and downgrades your app. To remove that temporarily, comment the exclusion out in /etc/dnf/dnf.conf:

[main]
# exclude=synergy

After removing that exclusion rule, you can try to remove Synergy3 with the command:

sudo dnf remove synergy

But this resulted in a weird error for me:

ERROR   - 🔥 oh no, the service crashed because of an error

After examining the logs, I found out that the removal process requires PreSession and PostSession backups to exist before you can attempt to remove it. So in my case, I just created two empty files with the correct names, and it worked:

sudo touch /etc/gdm/PreSession/Default.synergy.backup
sudo touch /etc/gdm/PostSession/Default.synergy.backup
sudo dnf remove synergy

Then I could reinstall Synergy3 without further issues. Don't forget to add back the dnf exclusion.

Hope this helps others who have had a similar issue.

Posted Jun 13, 2024, 10:41 AM UTC

12
Loading comments…