Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
Hi one and all, this is basina and i'm new to linux.
I've installed ubuntu9.04 in my laptop.While i'm installing java, below error is occuring.
Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
please tell me how to rectify this problem clearly.
The only times I have seen an error like that is when I have forgotten to issue the "sudo" command before the command I want to run; mainly the "apt-get install <package>" one.
It's not that I forgot to add the "sudo" before, it's that I wasn't instructed to. Regardless, that did the trick. Now I no longer receive that could not open lock file blah blah message.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.