52

After booting up, a popup screen tells me Dropbox did not install correctly, but it is lurking somewhere. To install properly I first have to delete the incorrect install. How can I do that?

I'm using the latest version of Ubuntu.

tumsuden
  • 521
  • 1
  • 4
  • 3

7 Answers7

72

This is from Dropbox help page:

dropbox stop
dropbox status  # Should report "not running"
rm -rf ~/.dropbox-dist
rm -rf /var/lib/dropbox
rm -rf ~/.dropbox*
sudo apt-get remove nautilus-dropbox
sudo apt-get remove dropbox
rm /etc/apt/source.d/dropbox
Jordanka
  • 737
31

Try this command in a terminal:

sudo apt-get remove --purge nautilus-dropbox
jokerdino
  • 41,732
12

Based on this link you can follow this steps:

dropbox stop
dropbox status  # Should report "not running"

rm -rf ~/.dropbox-dist
rm -rf /var/lib/dropbox
rm -rf ~/.dropbox*
sudo apt-get remove nautilus-dropbox
sudo apt-get remove dropbox
rm /etc/apt/source.d/dropbox

And if you want to delete the files that were synced, you can run this command:

rm -rv ~/Dropbox
Zanna
  • 72,312
Lord ST
  • 229
4

You can remove a package through apt-get:

sudo apt-get remove dropbox
2

It works like this:

  1. sudo dpkg --configure -a
  2. Press Ctrl+C to before the download of Dropbox tries to do anything.
  3. Remove dropbox with sudo apt-get purge nautilus-dropbox
αғsнιη
  • 36,350
0

I had the same error, because my internet fails

I did this:

sudo rm -r /var/cache/apt/archives/lock

sudo rm -r /var/lib/dpkg/lock

Those were directories that were causing troubles

Then i just remove it:

sudo apt-get remove nautilus-dropbox

Pd.- After that I tried to install it again and it works perfectly

Alex C
  • 1
-1

I had the same issue and I ran all the above commands without any results. I was not able to uninstall no matter what so instead I ran with sudo apt install nautilus-dropbox and it installed all over again and at last I was able to launch and enter.