美文网首页
apt-get install失败

apt-get install失败

作者: 小田BSP | 来源:发表于2021-03-16 23:51 被阅读0次

使用apt-get install安装meson失败,提示如下:

root@ubuntu:/home/run/code/drm# apt-get install meson
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?

解决方法:

root@ubuntu:/home/run/code/drm# rm /var/lib/dpkg/lock-frontend
root@ubuntu:/home/run/code/drm# rm /var/lib/dpkg/lock

重新安装meson

root@ubuntu:/home/run/code/drm# apt-get install meson
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  ninja-build
The following NEW packages will be installed:
  meson ninja-build
0 upgraded, 2 newly installed, 0 to remove and 559 not upgraded.
Need to get 309 kB of archives.
After this operation, 1,651 kB of additional disk space will be used.

注:apt-get install安装其他软件时,如果出现上面问题,解决方法相同。

相关文章

网友评论

      本文标题:apt-get install失败

      本文链接:https://www.haomeiwen.com/subject/joajcltx.html