-1

When ever I try to install "dh-modaliases", why i am getting this answer: "fahadhemu@hemu:~$ apt-get install dh-modaliases 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?" please help

fhemu
  • 13
  • 4

1 Answers1

1

You can't run apt-get without root privileges, try the same command with sudo:

sudo apt-get install dh-modaliases
animaletdesequia
  • 8,306
  • 4
  • 26
  • 43
  • 1
    ...Because you need to be root to use apt-get. in gnu-linux, when you perform action that will change important things in the sistem (like install programs), you must perform that action like a sistem amministrator (root), not as a normal user :) – feligiotti Oct 01 '14 at 19:32