- E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
- sudo -i
- ps -e | grep -e apt -e adept | grep -v grep
- sudo kill (number process)
- sudo kill 11158
- sudo kill 11234
- sudo rm /var/lib/dpkg/lock
- dpkg --configure -a
- Remove Apps
- Using aptitude:
- sudo aptitude
- Press "/" for search app want to remove:
- Choose it and press "-"
- Press "g" and Enter for remove process:
- Using command line:
- sudo aptitude remove your-app-name
- sudo apt-get --purge remove your-app-name
- sudo dpkg --remove --force-remove-reinstreq your-app-name
- sudo dpkg -r full-path-your-app-deb-file
- ./shell.sh: 11: [: unexpected operator
- Change #!/bin/sh to #!/bin/bash in shell file
- Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
- ps -e | grep -e apt -e adept | grep -v grep
- sudo kill (number process)
Saturday, 20 August 2011
Ubuntu - Tricks
Hi
Good luck!
Labels:
Ubuntu
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment