I read somewhere that Ubuntu One only runs on Ubuntu, which was a surprise (and I suppose it's just an official stance). What will it take for me to run it on Debian?

link|improve this question

50% accept rate
feedback

4 Answers

up vote 14 down vote accepted

Just for the record, you can run Ubuntu One anywhere you want, but we don't have the resources to test it and get it running smoothly everywhere.

Having said that, Ubuntu One is made up of several parts; the most problematic to get running in Debian is the syncdaemon, and I presume that is what you mean; tomboy, desktopcouch and funambol plugins shouldn't be an issue at all (at least, no issue specific to Debian :-) ).

@ajmitch is working on getting packages of syncdaemon ("ubuntuone-client") into Debian.

Meanwhile, you can get it running. The versions of some of the libraries are slightly off for squeeze, so some patching is needed for now. Here's what you can do for the most rudimentary version of "running", in squeeze (starting from a base install with the 'desktop' task installed):

sudo apt-get install bzr python-lazr.restfulclient python-oauth python-pyinotify python-protobuf gnome-common gobject-introspection xutils-dev libnautilus-extension-dev libgconf2-dev libebook1.2-dev gnome-settings-daemon-dev python-twisted-names python-libproxy python-distutils-extra python-setuptools
mkdir ~/u1; cd ~/u1
bzr branch lp:ubuntuone-client/stable-1-4 client
bzr branch lp:ubuntuone-storage-protocol/stable-1-4 protocol
bzr branch lp:ubuntu-sso-client/stable-1-0 sso
bzr branch lp:configglue
sed -i~ -e 's/Spinner()/Label("...")/; /spinner.start/D' sso/ubuntu_sso/gui.py
(cd protocol; python setup.py build)
(cd client; ./autogen.sh --with-protocol=../protocol --with-sso=../sso --prefix=/usr; make)
PYTHONPATH=sso sso/bin/ubuntu-sso-login &
PYTHONPATH=configglue:sso:client:protocol client/bin/ubuntuone-syncdaemon client/data/syncdaemon.conf --debug
PYTHONPATH=sso:client client/bin/u1sdtool -c

while the above gets the syncdaemon online and syncing (assuming you're using Network Manager), it doesn't include dbus activation and nautilus integration, which help. If you want those, you could try

(cd sso && sudo python setup.py install --prefix=/usr)
(cd configglue && sudo python setup.py install --prefix=/usr)
(cd protocol && sudo python setup.py install --prefix=/usr)
(cd client && sudo make install)
sudo mkdir /etc/xdg/ubuntuone; sudo cp client/data/syncdaemon.conf /etc/xdg/ubuntuone

this should make the whole stack work. If you get import errors, check that things got installed in dist-packages and not site-packages (if they're in the latter, move them over :-) )

See? One-click install.

link|improve this answer
1  
@Tshepang, the parenthesis is so as not to cd back (it does the cd in a subshell) – Chipaca Nov 5 '10 at 17:17
python-xdg was installed by installing the desktop task, for me (I tried all the above in a pristine install of squeeze with nothing but the desktop task installed) – Chipaca Nov 5 '10 at 17:17
1  
python-ubuntuone-storageprotocol is one of the things you download with bzr (and optionally install in the third line of the second block of code) – Chipaca Nov 5 '10 at 17:18
the whole second block of code should be done by root for it to work – Chipaca Nov 5 '10 at 17:19
1  
My intent wasn't for the commands to work in any scenario. Certainly if they have no X, or no NetworkManager, or if they try it as root, the above will fail in several different, interesting ways. Sorry if it came across that way. – Chipaca Nov 5 '10 at 17:22
show 11 more comments
feedback

You'd need ubuntuone-client and ubuntu-sso-client (single sign on) and all their various dependencies. It's mostly python so there shouldn't be any binary compatibility issues from just dragging the packages over.

But you can start tracking down the dependencies here: http://packages.ubuntu.com/maverick/ubuntuone-client

link|improve this answer
why not advice to add Ubuntu repos? – Tshepang Oct 29 '10 at 19:04
1  
Unless you found a PPA that just had the required stuff, you could end up with it replacing (read: upgrading) a whole load of packages to a point where things became very unstable. It's much safer to only pull in what you need. – Oli Oct 29 '10 at 20:48
1  
@Oli, In that case, maybe you should advice to run apt-get install --no-install-recommends ubuntuone-client? – Tshepang Oct 29 '10 at 21:10
3  
@Tshepang You're not getting it. As soon as you add the maverick repository to a debian install, it would try to upgrade all packages to the latest version. If any of the packages in the Maverick repo were newer than those in the Debian repo(s) used on that system, it would want you to upgrade to them. If those packages contained (as they probably do) any debian-incompatible patches, it would nuke the debian system. It's infinitely safer to just download the required debs through packages.ubuntu.com (or even just the source) and install manually. – Oli Oct 30 '10 at 9:18
1  
Actually you could safely add the Ubuntu repositories and use apt pinning to avoid (or reduce) the problem of them trying up upgrade unwanted packages. – poolie Nov 10 '10 at 20:44
show 1 more comment
feedback

It is certainly possible, but there are no packages in Debian yet. There is an ITP bug though, which means the person filing that bug is working on or going to work on packaging it (ITP = Intent To Package).

link|improve this answer
2  
The packages have been created & are ready for upload, but with Debian efforts focused towards releasing Squeeze, new packages aren't being looked at often. Once they are, the Ubuntu One packages will be uploaded to experimental. – ajmitch Nov 3 '10 at 0:07
@ajmitch, Are you sure they are really ready? In such case, they tend to be uploaded to Debian Experimental. – Tshepang Nov 10 '10 at 7:34
Which is where I said I'd upload them. – ajmitch Nov 10 '10 at 19:17
feedback

I recently migrated from Ubuntu to Debian and had the same problem. I have it running now and have written a detailed blog entry on how to run Ubuntu One on debian.

The link is here: http://blog.pinguinplanet.de/2012/05/ubuntu-one-on-debian-wheezy.html

link|improve this answer
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – fossfreedom May 14 at 10:07
feedback

Your Answer

 
or
required, but never shown

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