checking apt-get update lock file

Posted by stewy613 on Ask Ubuntu See other posts from Ask Ubuntu or by stewy613
Published on 2012-11-05T06:14:54Z Indexed on 2012/11/05 11:25 UTC
Read the original article Hit count: 569

Filed under:

I have in stalled a dual boot beside windows and now I'm having a problem checking "apt-get update" when I type in apt-get update this is the outcome. I don't know what to do

anthony@anthony-Inspiron-530s:~$ ls  
Desktop    Downloads         examples.desktop~  Pictures  Templates  
Documents  examples.desktop  Music              Public    Videos  
anthony@anthony-Inspiron-530s:~$ apt-get update  
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?  
anthony@anthony-Inspiron-530s:~$ apt-get upgrade  
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?  
anthony@anthony-Inspiron-530s:~$ cd apt-get update  
bash: cd: apt-get: No such file or directory  
anthony@anthony-Inspiron-530s:~$   

© Ask Ubuntu or respective owner

Related posts about apt