Hi Aaron,
I would strongly recommend against installing ownCloud using the package ‘owncloud-files’, as, if it isn’t properly configured, you could accidentally upgrade your ownCloud instance and cause downtime.
I will have a look whether the documentation page about the ‘owncloud-files’ package can be removed, as I don’t seem to be able to use it in any recent version of Ubuntu or Debian.
Let me know should you have any further questions.
Hi Erik
Thanks for your reply
I only want to install the desktop client but after adding the key and the repository to the sources list I get the above errors.
I tried to install the client from debian squeeze but when I try to log into my owncloud server it says the client version is incompatible.
Best
Aaron
So this is what I get trying to install ownclowd-client:
root@###:/home/###n# 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: owncloud-client-l10n but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Hi Aaron,
I just realized you’re on Debian Squeeze which has been EoL since more than 3 years.
Just for fun I’ve tried getting the owncloud-client installed in a Debian Squeeze docker container, but there are so many unmet dependencies, I don’t think it is feasible. Especially not a recent version of the Desktop client. You might have more luck finding an older version of the client, however I don’t really know where you would be able to find that.
I would strongly recommend to upgrade/migrate to a more up to date Linux distribution. Also to be able to get security updates.
Sorry I can’t do more here.
Cheers,
Erik
Hi Aaron,
According to the link I sent earlier, Debian Squeeze is Version 6.0.
Can you perhaps paste the output of
cat /etc/debian_version
This should show us which version you are running.
To fix apt-get and the unmet dependencies, you should be able to run as root
apt-get -f install
No worries at all. Did you by any chance use the download method ‘Grab binary packages directly’?
If yes, make sure to run the following before running any further commands in order to remove the broken installation:
apt-get -f install
In a debian stretch docker container I was able to install ‘owncloud-client’ version ‘2.2.4+dfsg-2’ with only the standard repositories enabled (/etc/apt/sources.list):
deb http://deb.debian.org/debian stretch main
deb http://security.debian.org/debian-security stretch/updates main
deb http://deb.debian.org/debian stretch-updates main
So you should be able to just run as root
apt-get install owncloud-client
If you need a more up to date desktop client (version 2.5.4.11654+oc-515) run the following commands (also as root):
Hi Eric
I Have just done ‘apt-get -f install’ and a number of packages were removed
This is my sources list:
deb http://ftp.uk.debian.org/debian/ stretch main
deb-src http://ftp.uk.debian.org/debian/ stretch main
deb http://security.debian.org/debian-security stretch/updates main
deb-src http://security.debian.org/debian-security stretch/updates main
# stretch-updates, previously known as 'volatile'
deb http://ftp.uk.debian.org/debian/ stretch-updates main
deb-src http://ftp.uk.debian.org/debian/ stretch-updates main
When I do 'apt-get install owncloud-client' I get this error message:
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: owncloud-client-l10n but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Any thoughts?
Aaron
Have you run an ‘apt-get update’ before?
You can either try to manually install the dependency ‘owncloud-client-l10n’ or alternatively add the additional package source like I said in the post before.
And stll get this:
aaron@foam:~$ 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: owncloud-client-l10n but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Hi Aaron,
Not sure where you get this debian repository from, if I try to access it through the browser, I don’t seem to be able to access it. Have you tried adding running the commands I showed two posts ago?
I have just run through all those commands again and I get the same result:
The following packages have unmet dependencies:
owncloud-client : Depends: owncloud-client-l10n but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
What is the repository I should have and can I enter it into synaptic?
deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_9.0/ /
If not you should also be able to just use an editor and correct it. You should also be able to use graphical tools for that but I’m not familiar with them.
I just realized that when I quoted the commands from this comment it mangled some of the >< symbols. I’ve edited my post now, so it should be good to try again.
Perhaps next time you try this copy paste the whole terminal output into a pastebin, hopefully I’ll be able to see what’s wrong.
a general hint which was always helpful to me if i’m having such issues with packages / repositories is to use the following command:
apt-cache policy owncloud-client
This shows the info where your package manager is trying to pull the package from and can give valuable information if your package setup is incorrect.