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.

This question already has an answer here:

I am trying to install Unetbootin on Ubuntu but get the above error and this one:

E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

Can anybody tell me how to fix this so I can install Unetbootin successfully?

share|improve this question

marked as duplicate by Eliah Kagan, Eric Carvalho, Radu Rădeanu, Warren Hill, Jorge Castro Aug 21 at 12:51

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1  
Could you give us at least some basic info about what you are doing? For instance, did you type a command? If so, what command was it? Did you click on something? What version of ubuntu are you currently running? –  Nanne Jul 16 '13 at 5:33

1 Answer 1

E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)

E: Unable to lock the administration directory (/var/lib/dpkg/)

These lines says that you are not authorized to install a package. You need root privileges to do it.

So, you must to use sudo to give permission to install the package:

sudo apt-get install unetbootin
share|improve this answer

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