psi-plus / main

Main repository with patches and required resources
https://psi-plus.com/
GNU Lesser General Public License v2.1
69 stars 20 forks source link

Dependency problem libqt5keychain0 and libqt5keychain1 #709

Closed boospy closed 6 years ago

boospy commented 6 years ago

This time i would upgrade the system (KDE-NEON 16.04) i have an dependency problem. I'am not able to upgrade PSI+ because the whole nextcloudclient will be removed. PSI and Nextcloud are installed from the official repository.

ppa:psi-plus/ppa
ppa:nextcloud-devs/client

Here are the apt information:

apt dist-upgrade                           
The following package has been automatically installed and is no longer needed:
  nextcloud-client-l10n
Use sudo apt autoremove to remove it.
The following packages will REMOVED:
  libnextcloudsync0 libqt5keychain0 nextcloud-client nextcloud-client-dolphin
The following NEW packages will be installed:
  libqt5keychain1
The following packages will be upgraded:
  psi-plus psi-plus-common psi-plus-plugins
3 updated, 1 reinstalled, 4 removed and 0 not updated.

Thanks very much vor help! :)

tehnick commented 6 years ago

Show output of:

LC_ALL=C sudo apt-get dist-upgrade -V
boospy commented 6 years ago
LC_ALL=C  apt-get dist-upgrade -V 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
   nextcloud-client-l10n (2.3.3-20171224.060956~xenial1)
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
   libnextcloudsync0 (2.3.3-20171224.060956~xenial1)
   libqt5keychain0 (0.5.0-1build1~gcc5.1)
   nextcloud-client (2.3.3-20171224.060956~xenial1)
   nextcloud-client-dolphin (2.3.3-20171224.060956~xenial1)
The following NEW packages will be installed:
   libqt5keychain1 (0.7.0-3+16.04+xenial+build3)
The following packages will be upgraded:
   psi-plus (1.2.156-0ppa1~xenial1 => 1.2.215-0ppa1~xenial1)
   psi-plus-common (1.2.156-0ppa1~xenial1 => 1.2.215-0ppa1~xenial1)
   psi-plus-plugins (1.2.156-0ppa1~xenial1 => 1.2.215-0ppa1~xenial1)
3 upgraded, 1 newly installed, 4 to remove and 0 not upgraded.
Need to get 4947 kB of archives.
After this operation, 4364 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
tehnick commented 6 years ago

Eh! The quality of Ubuntu packages is terrible... =( I will fix your problem soon.

tehnick commented 6 years ago

Just wait until build is finished.

boospy commented 6 years ago

Eh! The quality of Ubuntu packages is terrible... =(

Yes, i know... we have us own packagesrepository for a cuple of important packages too...

I will fix your problem soon.

Thanks a lot! You are the best!

tehnick commented 6 years ago

It should be ready now.

boospy commented 6 years ago

Good morning. I've tried it this day, but the problem exists. Maybe it was not built yet on launchpad...

LC_ALL=C sudo apt-get dist-upgrade -V
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
   nextcloud-client-l10n (2.3.3-20171224.060956~xenial1)
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
   libnextcloudsync0 (2.3.3-20171224.060956~xenial1)
   libqt5keychain0 (0.5.0-1build1~gcc5.1)
   nextcloud-client (2.3.3-20171224.060956~xenial1)
The following NEW packages will be installed:
   libqt5keychain1 (0.7.0-3+16.04+xenial+build3)
The following packages will be upgraded:
   psi-plus (1.2.156-0ppa1~xenial1 => 1.2.215-0ppa1~xenial1)
   psi-plus-common (1.2.156-0ppa1~xenial1 => 1.2.215-0ppa1~xenial1)
   psi-plus-plugins (1.2.156-0ppa1~xenial1 => 1.2.215-0ppa1~xenial1)
3 upgraded, 1 newly installed, 3 to remove and 0 not upgraded.
Need to get 4947 kB of archives.
After this operation, 4261 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

Thanks

Ri0n commented 6 years ago

where does libqt5keychain0 come from? If kde neon is based on Ubuntu 16.04 then it should have just libqt5keychain1. So it's rather bug report for them.

tehnick commented 6 years ago

Hmm, I was a bit inattentive this night...

libqt5keychain1 (0.7.0-3+16.04+xenial+build3)

This version of library is not from our PPA. We use:

libqt5keychain1 (0.7.0-3ppa3~xenial1)

And after my changes this version of library will not conflict with libqt5keychain0 during installation.

Try something like:

sudo apt-get install -V libqt5keychain1=0.7.0-3ppa3~xenial1
sudo apt-get install -V psi-plus
boospy commented 6 years ago

Strange, with that it works. The problem seems to be from nextcloudppa. I've hold the libqt5keychain1 on this version. For the first an dist-upgrade is working fine now. I will do an bugreport nextcloud ppa. Very thanks for help here.

tehnick commented 6 years ago

where does libqt5keychain0 come from?

@Ri0n Just look at: https://packages.ubuntu.com/search?keywords=qt5keychain

QtKeychain-0.5.0 is in Ubuntu Xenial (16.04 LTS). And is has very outdated API unsuitable for Psi+. That's why I use updated version of this library in our PPA.

Also see: https://launchpad.net/~psi-plus/+archive/ubuntu/ppa/+packages

tehnick commented 6 years ago

Very thanks for help here.

Np. Also your report has allowed to prevent of possible problems for other users.

Ri0n commented 6 years ago

oh yes. I checked on 17.10 instead. sorry for confusion.

lapineige commented 4 years ago

Hello,

In my case, with a nextcloud-client from the ppa, I have this issue:

nextcloud: error while loading shared libraries: libqt5keychain.so.0: cannot open shared object file: No such file or directory

And that libqt5keychain.so.0 is not a valid package. I only have libqt5keychain1.

But:

dpkg -S libqt5keychain1 libqt5keychain1:amd64: /usr/share/doc/libqt5keychain1/copyright libqt5keychain1:amd64: /usr/share/doc/libqt5keychain1/changelog.Debian.gz libqt5keychain1:amd64: /usr/share/doc/libqt5keychain1 libqt5keychain1:amd64: /usr/share/doc/libqt5keychain1/ReadMe.txt

Is that package valid ? I don't see any binary here, and I can't even "fix" my issue with a symlink between libqt5keychain.so.0 and libqt5keychain1 (as seen here for instance: https://help.nextcloud.com/t/rhel7-desktop-client-lib-error-libqt5keychain-so-1/14912) Forum topic: https://help.nextcloud.com/t/client-install-fails-on-ubuntu-18-04/41175/

edit:

apt-cache show nextcloud-client […] Depends: libnextcloudsync0 (= 2.6.4-20200303.193231eoan1), libc6 (>= 2.14), libcloudproviders0 (>= 0.2.5), libgcc1 (>= 1:3.0), libglib2.0-0 (>= 2.37.0), libqt5core5a (>= 5.12.2), libqt5dbus5 (>= 5.0.2), libqt5gui5 (>= 5.11.0rc1) | libqt5gui5-gles (>= 5.11.0rc1), libqt5keychain1 (>= 0.7.0), libqt5network5 (>= 5.5.0), libqt5webenginecore5 (>= 5.7.1), libqt5webenginewidgets5 (>= 5.7.1), libqt5webkit5 (>= 5.212.0alpha3), libqt5widgets5 (>= 5.11.0rc1), libqt5xml5 (>= 5.0.2), libstdc++6 (>= 5.2), nextcloud-client-l10n

It says it depends on libqt5keychain1, not 0… so why does it need it ?

tehnick commented 4 years ago

I can't even "fix" my issue with a symlink between libqt5keychain.so.0 and libqt5keychain1

Yes, you cannot. Because they have different ABI. Thats is why library version suffix was changed.

lapineige commented 4 years ago

What is an ABI ?

How it is supposed to work with v0 while only v1 is available ? I don't understand 😅

tehnick commented 4 years ago

@lapineige And here is bug tracker for Psi+, but not for Nextcloud. Ask for help to nextcloud maintainers who work with their PPA.

tehnick commented 4 years ago

What is an ABI ?

https://en.wikipedia.org/wiki/Application_binary_interface

tehnick commented 4 years ago

How it is supposed to work with v0 while only v1 is available ? I don't understand sweat_smile

Neither do I.

lapineige commented 4 years ago

Oh sorry, I thought it was related to Nextcloud. Thanks :)