今天进入Ubuntu莫名出现这种情况,ubuntu版本16.04
报错:
AppStream cache update completed, but some metadata was ignored due to errors.
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?
于是重启Ubuntu,但是重启之后还是出现相同问题,于是根据其提示的问题来寻找缘由,
rm /var/lib/dpkg/lock
删除该文件后问题得以解决。
分享之。