sudo apt-get install libreoffice
E: Could not get lock /var/lib/dpkg/lock-frontend问题的解决方法
linux中使用apt-get安装软件包的时候报错:E: Could not get lock /var/lib/dpkg/lock-frontend
容器内使用sudo ,提示如下
bash: sudo: command not found
解决办法
apt-get update
apt-get install sudo