0

I'm running a brand new Linux Mint Rosa (17.3 Cinnamont 64-bit), and I'm having way too many problems to install the owncloud client on it:

Given that the package on the mint repo seems to be outdated, I followed the owncloud page instructions:

sudo sh -c "echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_16.04/ /' >> /etc/apt/sources.list.d/owncloud-client.list"
sudo apt-get update
sudo apt-get install owncloud-client

Adding the repository key:

wget http://download.opensuse.org/repositories/isv:ownCloud:desktop/Ubuntu_16.04/Release.key
sudo apt-key add - < Release.key  

Maybe I did something wrong, because this is what happens when trying to install the client:

sudo apt-get install owncloud-client
[sudo] password for lalala: 
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.2.0-2) but it is not going to be installed
                   Depends: libstdc++6 (>= 5.2) but 4.8.4-2ubuntu1~14.04.3 is to be installed
                   Depends: owncloud-client-l10n but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Going around the net, I found sudo apt-get install -f:

sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

And trying to move further with the unmet dependencies led me to this:

sudo apt-get install libowncloudsync0
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:
 libowncloudsync0 : Depends: libstdc++6 (>= 5.2) but 4.8.4-2ubuntu1~14.04.3 is to be installed
E: Unable to correct problems, you have held broken packages.

And this:

sudo apt-get install libstdc++6
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libstdc++6 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded

Trying to remove potentially bad installed packages, leads me to this:

sudo apt-get remove libstdc++6
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:
 libgbm1 : Depends: libgl1-mesa-dri
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Obviously, trying to remove owncloud-client leads me to this:

sudo apt-get remove owncloud-client
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'owncloud-client' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

So... I have no clue where to go from here. Downloading and double-clicking on the .deb package installer leads me to the same error, and I've tried some apt-get commands more to no avail. Any idea?

0

I had the same exact issue as you. I ran all the same commands and still no joy. I found this thread which said to "remove the official repos". So for me, my fix was to delete owncloud from my sources list and then try to re-install it again.

I'm running Kali linx (which is based of Debian like Mint I believe).

  1. Run apt-cache policy to see if this applies to you

    apt-cache policy
    

    And this should produce output that contains this line (there will be other lines, but this is the only one we care about)

    500 http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_8.0  Packages
     release o=obs://build.opensuse.org/isv:ownCloud:desktop/Debian_8.0,n=Debian_8.0,l=isv:ownCloud:desktop,c=
     origin download.opensuse.org
    
  2. Delete owncloud from your sources list

    rm /etc/apt/sources.list.d/owncloud-client.list
    

    (We are reversing the first step from the official install guide.)

  3. Run apt-cache again to verify that the delete was successful.

    apt-cache policy
    
  4. Now install owncloud

    apt-get install owncloud-client
    

YMMV but hopefully this helps you out! I'm a Linux neophyte so I don't know if I'll be able to help troubleshoot anything deeper.

  • I followed the thread, but my problem is that the client on the Ubuntu repos is outdated. I'm reading around to see if I can see some kind of workaround (Also, it seems the poster was asking for help on a raspberry pi, Linux Mint, iirc, comes from UbuntU). – Neuromante May 22 '16 at 11:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.