Bitcoin Forum
November 09, 2024, 02:21:08 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Permission denied am I root Ubuntu error  (Read 3427 times)
chufchuf (OP)
Full Member
***
Offline Offline

Activity: 205
Merit: 100


View Profile
April 11, 2013, 04: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?
Buffer Overflow
Legendary
*
Offline Offline

Activity: 1652
Merit: 1016



View Profile
April 11, 2013, 04:30:45 AM
 #2

Type sudo before your statement eg. sudo apt-get install ........

This will temporarily give you root (admin) privileges.

tiktoc
Full Member
***
Offline Offline

Activity: 176
Merit: 100


View Profile
April 11, 2013, 01:37:06 PM
 #3

Or there is another user using apt or an apt program already running.
centove
Full Member
***
Offline Offline

Activity: 194
Merit: 100


View Profile
April 11, 2013, 03:48:41 PM
 #4

IF you are root, something else is running, Update Manager, Aptitude, dpkg.

Give me Btc: 1BRkf5bwSVdGCyvu4SyYBiJjEjbNiAQoYd Mine on my node: http://ask.gxsnmp.org:9332/
lophie
Hero Member
*****
Offline Offline

Activity: 924
Merit: 1001

Unlimited Free Crypto


View Profile
April 12, 2013, 04: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!

Will take me a while to climb up again, But where is a will, there is a way...
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!