Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am having a problem installing Dropbox in Ubuntu 12.04

Files in subdirectories of /var are locked preventing the completion of installation
share|improve this question
1  
a little details will help us to help you. what you did, what is error.. :) –  Web-E Jun 24 '12 at 10:59
    
How are you installing Dropbox? –  Mitch Jun 24 '12 at 11:06
    
nehoffman I have attempted to install via Software Center and with .deb file with gdebi ---- in both cases it just hangs -- an attempt to install in terminal showed errors - locks on files in the sub directories of /var/lib –  nehoffman Jun 24 '12 at 11:28
add comment

2 Answers

There could be one of two issues with this.

1) You may not be running the installer as root.

2) You may have another package manager or installer running, or a broken APT.

If you do have a broken APT and you are sure you have exhausted any other option, try removing the lock and doing a reconfigure by doing:

sudo rm /var/lib/apt/lock
sudo dpkg-reconfigure -a

This should remove the lock and reconfigure dpkg, so you should be able to install again. be careful not to shut down your PC while installing something via APT again.

share|improve this answer
add comment

Install and run synaptic package tool:

sudo apt-get install synaptic
sudo synaptic

Find via filters drop

share|improve this answer
add comment

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.