使用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
安装其他软件时,如果出现上面问题,解决方法相同。
网友评论