Client: owncloud-client dependencies broken

Created on 8 Nov 2014  Â·  17Comments  Â·  Source: owncloud/client

Just did an apt-get update and apt-get upgrade today and spotted this (did not happen yesterday):

You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
 owncloud-client : Depends: libowncloudsync0 (= 1.6.4-0) but 1.7.0 is to be installed
 owncloud-client-l10n : Depends: owncloud-client (= 1.7.0) but 1.6.4-0 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

On Ubuntu 14.10 here, using the latest owncloud client. PPA is set to http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/xUbuntu_14.10/

Most helpful comment

I updated owncloud on three other machines and there the update works quite well. So I removed and installed the packages on the machine with the problem and this solves the problems:

sudo apt-get remove owncloud-client libowncloudsync0 owncloud-client-l10n
sudo apt-get install owncloud-client libowncloudsync0 owncloud-client-l10n

All 17 comments

Same here

2467

Thanks for linking. Looks like there is no solution nor bugfix out there yet ...

Same here

hmm, I am unable to reproduce this problem. But I fixed another problem with the packages (issue #2467) might be that this cures this problem as well...

No, the problem is still here

$ sudo apt-get update && sudo apt-get upgrade

You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies.
 owncloud-client : Depends: libowncloudsync0 (= 1.6.4-0) but 1.7.0 is installed
 owncloud-client-l10n : Depends: owncloud-client (= 1.7.0) but 1.6.4-0 is installed
E: Unmet dependencies. Try using -f.

Same issue here.

$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies.
 owncloud-client : Depends: libowncloudsync0 (= 1.6.4-0) but 1.7.0 is installed
 owncloud-client-l10n : Depends: owncloud-client (= 1.7.0) but 1.6.4-0 is installed
E: Unmet dependencies. Try using -f.
$ sudo apt-cache policy owncloud-client libowncloudsync0 owncloud-client-l10n
owncloud-client:
  Installed: 1.6.4-0
  Candidate: 1.7.0
  Version table:
     1.7.0 0
        500 http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/xUbuntu_14.04/  Packages
 *** 1.6.4-0 0
        100 /var/lib/dpkg/status
     1.5.0+dfsg-4ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/universe i386 Packages
libowncloudsync0:
  Installed: 1.7.0
  Candidate: 1.7.0
  Version table:
 *** 1.7.0 0
        500 http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/xUbuntu_14.04/  Packages
        100 /var/lib/dpkg/status
     1.5.0+dfsg-4ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/universe i386 Packages
owncloud-client-l10n:
  Installed: 1.7.0
  Candidate: 1.7.0
  Version table:
 *** 1.7.0 0
        500 http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/xUbuntu_14.04/  Packages
        100 /var/lib/dpkg/status
     1.5.0+dfsg-4ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/universe i386 Packages
$ cat /etc/lsb-release
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=17
DISTRIB_CODENAME=qiana
DISTRIB_DESCRIPTION="Linux Mint 17 Qiana"
$ uname -r
3.13.0-24-generic

does that interfere with the version coming from the main repo? @danimo, @DeepDiver1975 do you have an idea?

I updated owncloud on three other machines and there the update works quite well. So I removed and installed the packages on the machine with the problem and this solves the problems:

sudo apt-get remove owncloud-client libowncloudsync0 owncloud-client-l10n
sudo apt-get install owncloud-client libowncloudsync0 owncloud-client-l10n

Did what @brot did; remove then install, and it installed properly without any dependency issues.

I can confirm @brot . After reinstalling everything owncloud-client works again. apt-cache policy shows installed version 1.7.0 in all three packages

does that interfere with the version coming from the main repo?

yes - the packages have the same name but are delivered from different repos - this will always cause issues. This has been discussed many times in the past.

We can either tell people to properly prioritize repos (pinning) or we change the package names to prevent these missup.

Hi all,

I create a preferences file /etc/apt/preferences.d/owncloud with the following content (I am not sure if its syntactically correct. I kept aadding packages in the hope it would solve the problem but it doesn't/ The libneon27 and libqtkeychain should probably be removed.)

Package: ntopng-data* owncloud-client* libowncloudsync0* owncloud-client-l10n* libneon27* libqtkeychain0*
Pin: origin download.opensuse.org
Pin-Priority: 990

Result

The following packages have unmet dependencies:
libowncloudsync0 : Depends: libneon27 but it is not going to be installed
Depends: libqtkeychain0 (>= 0.3) but it is not going to be installed
ntopng : Depends: ntopng-data (= 1.1+dfsg2-2) but 1.2.2-8581 is to be installed
owncloud-client : Depends: libneon27 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

I still get dependency errors. Should I just use the old client that comes with Ubuntu 1.6? At least it will install. I am on Ubuntu 14.10.

I had the same problem here. I solved as @brot did:

sudo apt-get remove owncloud-client libowncloudsync0 owncloud-client-l10n
sudo apt-get install owncloud-client libowncloudsync0 owncloud-client-l10n

Thank you!

Just to let everyone know I fixed my problem by un-installing ntop.

Closing this. If there is more to solve, please create a new issue.

I updated owncloud on three other machines and there the update works quite well. So I removed and installed the packages on the machine with the problem and this solves the problems:

sudo apt-get remove owncloud-client libowncloudsync0 owncloud-client-l10n
sudo apt-get install owncloud-client libowncloudsync0 owncloud-client-l10n

Perfect!
To complete, install on Ubuntu 14.04 32-bit:

1- sudo apt-get remove owncloud-client libowncloudsync0 owncloud-client-l10n
2 - rm -r /var/lib/apt/lists
3- sudo wget -nv https://download.opensuse.org/repositories/isv:ownCloud:desktop:client-2.4.0/Ubuntu_14.04/Release.key -O "/etc/apt/trusted.gpg.d/isv:ownCloud:desktop:client-2.4.0.asc"
4- sudo apt update
5- sudo apt-get install owncloud-client libowncloudsync0 owncloud-client-l10n
Was this page helpful?
0 / 5 - 0 ratings