Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

This is from Dropbox help page:

sudo apt-get remove dropbox; rm -rvf ~/.dropbox ~/.dropbox-dist
rm -rv ~/Dropbox
share|improve this answer
7  
Package 'dropbox' is not installed, so not removed – endolith May 1 '14 at 23:01

Try this command in a terminal:

sudo apt-get remove --purge nautilus-dropbox
share|improve this answer

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
share|improve this answer
4  
why would this work better than just running sudo apt-get purge nautilus-dropbox? – Alvar Sep 7 '14 at 16:28
    
because once the package is broken you can not use apt/dpkg for nothing other than fixing the package... in my case it still throw sudo apt-get remove --purge nautilus-dropbox – Nasz Njoka Sr. Mar 29 at 10:19

You can remove a package through apt-get:

sudo apt-get remove dropbox
share|improve this answer

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

share|improve this answer

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 file that were synced, you can run this command:

rm -rv ~/Dropbox
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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