当前位置: 代码迷 >> 综合 >> 站群系统
  详细解决方案

站群系统

热度:77   发布时间:2024-02-09 15:43:44.0

站群系统

相信ls命令每个人都用过,可是如果不小心在linux的命令行中输入sl会有什么效果呢 ?
当然可能是这个效果,那我们安装一下试试吧。

mgm@ubuntu:~$ sl
The program 'sl' is currently not installed. You can install it by typing:
sudo apt install sl

1
2
3
4
嗯? 提示错误

mgm@ubuntu:~$ sudo apt-get install sl
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?

1
2
3
4
这种情况是因为apt在运行,查看一下情况吧

mgm@ubuntu:~$ ps afx|grep apt
677 ?        Ss     0:00 /bin/sh /usr/lib/apt/apt.systemd.daily
2362 pts/0    S+     0:00                  \_ grep --color=auto apt
2118 ?        SNl    0:00 /usr/bin/python3 /usr/sbin/aptd

1
2
3
4
5
kill them

  相关解决方案