Owncolud client on Debian squeeze


#1

I follow instructions on the web to install site and I get this error message.

apt-get install owncloud-files
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package owncloud-files
root@f~~~~:/home/aaron#

The machine is 386
Please help thanks
Aaron

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what happens instead

Steps to reproduce

Server configuration

Operating system:

Web server:

Database:

PHP version:

ownCloud version:

Storage backend (external storage):

Client configuration

Client version:

Operating system:

OS language:

Qt version used by client package (Linux only, see also Settings dialog):

Client package (From ownCloud or distro) (Linux only):

Installation path of client:

Logs

Please use Gist (https://gist.github.com/) or a similar code paster for longer
logs.

Template for output < 10 lines

  1. Client logfile: Output of owncloud --logwindow or owncloud --logfile log.txt
    (On Windows using cmd.exe, you might need to first cd into the ownCloud directory)
    (See also http://doc.owncloud.org/desktop/2.2/troubleshooting.html#client-logfile )

  2. Web server error log:

  3. Server logfile: ownCloud log (data/owncloud.log):


#2

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.

The better way is to install your LAMP server through your packages and then download and install the ownCloud server using the following instructions:
https://doc.owncloud.com/server/admin_manual/installation/manual_installation.html

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.

Cheers,
Erik


#3

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


#5

To install owncloud-client? Who told this?

According the docs:

apt-get install owncloud-client


#6

Ah, that explains it. I thought you wanted to install ownCloud server. Didn’t see this post is filed under desktop, sorry about that.

Yes, like alfredb said, you’ll have to install ‘owncloud-client’ for that.


#7

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.

What do I do?


#8

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


#9

Hi Erik
My understanding is that Debian squeeze is the latest version, and owncloud should work with the last two versions?
Thanks
Aaron


#10

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

Cheers,
Erik


#11

Erik
I am really sorry. I am running debian stretch.
Ooops
Aaron


#12

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):

wget -nv https://download.opensuse.org/repositories/isv:ownCloud:desktop/Debian_9.0/Release.key -O Release.key 
apt-key add - < Release.key 
echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_9.0/ /' > /etc/apt/sources.list.d/isv:ownCloud:desktop.list 
apt-get update 
apt-get install owncloud-client

Hope that helps, let me know should you have any further questions.
Cheers,
Erik


#13

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

#14

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.


#15

I have run apt-get update and added

deb http://ftp.uk.debian.owncloud.org/download/repositories/production/Debian_9.0

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.


#16

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?


#17

Hi Eric

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?

Sorry


#18

Hi Aaron,

can you quickly run the following command for me:

cat /etc/apt/sources.list.d/isv:ownCloud:desktop.list 

it should show the following line:

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.


#19

Thanks Eric
I have to be away from my computer for a few days. I will try again when I get back.
Cheers


#20

Hey,

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.