Results 1 to 4 of 4

Thread: [SOLVED] Permission Denied (I am getting a persecution complex ;))

  1. #1
    Join Date
    Sep 2005
    Location
    Melbourne, VIC, Australia
    Beans
    244
    Distro
    Ubuntu 12.04 Precise Pangolin

    [SOLVED] Permission Denied (I am getting a persecution complex ;))

    I am trying to install alien.
    This is what I get:
    bash: alien: command not found
    peter@Shop:~$ aptitude install alien
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Initializing package states... Done
    Building tag database... Done
    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?

    I seem to be forever running into this permission denied. I am the oly person on this computer and the one who installed it. Why am I not authorized????

  2. #2
    Join Date
    Feb 2008
    Location
    US
    Beans
    2,782
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Permission Denied (I am getting a persecution complex ;))

    you need to preceed the command with sudo.
    Code:
    sudo aptitude install alien
    Desktop: Q6600 OC: 343 x 9, 4 GB RAM, 8600 GTS Twinview (22",17"), 1.5 TB RAID 5
    Laptop: Lenovo T61 T7300 @ 2 GHz, 2GB RAM, Nvidia 140M Quadro, 160 GB harddrive
    Remember to mark posts as [SOLVED] when your problem is resolved

  3. #3
    Join Date
    Sep 2005
    Location
    Melbourne, VIC, Australia
    Beans
    244
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Permission Denied (I am getting a persecution complex ;))

    Thanks, I am now slightly less paranoid
    Qusetion:
    I Windoze I place all downloads in a directory called "Downloads" and I have subdirectories like "Programs" Internet" Utils"
    Where is the correct place to keep downloads on a Linux system? and how does aptitude or apt-get know where to find a downloaded driver or application?

  4. #4
    Join Date
    Mar 2007
    Location
    Here & Now
    Beans
    16,549
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: [SOLVED] Permission Denied (I am getting a persecution complex ;))


    Dr. Fernando Duran Dollenz
    Libertad 584
    6824871

Bookmarks

Posting Permissions

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