ok I tried that didn't work it said it was locked by another process how do I open the lock file manually? is there a command or do I just go to file and open?
it
http://ubuntu-mirror.cs.colorado.edu intrepid-updates/restricted Sources
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
E: Couldn't rebuild package cache
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
jaoak1978@ubuntu:~$ sudo lsof | grep "dpkg\/lock"
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jaoak1978/.gvfs
Output information may be incomplete.
dpkg 7168 root 3uW REG 7,0 0 212103 /var/lib/dpkg/lock
jaoak1978@ubuntu:~$ sudo kill <PID>
-bash: syntax error near unexpected token `newline'
jaoak1978@ubuntu:~$ sudo rm /usr/lib/dpkg/lock
rm: cannot remove `/usr/lib/dpkg/lock': No such file or directory
jaoak1978@ubuntu:~$ sudo dpkg --configure -a
dpkg: status database area is locked by another process
jaoak1978@ubuntu this is the outcome