Run with 'sudo' in front.

On Monday, July 16, 2012 1:46:28 PM UTC-4, lyn2py wrote:
>
> Hi,
>
> I have browsed a few older threads on this but didn't manage to find an 
> answer. Hope I can get help here.
>
> I started an instance with Ubuntu image, per the instructions here:
> http://www.scribd.com/doc/26436821/Howto-deploy-Web2py-on-amazon-Ec2
>
> And got stuck at this command:
> ./setup-web2py-ubuntu.sh
>
> because "Permission Denied"... what should I do?
>
> Here is a snippet of the output:
>
>> installing useful packages
>>
>> ==========================
>>
>> E: Could not open lock file /var/lib/apt/lists/lock - open (13: 
>>> Permission denied)
>>
>> E: Unable to lock directory /var/lib/apt/lists/
>>
>> 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?
>>
>> 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?
>>
>> 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?
>>
>> 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?
>>
>>

Reply via email to