Find the answer to your Linux question:
Results 1 to 2 of 2
When I install a program from terminal it throws the following code Code: chance@CallahanMain:~$ apt-get install apatche2 E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied) E: ...
  1. #1
    Just Joined! weatherkid's Avatar
    Join Date
    Aug 2008
    Posts
    55

    Arrow Locked out of my terminal installer

    When I install a program from terminal it throws the following code

    Code:
    chance@CallahanMain:~$ apt-get install apatche2
    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?
    chance@CallahanMain:~$
    I am an adminisrator on this computer. System Info and a Pic of the terminal.
    Attached Images Attached Images

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    Try prefixing the command with sudo e.g.
    Code:
    sudo apt-get install apache2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...