Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2014
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. sudo apt-get install python-dev -y
  2.  
  3. E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
  4. E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?`
  5.  
  6. dpkg -s "python-pip" >/dev/null 2>&1 && {
  7. echo "python-pip is installed."
  8. echo
  9. } || {
  10. echo "ERROR: python-pip is not installed."
  11. //you may install python-pip here if you wish
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement