Author

Topic: Permission denied am I root Ubuntu error (Read 3422 times)

hero member
Activity: 924
Merit: 1001
Unlimited Free Crypto
April 12, 2013, 12:18:58 AM
#5
Happens all the time after first installation's first run. If you are sure you used sudo or logged in as root. Just restart. Plain and simple!
full member
Activity: 194
Merit: 100
April 11, 2013, 11:48:41 AM
#4
IF you are root, something else is running, Update Manager, Aptitude, dpkg.
full member
Activity: 176
Merit: 100
April 11, 2013, 09:37:06 AM
#3
Or there is another user using apt or an apt program already running.
legendary
Activity: 1652
Merit: 1016
April 11, 2013, 12:30:45 AM
#2
Type sudo before your statement eg. sudo apt-get install ........

This will temporarily give you root (admin) privileges.
full member
Activity: 205
Merit: 100
April 11, 2013, 12:17:39 AM
#1
https://github.com/bitcoin/bitcoin/blob/master/doc/readme-qt.rst

Both assuming that the '\' are and aren't actual enter for new line; When writing:

apt-get install qt4-qmake libqt4-dev build-essential libboost-dev libboost-system-dev \
    libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev \
    libssl-dev libdb++-dev libminiupnpc-dev

in an Ubuntu, I get

E: Could not open lock file /var/lib/dpkg&lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg), are you root?

Anyone know what this means?
Jump to: