Unable to install working linux client version(repo app too old)


#1

Hi there everyone!

I seem to be unable to install a version of owncloud-client that will work with my OC server version of 10.0.10. The Debian 9 backport repos include oc client version: 2.2.4+dfsg-1~bpo8+1 0 and when that’s installed, it results in the following error on login attempt:

Error downloading https://server.com/owncloud/remote.php/webdav/ - server replied: Forbidden (Unsupported client version)

Then, if I follow Owncloud’s instructions on installing the repo(found here), this occurs:

schwim@schwim-vm-bl:~ apt-cache policy owncloud-client owncloud-client: Installed: (none) Candidate: 2.5.3.11470+oc-342 Version table: 2.5.3.11470+oc-342 0 500 http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_9.0/ Packages 2.2.4+dfsg-1~bpo8+1 0 100 http://deb.debian.org/debian/ jessie-backports/main amd64 Packages 1.7.0~beta1+really1.6.4+dfsg-1+deb8u1 0 500 http://deb.debian.org/debian/ jessie/main amd64 Packages 500 http://security.debian.org/ jessie/updates/main amd64 Packages schwim@schwim-vm-bl:~ sudo apt-get install owncloud-client
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
owncloud-client : Depends: libowncloudsync0 (= 2.5.3.11470+oc-342) but it is not going to be installed
Depends: libstdc++6 (>= 5.2) but 4.9.2-10+deb8u2 is to be installed
Depends: ocqt5101-libqt5concurrent5 but it is not going to be installed
Depends: ocqt5101-libqt5core5a but it is not going to be installed
Depends: ocqt5101-libqt5dbus5 but it is not going to be installed
Depends: ocqt5101-libqt5gui5 but it is not going to be installed
Depends: ocqt5101-libqt5keychain1 but it is not going to be installed
Depends: ocqt5101-libqt5network5 but it is not going to be installed
Depends: ocqt5101-libqt5webkit5 but it is not going to be installed
Depends: ocqt5101-libqt5widgets5 but it is not going to be installed
Depends: ocqt5101-libqt5xml5 but it is not going to be installed
Depends: owncloud-client-l10n but it is not going to be installed
Depends: ocqt5101-libqt5sql5-sqlite but it is not going to be installed
Depends: ocqt5101-qtsvg5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
schwim@schwim-vm-bl:~$

And finally, if I grab the binary package directly that explicitly states is intended for Debian 9, this occurs:

Unless I’m missing something, absolutely every install method that the Owncloud site states to use with Debian 9 is impossible to accomplish.

If anyone has a method of installing on Debian 9, I’d be greatly appreciative if you’d share it with me.

Thanks for your time!


#2

Didn’t you try the repo for Debian 9 suggested here:

https://software.opensuse.org/download/package?project=isv:ownCloud:desktop&package=owncloud-client


#3

Apparently, I wasn’t clear. In my original post, I tried to explain what occurred through every step of the install attempts when following the instructions on the very same page both you and I linked to. Installing the repo failed, downloading and trying to install the binary failed. My OP explains the points of failure for each of those attempts.


#4

Ah yes, now I see. Sorry.

But indeed very strange. I’m still on Jessie, but had no problem installing a current client (2.5.x) from the mentioned repo.


#5

I just can’t figure out how to resolve all of the unmet dependencies caused by version mismatch. It prohibits both the opensuse repo and the direct binary download.


#6

I fired up a Debian 9 Docker on my Mac:
docker run -ti --rm debian:9

I can’t find any issues:

root@97aba5b18e96:/# owncloudcmd --version
ownCloud version 2.5.3 (build 342)
Git revision 80478b643b5849ca6560b6edbda2b90785eaf5f5
Using Qt 5.10.1, built against Qt 5.10.1
Using 'OpenSSL 1.0.2r  26 Feb 2019'
root@97aba5b18e96:/# history
    1  apt update && apt install wget -y && apt-get install gnupg2 --no-install-recommends -y
    2  wget -nv https://download.opensuse.org/repositories/isv:ownCloud:desktop/Debian_9.0/Release.key -O Release.key
    3  apt-key add - < Release.key
    4  apt-get update
    5  echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_9.0/ /' > /etc/apt/sources.list.d/isv:ownCloud:desktop.list
    6  apt-get update
    7  apt-get install owncloud-client
    8  owncloudcmd --version
    9  history

Could you post the steps to reproduce?


#7

Sure thing:

schwim@schwim-vm-bl:~$ uname -a
Linux schwim-vm-bl 3.16.0-7-amd64 #1 SMP Debian 3.16.59-1 (2018-10-03) x86_64 GNU/Linux
schwim@schwim-vm-bl:~$ sudo su -c "echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_9.0/ /' > /etc/apt/sources.list.d/isv:ownCloud:desktop.list"
schwim@schwim-vm-bl:~$ wget -nv https://download.opensuse.org/repositories/isv:ownCloud:desktop/Debian_9.0/Release.key -O Release.key
2019-02-28 18:22:02 URL:https://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_9.0/Release.key [1097/1097] -> "Release.key" [1]
schwim@schwim-vm-bl:~$ sudo apt-key add - < Release.key
OK
schwim@schwim-vm-bl:~$ sudo apt-get update
Ign http://deb.debian.org jessie InRelease                                                                                                                                          
Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]                                                                                                    
Ign http://download.opensuse.org  InRelease                                                                                                  
Hit http://ppa.launchpad.net trusty InRelease                                                                     
Get:2 http://deb.debian.org jessie-updates InRelease [145 kB]                                                     
Get:3 http://security.debian.org jessie/updates/main amd64 Packages [649 kB]                                                                                                             
Get:4 http://download.opensuse.org  Release.gpg [481 B]                                                                                                                                  
Get:5 http://deb.debian.org jessie-backports InRelease [166 kB]                                                                                                                          
Hit http://deb.debian.org jessie Release.gpg                                                                                                                                             
Get:6 http://download.opensuse.org  Release [1,026 B]                                                                                                                                    
Hit http://security.debian.org jessie/updates/contrib amd64 Packages                                                                                                                     
Hit http://ppa.launchpad.net trusty/main Sources                                                                                                                         
Get:7 http://download.opensuse.org  Packages [18.5 kB]                                                                                                                                   
Hit http://security.debian.org jessie/updates/non-free amd64 Packages                                                                                                                   
Get:8 http://deb.debian.org jessie-updates/main amd64 Packages/DiffIndex [11.8 kB]                                                                                                       
Hit http://ppa.launchpad.net trusty/main amd64 Packages                                                                                                                 
Get:9 http://security.debian.org jessie/updates/main i386 Packages [652 kB]                                                                                                              
Hit http://ppa.launchpad.net trusty/main i386 Packages                                                                                                                                   
Hit http://deb.debian.org jessie-updates/contrib amd64 Packages                                                                                                                          
Get:10 http://deb.debian.org jessie-updates/non-free amd64 Packages/DiffIndex [736 B]                                                                                                    
Get:11 http://deb.debian.org jessie-updates/main i386 Packages/DiffIndex [11.8 kB]                                                                                                       
Hit http://security.debian.org jessie/updates/contrib i386 Packages                                                                                                                
Hit http://ppa.launchpad.net trusty/main Translation-en                                                                                                                            
Hit http://security.debian.org jessie/updates/non-free i386 Packages                                                                                                               
Hit http://security.debian.org jessie/updates/contrib Translation-en                                                                                             
Get:12 http://security.debian.org jessie/updates/main Translation-en [329 kB]                                                                                                            
Hit http://security.debian.org jessie/updates/non-free Translation-en                                                                                                               
Hit http://deb.debian.org jessie-updates/contrib i386 Packages                                                                                                                 
Hit http://pkg.bunsenlabs.org jessie-backports InRelease                                                                                                  
Get:13 http://deb.debian.org jessie-updates/non-free i386 Packages/DiffIndex [736 B]           
Hit http://pkg.bunsenlabs.org bunsen-hydrogen InRelease                                        
Hit http://deb.debian.org jessie-updates/contrib Translation-en                                
Hit http://pkg.bunsenlabs.org jessie-backports/main amd64 Packages                             
Get:14 http://deb.debian.org jessie-updates/main Translation-en/DiffIndex [3,688 B]  
Ign http://download.opensuse.org  Translation-en_US                                                           
Hit http://pkg.bunsenlabs.org jessie-backports/main i386 Packages                           
Ign http://download.opensuse.org  Translation-en                                     
Get:15 http://deb.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]
Hit http://deb.debian.org jessie Release                              
Get:16 http://deb.debian.org jessie-backports/main amd64 Packages/DiffIndex [27.8 kB]
Get:17 http://deb.debian.org jessie-backports/contrib amd64 Packages/DiffIndex [26.4 kB]               
Get:18 http://deb.debian.org jessie-backports/non-free amd64 Packages/DiffIndex [24.8 kB]              
Hit http://pkg.bunsenlabs.org bunsen-hydrogen/main amd64 Packages                                      
Hit http://pkg.bunsenlabs.org bunsen-hydrogen/main i386 Packages                                           
Get:19 http://deb.debian.org jessie-backports/main i386 Packages/DiffIndex [27.8 kB] 
Get:20 http://deb.debian.org jessie-backports/contrib i386 Packages/DiffIndex [26.7 kB]
Get:21 http://deb.debian.org jessie-backports/non-free i386 Packages/DiffIndex [24.2 kB]
Get:22 http://deb.debian.org jessie-backports/contrib Translation-en/DiffIndex [7,960 B]
Get:23 http://deb.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]   
Get:24 http://deb.debian.org jessie-backports/non-free Translation-en/DiffIndex [19.1 kB]
Hit http://deb.debian.org jessie/main amd64 Packages                                   
Hit http://deb.debian.org jessie/non-free amd64 Packages                             
Hit http://deb.debian.org jessie/contrib amd64 Packages                              
Hit http://deb.debian.org jessie/main i386 Packages                                      
Hit http://deb.debian.org jessie/non-free i386 Packages                                  
Hit http://deb.debian.org jessie/contrib i386 Packages                                   
Hit http://deb.debian.org jessie/contrib Translation-en                              
Hit http://deb.debian.org jessie/main Translation-en                                    
Hit http://deb.debian.org jessie/non-free Translation-en                             
Ign http://pkg.bunsenlabs.org jessie-backports/main Translation-en_US
Ign http://pkg.bunsenlabs.org jessie-backports/main Translation-en
Ign http://pkg.bunsenlabs.org bunsen-hydrogen/main Translation-en_US
Ign http://pkg.bunsenlabs.org bunsen-hydrogen/main Translation-en
Fetched 2,248 kB in 5s (425 kB/s)
Reading package lists... Done
schwim@schwim-vm-bl:~$ sudo apt-get install owncloud-client
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 owncloud-client : Depends: libowncloudsync0 (= 2.5.3.11470+oc-342) but it is not going to be installed
                   Depends: libstdc++6 (>= 5.2) but 4.9.2-10+deb8u2 is to be installed
                   Depends: ocqt5101-libqt5concurrent5 but it is not going to be installed
                   Depends: ocqt5101-libqt5core5a but it is not going to be installed
                   Depends: ocqt5101-libqt5dbus5 but it is not going to be installed
                   Depends: ocqt5101-libqt5gui5 but it is not going to be installed
                   Depends: ocqt5101-libqt5keychain1 but it is not going to be installed
                   Depends: ocqt5101-libqt5network5 but it is not going to be installed
                   Depends: ocqt5101-libqt5webkit5 but it is not going to be installed
                   Depends: ocqt5101-libqt5widgets5 but it is not going to be installed
                   Depends: ocqt5101-libqt5xml5 but it is not going to be installed
                   Depends: owncloud-client-l10n but it is not going to be installed
                   Depends: ocqt5101-libqt5sql5-sqlite but it is not going to be installed
                   Depends: ocqt5101-qtsvg5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
schwim@schwim-vm-bl:~$ 

#8

This demonstrates your problem, but doesn’t help me to reproduce it. What needs to be done before?

Maybe just uninstall the old client, and start fresh?


#9

There was no older client installed. This is a fresh install attempt following the instructions linked above.

I don’t know what else to provide you. I’ve followed the instructions to the letter and shared the failed results.


#10

Hey,

i’m not sure but i think if you’re on Debian Jessie (8.0) maybe you need to use the repository below instead of the one for Debian Strech (9.0) you’re currently using.

http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_8.0/

#11

I wasn’t aware of that, because:


#12

You guys are right on the money. Desktop = 9, laptop = 8.

Oh, the shame. :wink:

Thanks so much for all the help and very sorry for the false flag!