Howto: Ubuntu One in Debian Wheezy

Share your own howto's etc. Not for support questions!

Howto: Ubuntu One in Debian Wheezy

Postby DrumScum » 2011-04-25 16:29

I have some Ubuntu machines set up to use Ubuntu One, and I thought it would be nice if I could have my Debian machines synced with my Ubuntu One account as well. So I looked around at packages.ubuntu.com to see which packages are needed, and if I could get them somehow to install in Debian. After some poking around I managed to track down the packages I needed from the Ubuntu 10.10 repositories to install Ubuntu One on Debian. It actually is a pretty straight-forward process, and anyone should be able to get Ubuntu one working on their Debian Wheezy machine (didn't test for Squeeze or Sid).

Disclaimer: I'm sure that this is not the only way (or even the best way) to make Ubuntu One work on Debian, but it worked for me.

Debian version is Wheezy.
Ubuntu packages are from the Ubuntu 10.10 repository.

On Debian, first install the ubuntu-sso-client package. It's right there in the Wheezy repository:

Code: Select all
# aptitude install ubuntu-sso-client


We're also going to install some dependencies up front:

Code: Select all
# aptitude install python-twisted-names python-protobuf python-configglue


Then download the following packages from the Ubuntu 10.10 repository. First create a directory for the packages:

Code: Select all
$ mkdir ~/ubuone
$ cd ~/ubuone


Then fetch the packages (change mirror to suit your needs):

python-apport:
Code: Select all
$ wget http://ftp.halifax.rwth-aachen.de/ubuntu//pool/main/a/apport/python-apport_1.14.1-0ubuntu8_all.deb


python-problem-report:
Code: Select all
$ wget http://ftp.halifax.rwth-aachen.de/ubuntu//pool/main/a/apport/python-problem-report_1.14.1-0ubuntu8_all.deb


python-ubuntuone-client:
Code: Select all
$ wget http://ftp.halifax.rwth-aachen.de/ubuntu//pool/main/u/ubuntuone-client/python-ubuntuone-client_1.4.4.1-0ubuntu1_all.deb


python-ubuntuone-storageprotocol:
Code: Select all
$ wget http://ftp.halifax.rwth-aachen.de/ubuntu//pool/main/u/ubuntuone-storage-protocol/python-ubuntuone-storageprotocol_1.4.0-0ubuntu1_all.deb


ubuntuone-client:
Code: Select all
$ wget http://ftp.halifax.rwth-aachen.de/ubuntu//pool/main/u/ubuntuone-client/ubuntuone-client_1.4.4.1-0ubuntu1_all.deb


After downloading the Ubuntu packages, you can install them with:

Code: Select all
# dpkg -i *.deb


At this point dpkg may complain about missing dependencies, depending on what you already have installed. Note down the missing dependencies and install them manually:

Code: Select all
# aptitude install <list_of_missing_dependencies>


With that done, we can actually start using Ubuntu One on our Debian machine.

First start the syncdaemon:

Code: Select all
$ u1sdtool --start


You are now ready to connect the syncdaemon with the following command:

Code: Select all
$ u1sdtool -c


This will pop up a graphical application, in which you can create an Ubuntu One account, or enter the details of your existing account. Do whatever is needed.

If you used an existing account, at this point whatever directory exists 'in the cloud' will already be syncing with its local counterpart. You can check this with the command:

Code: Select all
$ u1sdtool -s


This should return something like:

State: QUEUE_MANAGER
connection: With User With Network
description: processing queues
is_connected: True
is_error: False
is_online: True
queues: WORKING_ON_CONTENT


To see which file is currently being synced, enter:

Code: Select all
$ u1sdtool --current-transfers


To list the directories currently set-up for syncing with your Ubuntu One account:

Code: Select all
$ u1sdtool --list-folders


To add an (existing!) directory on your local machine to your Ubuntu One account:

Code: Select all
$ u1sdtool --create-folder=/path/to/dir


Warning: this will automatically 'subscribe' the directory for syncing with your Ubuntu One account.

To 'unsubscribe' a directory, simply enter:

Code: Select all
$ u1sdtool --unsubscribe-folder=<folder_id>


(the 'folder id' can be found with the "u1sdtool --list-folders" command)

For other stuff you can do with u1sdtool check out:

Code: Select all
$ u1sdtool --help


I hope some will find the information in this post useful :)
Last edited by DrumScum on 2011-04-25 20:43, edited 1 time in total.
Image
DrumScum
 
Posts: 76
Joined: 2008-01-06 00:32

Re: Howto: Ubuntu One in Debian Squeeze

Postby nomko » 2011-04-25 19:40

You did a great job!!
Again a proof that it is possible to use specific Ubuntu utilities under Debian!
- - - - - - - - - - - - - - - - - - - - - - - - -
http://sites.google.com/site/debianlinuxbesturingssysteem/
- - - - - - - - - - - - - - - - - - - - - - - - -
Do not send me private messages, they will be deleted without reading
User avatar
nomko
 
Posts: 431
Joined: 2010-12-10 07:01
Location: Den Haag, The Netherlands

Re: Howto: Ubuntu One in Debian Squeeze

Postby edbarx » 2011-04-25 19:54

nomko wrote:Again a proof that it is possible to use specific Ubuntu utilities under Debian!


Have you ever heard of people having a severe food poisoning, and yet, after a couple of weeks in an intensive therapy unit, are still alive? Does that mean, that one can eat anything without being careful?! :roll:

The same applies to Linux's distributions: some users mix distributions... they might break their installation and they have to keep both pieces!
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.
User avatar
edbarx
 
Posts: 5399
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E

Re: Howto: Ubuntu One in Debian Squeeze

Postby traveler » 2011-04-25 20:08

nomko wrote:You did a great job!!
Again a proof that it is possible to use specific Ubuntu utilities under Debian!

Image
I wish for a conjugal visit and world peace. (Don't want to seem selfish.)
User avatar
traveler
 
Posts: 942
Joined: 2010-06-09 22:07

Re: Howto: Ubuntu One in Debian Squeeze

Postby 4D696B65 » 2011-04-25 20:09

DrumScum wrote:Howto: Ubuntu One in Debian Squeeze

DrumScum wrote:snip... and anyone should be able to get Ubuntu one working on their Debian Wheezy machine (didn't test for Squeeze or Sid). snip...
:shock: Don't you think you should test you squeeze howto on squeeze?
User avatar
4D696B65
 
Posts: 2467
Joined: 2009-06-28 06:09

Re: Howto: Ubuntu One in Debian Squeeze

Postby DrumScum » 2011-04-25 20:42

4D696B65 wrote:
DrumScum wrote:Howto: Ubuntu One in Debian Squeeze

DrumScum wrote:snip... and anyone should be able to get Ubuntu one working on their Debian Wheezy machine (didn't test for Squeeze or Sid). snip...
:shock: Don't you think you should test you squeeze howto on squeeze?


Oh crap, that should've been Wheezy of course. Let's see if I can change the subject.

My apologies.

*edit: subject changed*
Last edited by DrumScum on 2011-04-25 20:44, edited 1 time in total.
Image
DrumScum
 
Posts: 76
Joined: 2008-01-06 00:32

Re: Howto: Ubuntu One in Debian Squeeze

Postby Mr James » 2011-04-25 20:44

nomko wrote:You did a great job!!
Again a proof that it is possible to use specific Ubuntu utilities under Debian!

Want to run Ubuntu specific utilities and services? Go use Ubuntu.
asus S551L laptop :: debian stable :: dwm
User avatar
Mr James
 
Posts: 1255
Joined: 2010-09-10 13:02

Re: Howto: Ubuntu One in Debian Squeeze

Postby 4D696B65 » 2011-04-25 20:55

Mr James wrote:
nomko wrote:You did a great job!!
Again a proof that it is possible to use specific Ubuntu utilities under Debian!

Want to run Ubuntu specific utilities and services? Go use Ubuntu.

I agree. An other problem I see here is that wheezy (testing) is a moving target and will continue to change for more than a year. Just because it works now doesn't mean that this wont bork your system after a few updates.
User avatar
4D696B65
 
Posts: 2467
Joined: 2009-06-28 06:09

Re: Howto: Ubuntu One in Debian Wheezy

Postby craigevil » 2011-04-25 21:03

Howto screw up your system in 10 easy steps!!!

Debian is NOT Ubuntu, Ubuntu is NOT Debian. Please do not install packages meant for one on the other , nor should you be telling others howto do so.
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5192
Joined: 2006-09-17 03:17
Location: Oz

Re: Howto: Ubuntu One in Debian Wheezy

Postby vbrummond » 2011-04-25 21:48

I can agree. It might work well but I think the best option would be to review the source and package it native for Debian.
Always on Debian Testing
vbrummond
 
Posts: 4468
Joined: 2010-03-02 01:42

Re: Howto: Ubuntu One in Debian Wheezy

Postby Mr James » 2011-04-25 22:44

vbrummond wrote:I can agree. It might work well but I think the best option would be to review the source and package it native for Debian.

Or go use Butnut - especially since it is a Butnut service and not just a Butnut package. One might feel more consistency using Butnut services on Butnut.

I counted 6 Butnuts for you to spell check.
asus S551L laptop :: debian stable :: dwm
User avatar
Mr James
 
Posts: 1255
Joined: 2010-09-10 13:02

Re: Howto: Ubuntu One in Debian Wheezy

Postby DrumScum » 2011-04-25 22:45

vbrummond wrote:I can agree. It might work well but I think the best option would be to review the source and package it native for Debian.


There's already a Debian ITP (intent to package) for the Ubuntu One client and related programs, but I wanted to have it now. And since it was fairly easy to do, I though I'd share my experience. I also don't think that installing a few (five, to be specific) Ubuntu-specific packages introduces a risk of breaking an entire Debian Wheezy install - at least not more than running the testing branch itself does. Debian package management is rock solid and can take an occasional beating without a problem ;) Initially I didn't know that the ubuntu-sso-client package already was in the Wheezy repository, so I just installed the Ubuntu 10.10 version. At my next update cycle the 'foreign' package simply got updated to the newer Wheezy package. Not an issue at all.
Image
DrumScum
 
Posts: 76
Joined: 2008-01-06 00:32

Re: Howto: Ubuntu One in Debian Wheezy

Postby vbrummond » 2011-04-26 01:06

Mr James wrote:
vbrummond wrote:I can agree. It might work well but I think the best option would be to review the source and package it native for Debian.

Or go use Butnut - especially since it is a Butnut service and not just a Butnut package. One might feel more consistency using Butnut services on Butnut.

I counted 6 Butnuts for you to spell check.


Lol.. I dont care how you spell it. =/ Can you please quit antagonizing me? I dont see Ubuntu/Fedora/etc users insulting Debian.

Mr James wrote:Want to run Ubuntu specific utilities and services? Go use Ubuntu.

You spelled it right! :D
Always on Debian Testing
vbrummond
 
Posts: 4468
Joined: 2010-03-02 01:42

Re: Howto: Ubuntu One in Debian Wheezy

Postby nomko » 2011-04-26 05:19

Get a life you guys. I might said it wrong, but don't start a flamewar here against Ubuntu!
- - - - - - - - - - - - - - - - - - - - - - - - -
http://sites.google.com/site/debianlinuxbesturingssysteem/
- - - - - - - - - - - - - - - - - - - - - - - - -
Do not send me private messages, they will be deleted without reading
User avatar
nomko
 
Posts: 431
Joined: 2010-12-10 07:01
Location: Den Haag, The Netherlands

Re: Howto: Ubuntu One in Debian Wheezy

Postby cynwulf » 2011-04-26 07:50

craigevil wrote:Howto screw up your system in 10 easy steps!!!

Debian is NOT Ubuntu, Ubuntu is NOT Debian. Please do not install packages meant for one on the other , nor should you be telling others howto do so.

+1

All that needs to be said IMO.

Though why anybody would want to install this crapware anyway is beyond me...
cynwulf
 
Posts: 2396
Joined: 2008-09-25 08:49

Next

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable