在安装了ROS过后,再使用apt工具安装其他打ROS程序的时候出现
E: 无法获得锁 /var/lib/dpkg/lock-frontend - open (11: 资源暂时不可用)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
这个通常是由于输入的命令和Ubuntu版本对应不上
Ubuntu 14.04对应Indigo,应该使用
sudo apt-get install ros-indigo-openni-camera
Ubuntu16.04对应Kinetic,应使用
sudo apt-get install ros-kinetic-openni-camera
总结:由于使用了不对应的工具的命令导致