Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: chufchuf on April 11, 2013, 04:17:39 AM



Title: Permission denied am I root Ubuntu error
Post by: chufchuf on April 11, 2013, 04:17:39 AM
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?


Title: Re: Permission denied am I root Ubuntu error
Post by: Buffer Overflow on April 11, 2013, 04:30:45 AM
Type sudo before your statement eg. sudo apt-get install ........

This will temporarily give you root (admin) privileges.


Title: Re: Permission denied am I root Ubuntu error
Post by: tiktoc on April 11, 2013, 01:37:06 PM
Or there is another user using apt or an apt program already running.


Title: Re: Permission denied am I root Ubuntu error
Post by: centove on April 11, 2013, 03:48:41 PM
IF you are root, something else is running, Update Manager, Aptitude, dpkg.


Title: Re: Permission denied am I root Ubuntu error
Post by: lophie on April 12, 2013, 04:18:58 AM
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!