Jump to content
Get Synergy | Open a support ticket
Symless Forums

Can't install Synergy 2.0.12


samsungrocks10

Recommended Posts

samsungrocks10

It seems to install fine on one of my other debian machines but this one won't install, cant really figure out why. Other packages install just fine, all i have found so far about this kind of error is this https://raphaelhertzog.com/2011/07/18/deciphering-one-of-dpkg-weirdest-errors-unable-to-open-pathtofoo-dpkg-new/

[email protected]:~$ sudo dpkg -i ./synergy_2.0.12.beta~b74+0b61673b_amd64.deb
(Reading database ... 219190 files and directories currently installed.)
Preparing to unpack .../synergy_2.0.12.beta~b74+0b61673b_amd64.deb ...
Unpacking synergy (2.0.12.beta~b74+0b61673b) ...
dpkg: error processing archive ./synergy_2.0.12.beta~b74+0b61673b_amd64.deb (--install):
 unable to open '/usr/lib/systemd/system/synergy.service.dpkg-new': No such file or directory
Processing triggers for desktop-file-utils (0.23-3) ...
Processing triggers for mime-support (3.61) ...
Errors were encountered while processing:
 ./synergy_2.0.12.beta~b74+0b61673b_amd64.deb

 

Link to post
Share on other sites
  • 3 months later...
  • 3 months later...
  • 1 month later...
  • 1 month later...
8BrickDMG

Made an account to respond with a fix. I was having this same problem until I used the OPs link to help figure it out.

Extract the contents of the .deb file to a folder using the command below. Replacing the deb file name with the one you downloaded and whatever folder you want to extract to.

  • dpkg-deb -R whateverVersionYouDownloaded.deb nameOfFolder

 

Change into the newly created directory.

  • cd nameOfFolder

Locate the synergy.service file in the directory you extracted to and rename it to the new format.

  • mv /usr/lib/systemd/system/synergy.service /usr/lib/systemd/system/synergy.service.dpkg-new

Rebuild the package.

  • cd nameOfFolder && dpkg-deb -b . synergy2.deb

Install the new .deb file and it shouldn't fail.

  • Like 1
Link to post
Share on other sites
  • 4 weeks later...
Major Deity

Did this

On 6/5/2019 at 6:21 AM, 8BrickDMG said:

Made an account to respond with a fix. I was having this same problem until I used the OPs link to help figure it out.

Extract the contents of the .deb file to a folder using the command below. Replacing the deb file name with the one you downloaded and whatever folder you want to extract to.

  • dpkg-deb -R whateverVersionYouDownloaded.deb nameOfFolder

 

Change into the newly created directory.

  • cd nameOfFolder

Locate the synergy.service file in the directory you extracted to and rename it to the new format.

  • mv /usr/lib/systemd/system/synergy.service /usr/lib/systemd/system/synergy.service.dpkg-new

Rebuild the package.

  • cd nameOfFolder && dpkg-deb -b . synergy2.deb

Install the new .deb file and it shouldn't fail.

I followed all of this and it still doesn't install.

 

dpkg: dependency problems prevent configuration of synergy:
 synergy depends on libssl1.0.0 (>= 1.0.0); however:
  Package libssl1.0.0 is not installed.
 synergy depends on qml-module-qtquick-controls (>= 5.5.0); however:
  Package qml-module-qtquick-controls is not installed.
 synergy depends on qml-module-qtquick-layouts (>= 5.5.0); however:
  Package qml-module-qtquick-layouts is not installed.
 synergy depends on qml-module-qtquick-dialogs (>= 5.5.0); however:
  Package qml-module-qtquick-dialogs is not installed.
 synergy depends on qml-module-qtquick2 (>= 5.5.0); however:
  Package qml-module-qtquick2 is not installed.
 

 

Of course I do have both libssl but it's version 1.1.1b which is higher and should be fine but it does not recognize it. Same issue with the qml-module-qtquick dependencies of which higher than 5.5.0 should be fine and yet I have 5.12.2 which is higher.

 

 

Link to post
Share on other sites
  • 2 months later...

I was able to get Synergy 2.0.12 working on Ubuntu 19.04 (Disco). I just needed to manually install the Ubuntu 16.04 (Xenial) version of the "libssl1.0.0" package:
 

wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.0.0_1.0.2g-1ubuntu4.15_amd64.deb
sudo dpkg -i  libssl1.0.0_1.0.2g-1ubuntu4.15_amd64.de

Keep in mind that the "libssl1.0.0" package won't be anymore updated automatically (possibly a security risk) and future changes in Ubuntu might break Synergy or cause apt/dpkg dependency/conflict problems. Use wisely and at your own risk!

You can also extract that deb file and copy the "libcrypto.so.1.0.0" & "libssl.so.1.0.0" files to "/usr/lib".

 

Link to post
Share on other sites
  • 3 weeks later...
On 9/9/2019 at 7:17 PM, firedo said:

I was able to get Synergy 2.0.12 working on Ubuntu 19.04 (Disco). I just needed to manually install the Ubuntu 16.04 (Xenial) version of the "libssl1.0.0" package:
 

wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.0.0_1.0.2g-1ubuntu4.15_amd64.deb
sudo dpkg -i  libssl1.0.0_1.0.2g-1ubuntu4.15_amd64.de

Keep in mind that the "libssl1.0.0" package won't be anymore updated automatically (possibly a security risk) and future changes in Ubuntu might break Synergy or cause apt/dpkg dependency/conflict problems. Use wisely and at your own risk!

You can also extract that deb file and copy the "libcrypto.so.1.0.0" & "libssl.so.1.0.0" files to "/usr/lib".

 

I just did a fresh install of U19.04, tried installing libssl1.0.0 and then installing 2.0.12.beta~b1705 but it continues to fail. Did you still have to do what 8BrickDMG suggested? 

Edited by CheezLee
Link to post
Share on other sites
  • 3 weeks later...
  • 3 months later...
marinegeek23
On 6/5/2019 at 8:21 AM, 8BrickDMG said:

Made an account to respond with a fix. I was having this same problem until I used the OPs link to help figure it out.

Extract the contents of the .deb file to a folder using the command below. Replacing the deb file name with the one you downloaded and whatever folder you want to extract to.

  • dpkg-deb -R whateverVersionYouDownloaded.deb nameOfFolder

 

Change into the newly created directory.

  • cd nameOfFolder

Locate the synergy.service file in the directory you extracted to and rename it to the new format.

  • mv /usr/lib/systemd/system/synergy.service /usr/lib/systemd/system/synergy.service.dpkg-new

Rebuild the package.

  • cd nameOfFolder && dpkg-deb -b . synergy2.deb

Install the new .deb file and it shouldn't fail.

Some minor corrections / recommended changes:

dpkg-deb -R whateverVersionYouDownloaded.deb nameOfFolder
cd nameOfFolder
mv usr/lib/systemd/system/synergy.service usr/lib/systemd/system/synergy.service.dpkg-new
cd .. && dpkg-deb -b nameOfFolder synergy2.deb

 

  • Like 1
Link to post
Share on other sites
  • 1 month later...
On 24.1.2020 at 4:51 AM, marinegeek23 said:

Some minor corrections / recommended changes:

dpkg-deb -R whateverVersionYouDownloaded.deb nameOfFolder
cd nameOfFolder
mv usr/lib/systemd/system/synergy.service usr/lib/systemd/system/synergy.service.dpkg-new
cd .. && dpkg-deb -b nameOfFolder synergy2.deb

 

It works! Thank you @marinegeek23 and @Major Deity

Link to post
Share on other sites
  • 3 weeks later...
On 24.1.2020 at 4:51 AM, marinegeek23 said:

Some minor corrections / recommended changes:

dpkg-deb -R whateverVersionYouDownloaded.deb nameOfFolder
cd nameOfFolder
mv usr/lib/systemd/system/synergy.service usr/lib/systemd/system/synergy.service.dpkg-new
cd .. && dpkg-deb -b nameOfFolder synergy2.deb

 

 

  • Like 1
Link to post
Share on other sites

thanks for the pointers marinegeek23, however i still get the libssl dependency issues:


 

[email protected]:~$ sudo dpkg -i ./synergy2.deb
[sudo] password for vossi:
Selecting previously unselected package synergy.
(Reading database ... 190564 files and directories currently installed.)
Preparing to unpack ./synergy2.deb ...
Unpacking synergy (2.0.12.beta~b1705+e5daaeda) ...
dpkg: dependency problems prevent configuration of synergy:
 synergy depends on libqt5qml5 (>= 5.1.0); however:
  Package libqt5qml5 is not installed.
 synergy depends on libqt5quick5 (>= 5.0.2) | libqt5quick5-gles (>= 5.0.2); however:
  Package libqt5quick5 is not installed.
  Package libqt5quick5-gles is not installed.
 synergy depends on libssl1.0.0 (>= 1.0.0); however:
  Package libssl1.0.0 is not installed.
 synergy depends on qml-module-qtquick-controls (>= 5.5.0); however:
  Package qml-module-qtquick-controls is not installed.
 synergy depends on qml-module-qtquick-layouts (>= 5.5.0); however:
  Package qml-module-qtquick-layouts is not installed.
 synergy depends on qml-module-qtquick-dialogs (>= 5.5.0); however:
  Package qml-module-qtquick-dialogs is not installed.
 synergy depends on qml-module-qtquick2 (>= 5.5.0); however:
  Package qml-module-qtquick2 is not installed.

dpkg: error processing package synergy (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.32.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu1) ...
Processing triggers for mime-support (3.63ubuntu1) ...
Errors were encountered while processing:
 synergy
[email protected]:~$

 

so i still have to install this package manually in addition?

 

edit:

[email protected]:~$ uname -a
Linux vossidev 5.3.0-45-generic #37-Ubuntu SMP Thu Mar 26 20:41:27 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[email protected]:~$ 

freshly installed yesterday

Edited by vossi
Link to post
Share on other sites
  • 4 months later...
Spork Witch

Should only need to rename the systemd file as mentioned in an earlier post, and update the dependency to libssl1.1, at least on kubuntu 20.04.  Unfortunately this will require recompiling the binaries against 1.1, and for that we need the source, or action taken by Symless.

I've reached out to what contacts I have from when I submitted updates to 2.0.10 to get it working on Kubuntu 18.04, so we'll have to wait and see.  Last time it was just libcurl3 vs libcurl4, and it just took updating the listed dependency in the control file, no recompiling required.  Not so with this bump from libssl1.0 to libssl1.1

Link to post
Share on other sites
  • 2 months later...

Thank you all for the above information. Pulling the different pieces from above together, I produced a list that worked for my Debian 10 system. I thought it might save some other Debian users time:

dpkg-deb -R synergy_2.???_amd64.deb nameOfFolder
cd nameOfFolder/
mv usr/lib/systemd/system/synergy.service usr/lib/systemd/system/synergy.service.dpkg-new
cd .. && dpkg-deb -b nameOfFolder synergy2.deb
apt --fix-broken install
apt install g++
apt install qtcreator
apt install qtdeclarative5-dev
dpkg -i ./synergy2.deb 

What this does is:

  • dpkg-deb -R ... unzip the .deb file into a folder. The ??? will be the version you downloaded. 
  • we use mv to rename the synergy.service file. Notice, we are renaming the one in the nameOfFolder directory and not in the system /usr/... directory.
  • The cd .. line does two commands, changes directory and then builds a debian package using nameOfFolder as the package and saving it into synergy2.deb
  • The bad install messed up the system a bit so we did the --fix-broken command.
  • We installed packages that synergy requires.
  • Finally the install worked on the synergy2.deb we had created.

 

 

Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...