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
Asked
Active
Viewed 295 times
1 Answers
1
You can't run apt-get without root privileges, try the same command with sudo:
sudo apt-get install dh-modaliases

animaletdesequia
- 8,354
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