Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Latest PPA has conflicts with libsodium versions. #1545
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
hifi
Feb 28, 2018
Member
Yeah, the new or updated dependencies need to be installed in /opt as well to avoid any conflicts with other PPAs or repositories.
|
Yeah, the new or updated dependencies need to be installed in /opt as well to avoid any conflicts with other PPAs or repositories. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
phoerious
Feb 28, 2018
Owner
I assume you had the beta installed. Please reinstall libsodium18 and then try again.
|
I assume you had the beta installed. Please reinstall libsodium18 and then try again. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
repsorp
Feb 28, 2018
libsodium18 is already the newest version (1.0.16-0ppa1~xenial1)
same issue though
repsorp
commented
Feb 28, 2018
|
libsodium18 is already the newest version (1.0.16-0ppa1~xenial1) |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
bgottschall
Feb 28, 2018
Just for those with the same problem, I've got mpv installed which depends on libsodium18. Remove libsodium-dev package and all of its reverse dependencies like mpv (keep them in mind because they are gone...). Then install keepassxc which will install libsodium23 and install again the removed packages. They will install libsodium18 without colliding with libsodium23.
bgottschall
commented
Feb 28, 2018
|
Just for those with the same problem, I've got mpv installed which depends on libsodium18. Remove libsodium-dev package and all of its reverse dependencies like mpv (keep them in mind because they are gone...). Then install keepassxc which will install libsodium23 and install again the removed packages. They will install libsodium18 without colliding with libsodium23. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
phoerious
Feb 28, 2018
Owner
Please force a reinstall of libsodium18. You still have the version from our PPA, which does not exist anymore.
|
Please force a reinstall of libsodium18. You still have the version from our PPA, which does not exist anymore. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
bgottschall
Feb 28, 2018
@phoerious no that doesn't work, it will say it can't download the package. I've tried.
bgottschall
commented
Feb 28, 2018
|
@phoerious no that doesn't work, it will say it can't download the package. I've tried. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment|
Try
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
repsorp
Feb 28, 2018
libsodium18:amd64 has been downgraded from 1.0.16-0ppa1~xenial1 to 1.0.8-5
Now keepasxc could install without error message
repsorp
commented
Feb 28, 2018
|
libsodium18:amd64 has been downgraded from 1.0.16-0ppa1~xenial1 to 1.0.8-5 |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
MartNytrm
Feb 28, 2018
To work around it, I had to:
-
first uninstall Keepassxc:
sudo apt remove keepassxc -
just to get sure update apt cache:
sudo apt update -
downgrade libsodium now:
sudo apt install --reinstall libsodium18=1.0.8-5 -
install Keepassxc again:
sudo apt install keepassxc
Thanks to @phoerious
MartNytrm
commented
Feb 28, 2018
|
To work around it, I had to:
Thanks to @phoerious |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
scde
Feb 28, 2018
Hey,
there was a bug (#1513) with the PPA for a while where libsodium18 was falsely upgraded to a version which was actually libsodium23.
I presume that is the one you have installed right now (1.0.16-0ppa1~xenial1). To fix it downgrade libsodium18 to the version which the ubuntu repositories provide (1.0.8-5).
I think this command should work:
$ sudo apt install libsodium18=1.0.8-5
Now both versions should be installed:
$ ll /usr/lib/x86_64-linux-gnu/libsodium.so.*
lrwxrwxrwx 1 root root 19 Feb 6 2016 /usr/lib/x86_64-linux-gnu/libsodium.so.18 -> libsodium.so.18.0.1
-rw-r--r-- 1 root root 376K Feb 6 2016 /usr/lib/x86_64-linux-gnu/libsodium.so.18.0.1
lrwxrwxrwx 1 root root 19 Feb 24 22:52 /usr/lib/x86_64-linux-gnu/libsodium.so.23 -> libsodium.so.23.1.0
-rw-r--r-- 1 root root 1,9M Feb 24 22:52 /usr/lib/x86_64-linux-gnu/libsodium.so.23.1.0
$ apt policy libsodium18 libsodium23
libsodium18:
Installed: 1.0.8-5
Candidate: 1.0.8-5
Version table:
*** 1.0.8-5 500
500 http://de.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
100 /var/lib/dpkg/status
libsodium23:
Installed: 1.0.16-0ppa3~xenial1
Candidate: 1.0.16-0ppa3~xenial1
Version table:
*** 1.0.16-0ppa3~xenial1 500
500 http://ppa.launchpad.net/phoerious/keepassxc/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status
You could also set libsodium18 back to automatic so it does get picked up by autoremove correctly once it is no dependency any more. This command should do that:
$ sudo apt-mark auto libsodium18
Check if all is well with:
$ apt list -a libsodium18 libsodium23
Listing... Done
libsodium18/xenial,now 1.0.8-5 amd64 [installed,automatic]
libsodium23/xenial,now 1.0.16-0ppa3~xenial1 amd64 [installed,automatic]
scde
commented
Feb 28, 2018
•
|
Hey, there was a bug (#1513) with the PPA for a while where libsodium18 was falsely upgraded to a version which was actually libsodium23.
Now both versions should be installed:
You could also set libsodium18 back to automatic so it does get picked up by autoremove correctly once it is no dependency any more. This command should do that:
Check if all is well with:
|
maxolasersquad commentedFeb 28, 2018
Expected Behavior
Should be able to install libsodium18 and libsodium23 pacakages.
Current Behavior
If a user already has libsodium18 installed, and has programs installed that depend on it, then upgrading fails. The PPA relies on libsodium23, which is also provided by the PPA.
Steps to Reproduce (for bugs)
Context
Debug Info
Operating system: Ubuntu64
CPU architecture: amd64
Kernel: 4.4.0-116-generic