Thursday, 28 August 2014

How-to: Remove UbuntuOne


Canonical's valiant cloud storage service has now gone to that great silicon graveyard in the sky: but on my Ubuntu 14.04, the UbuntuOne application still waits forlornly for the sync' message that will never come...

Time to remove the UbuntuOne application from my desktop.

The most important step, right click on the icon and turn it off first!

Secondly, I want to make sure there are no running sync daemons, login's, preferences and nothing left cached on disk, so that I can perform a clean removal.

The old-fashioned way may be the cleanest. Open a terminal (CTRL+ALT+T) and enter:

sudo killall ubuntuone-login ubuntuone-preferences ubuntuone-syncdaemon


If everything is turned off, you should get:

ubuntuone-login: no process found
ubuntuone-preferences: no process found
ubuntuone-syncdaemon: no process found


Next, remove settings and cache (you will need admin privileges for this as well):

sudo rm -rf ~/.local/share/ubuntuone
rm -rf ~/.cache/ubuntuone
rm -rf ~/.config/ubuntuone
mv ~/Ubuntu\ One/ ~/UbuntuOne_old/``


Then you might as well remove the software itself:

sudo apt-get remove --purge ubuntuone-*

This will identify all the UbuntuOne packages and their dependencies. And there's a lot, including all the integration plugins for the UbuntuOne Music Store, Rhythmbox and the like:
 

Reading package lists... Done
Building dependency tree      
Reading state information... Done
Note, selecting 'python-ubuntuone-devtools' for regex 'ubuntuone-*'
Note, selecting 'ubuntuone-credentials-common' for regex 'ubuntuone-*'
Note, selecting 'rhythmbox-ubuntuone' for regex 'ubuntuone-*'
Note, selecting 'ubuntuone-control-panel-gui' for regex 'ubuntuone-*'
Note, selecting 'rhythmbox-ubuntuone-music-store' for regex 'ubuntuone-*'
Note, selecting 'deja-dup-backend-ubuntuone' for regex 'ubuntuone-*'
Note, selecting 'python2.7-ubuntuone-client' for regex 'ubuntuone-*'
Note, selecting 'ubuntuone-credentials-autopilot' for regex 'ubuntuone-*'
Note, selecting 'python2.7-ubuntuone-storageprotocol' for regex 'ubuntuone-*'
Note, selecting 'qtdeclarative5-ubuntuone-credentials-plugin' for regex 'ubuntuone-*'
Note, selecting 'signon-plugin-ubuntuone' for regex 'ubuntuone-*'
Note, selecting 'ubuntuone-client-gnome' for regex 'ubuntuone-*'
Note, selecting 'account-plugin-ubuntuone' for regex 'ubuntuone-*'
Note, selecting 'libubuntuoneauth-2.0-dev' for regex 'ubuntuone-*'
Note, selecting 'libubuntuoneauth-2.0-0' for regex 'ubuntuone-*'
Note, selecting 'qtdeclarative5-ubuntuone1.0' for regex 'ubuntuone-*'
Note, selecting 'ubuntuone-control-panel' for regex 'ubuntuone-*'
Note, selecting 'ubuntuone-dev-tools' for regex 'ubuntuone-*'
Note, selecting 'ubuntuone-client' for regex 'ubuntuone-*'
Note, selecting 'nautilus-ubuntuone' for regex 'ubuntuone-*'
Note, selecting 'python-ubuntuone-storageprotocol' for regex 'ubuntuone-*'
Note, selecting 'ubuntuone-client-proxy' for regex 'ubuntuone-*'
Note, selecting 'ubuntuone-client-data' for regex 'ubuntuone-*'
Note, selecting 'ubuntuone-oauth-login' for regex 'ubuntuone-*'
Note, selecting 'ubuntuone-storagefs' for regex 'ubuntuone-*'
Note, selecting 'ubuntuone-storage-protocol' for regex 'ubuntuone-*'
Note, selecting 'python-ubuntuone-control-panel' for regex 'ubuntuone-*'
Note, selecting 'python-ubuntuone-client' for regex 'ubuntuone-*'
Note, selecting 'ubuntuone-installer' for regex 'ubuntuone-*'
Package 'ubuntuone-installer' is not installed, so not removed
Package 'qtdeclarative5-ubuntuone-credentials-plugin' is not installed, so not removed
Package 'rhythmbox-ubuntuone-music-store' is not installed, so not removed
Note, selecting 'python-ubuntuone-client' instead of 'python2.7-ubuntuone-client'
Package 'ubuntuone-client-proxy' is not installed, so not removed
Package 'nautilus-ubuntuone' is not installed, so not removed
Package 'ubuntuone-client-gnome' is not installed, so not removed
Package 'ubuntuone-oauth-login' is not installed, so not removed
Package 'ubuntuone-storagefs' is not installed, so not removed
Package 'ubuntuone-control-panel-gui' is not installed, so not removed
Package 'ubuntuone-storage-protocol' is not installed, so not removed
Note, selecting 'python-ubuntuone-storageprotocol' instead of 'python2.7-ubuntuone-storageprotocol'
Package 'python-ubuntuone-devtools' is not installed, so not removed
Package 'ubuntuone-dev-tools' is not installed, so not removed
Package 'account-plugin-ubuntuone' is not installed, so not removed
Package 'libubuntuoneauth-2.0-0' is not installed, so not removed
Package 'libubuntuoneauth-2.0-dev' is not installed, so not removed
Package 'qtdeclarative5-ubuntuone1.0' is not installed, so not removed
Package 'signon-plugin-ubuntuone' is not installed, so not removed
Package 'ubuntuone-credentials-autopilot' is not installed, so not removed
Package 'ubuntuone-credentials-common' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  linux-headers-3.13.0-19 linux-headers-3.13.0-19-generic
  linux-image-3.13.0-19-generic linux-image-extra-3.13.0-19-generic
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED
  deja-dup-backend-ubuntuone* python-ubuntuone-client*
  python-ubuntuone-control-panel* python-ubuntuone-storageprotocol*
  rhythmbox-ubuntuone* ubuntu-desktop* ubuntu-sso-client-qt* ubuntuone-client*
  ubuntuone-client-data* ubuntuone-control-panel*
0 to upgrade, 0 to newly install, 10 to remove and 6 not to upgrade.
After this operation, 6,116 kB disk space will be freed.
Do you want to continue? [Y/n]


Note the last part; only the last ten (in my case) are removed at the next stage. You can keep the long list of dependencies or leave them in place. Say yes and the operation continues:

(Reading database ... 254068 files and directories currently installed.)
Removing deja-dup-backend-ubuntuone (29.5-0ubuntu2) ...
Removing ubuntuone-control-panel (13.09-0ubuntu2) ...
Removing python-ubuntuone-control-panel (13.09-0ubuntu2) ...
Removing ubuntuone-client (13.10-0ubuntu2) ...
Purging configuration files for ubuntuone-client (13.10-0ubuntu2) ...
Removing python-ubuntuone-client (13.10-0ubuntu2) ...
Purging configuration files for python-ubuntuone-client (13.10-0ubuntu2) ...
Removing python-ubuntuone-storageprotocol (13.10-0ubuntu3) ...
Removing rhythmbox-ubuntuone (13.10-0ubuntu2) ...
dpkg: warning: while removing rhythmbox-ubuntuone, directory '/usr/lib/python2.7/dist-packages/ubuntuone/tests' not empty so not removed
Removing ubuntu-desktop (1.325) ...
Removing ubuntu-sso-client-qt (13.10-0ubuntu6) ...
Removing ubuntuone-client-data (13.05-0ubuntu1) ...
Purging configuration files for ubuntuone-client-data (13.05-0ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...


A restart is advisable at this stage. Goodbye UbuntuOne. After a painfully flaky start, it was a great service. RC

Original source: Ubuntu One website - the support pages used to be there but no longer exist, so no point my giving the URL.

1 comment:

At least try to be nice, it won't kill you...