Howto: Ubuntu One in Debian Wheezy

Share your own howto's etc. Not for support questions!
Message
Author
DrumScum
Posts: 76
Joined: 2008-01-06 00:32

Howto: Ubuntu One in Debian Wheezy

#1 Post by DrumScum »

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

User avatar
nomko
Posts: 431
Joined: 2010-12-10 07:01
Location: Den Haag, The Netherlands

Re: Howto: Ubuntu One in Debian Squeeze

#2 Post by nomko »

You did a great job!!
Again a proof that it is possible to use specific Ubuntu utilities under Debian!
- - - - - - - - - - - - - - - - - - - - - - - - -
http://sites.google.com/site/debianlinu ... gssysteem/
- - - - - - - - - - - - - - - - - - - - - - - - -
Do not send me private messages, they will be deleted without reading

User avatar
edbarx
Posts: 5410
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E

Re: Howto: Ubuntu One in Debian Squeeze

#3 Post by edbarx »

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
traveler
Posts: 942
Joined: 2010-06-09 22:07

Re: Howto: Ubuntu One in Debian Squeeze

#4 Post by traveler »

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
4D696B65
Site admin
Site admin
Posts: 2688
Joined: 2009-06-28 06:09
Been thanked: 20 times

Re: Howto: Ubuntu One in Debian Squeeze

#5 Post by 4D696B65 »

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?

DrumScum
Posts: 76
Joined: 2008-01-06 00:32

Re: Howto: Ubuntu One in Debian Squeeze

#6 Post by DrumScum »

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

User avatar
Mr James
Posts: 1255
Joined: 2010-09-10 13:02

Re: Howto: Ubuntu One in Debian Squeeze

#7 Post by Mr James »

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
4D696B65
Site admin
Site admin
Posts: 2688
Joined: 2009-06-28 06:09
Been thanked: 20 times

Re: Howto: Ubuntu One in Debian Squeeze

#8 Post by 4D696B65 »

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
craigevil
Posts: 5324
Joined: 2006-09-17 03:17
Location: Oz
Has thanked: 8 times
Been thanked: 14 times

Re: Howto: Ubuntu One in Debian Wheezy

#9 Post by craigevil »

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.
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian sid Kernel: 5.10.63-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"

vbrummond
Posts: 4468
Joined: 2010-03-02 01:42

Re: Howto: Ubuntu One in Debian Wheezy

#10 Post by vbrummond »

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

User avatar
Mr James
Posts: 1255
Joined: 2010-09-10 13:02

Re: Howto: Ubuntu One in Debian Wheezy

#11 Post by Mr James »

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

DrumScum
Posts: 76
Joined: 2008-01-06 00:32

Re: Howto: Ubuntu One in Debian Wheezy

#12 Post by DrumScum »

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

vbrummond
Posts: 4468
Joined: 2010-03-02 01:42

Re: Howto: Ubuntu One in Debian Wheezy

#13 Post by vbrummond »

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

User avatar
nomko
Posts: 431
Joined: 2010-12-10 07:01
Location: Den Haag, The Netherlands

Re: Howto: Ubuntu One in Debian Wheezy

#14 Post by nomko »

Get a life you guys. I might said it wrong, but don't start a flamewar here against Ubuntu!
- - - - - - - - - - - - - - - - - - - - - - - - -
http://sites.google.com/site/debianlinu ... gssysteem/
- - - - - - - - - - - - - - - - - - - - - - - - -
Do not send me private messages, they will be deleted without reading

cynwulf
Posts: 2396
Joined: 2008-09-25 08:49

Re: Howto: Ubuntu One in Debian Wheezy

#15 Post by cynwulf »

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...

User avatar
Mr James
Posts: 1255
Joined: 2010-09-10 13:02

Re: Howto: Ubuntu One in Debian Wheezy

#16 Post by Mr James »

vbrummond wrote:Can you please quit antagonizing me?
I don't start fights but I do finish them. Consider it a response to your pm.
asus S551L laptop :: debian stable :: dwm

vbrummond
Posts: 4468
Joined: 2010-03-02 01:42

Re: Howto: Ubuntu One in Debian Wheezy

#17 Post by vbrummond »

Mr James wrote:
vbrummond wrote:Can you please quit antagonizing me?
I don't start fights but I do finish them. Consider it a response to your pm.
Ok. No rude reply on my end. "Fight" over. 8)
Always on Debian Testing

User avatar
Mr James
Posts: 1255
Joined: 2010-09-10 13:02

Re: Howto: Ubuntu One in Debian Wheezy

#18 Post by Mr James »

vbrummond wrote:
Mr James wrote:
vbrummond wrote:Can you please quit antagonizing me?
I don't start fights but I do finish them. Consider it a response to your pm.
Ok. No rude reply on my end. "Fight" over. 8)
Accepted. 8)
asus S551L laptop :: debian stable :: dwm

DrumScum
Posts: 76
Joined: 2008-01-06 00:32

Re: Howto: Ubuntu One in Debian Wheezy

#19 Post by DrumScum »

Mhh, I'm quite surprised by the negative reactions in here. I think U1 is a nice concept - a Free alternative to stuff like dropbox. Honestly, I don't see what's wrong with it.

About installing Ubuntu packages on Debian: these are just a few packages. They will not break your system. It's not like I'm suggesting to add an Ubuntu repository to /etc/apt/sources.list (which is a very bad idea). Installing these five Ubuntu packages is not different from installing third pty. debs such as davmail or frostwire, to name just a few.
Image

User avatar
nomko
Posts: 431
Joined: 2010-12-10 07:01
Location: Den Haag, The Netherlands

Re: Howto: Ubuntu One in Debian Wheezy

#20 Post by nomko »

DrumScum wrote:Mhh, I'm quite surprised by the negative reactions in here. I think U1 is a nice concept - a Free alternative to stuff like dropbox. Honestly, I don't see what's wrong with it.
That's typical here. I never saw a positive reaction here..... Like Debian is so awesome.....
About installing Ubuntu packages on Debian: these are just a few packages. They will not break your system. It's not like I'm suggesting to add an Ubuntu repository to /etc/apt/sources.list (which is a very bad idea). Installing these five Ubuntu packages is not different from installing third pty. debs such as davmail or frostwire, to name just a few.
You're rigth about that!
And again, thanks for the good work!!
- - - - - - - - - - - - - - - - - - - - - - - - -
http://sites.google.com/site/debianlinu ... gssysteem/
- - - - - - - - - - - - - - - - - - - - - - - - -
Do not send me private messages, they will be deleted without reading

Locked