当执行sudo apt install rpm时失败(apt-get也失败),输出如下报错信息: 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? 经查找,出现该问题的原因是:还有一个线程在使用
luo@luo-ThinkPad-W540:~$ luo@luo-ThinkPad-W540:~$ luo@luo-ThinkPad-W540:~$ luo@luo-ThinkPad-W540:~$ sudo apt install libreadline-devReading package lists... Error!E: Encountered a section with no Package: headerE: Problem with MergeList /var/lib/apt/
在Centos上有个账户A(非root),有sudo权限(权限比较大),想要用 cd 命令切换到 B账号的 /home/B 下的目录,结果没作用 [liuzz ~]$ sudo cd /home/xiejl/[liuzz ~]$12sudo cd 无法使用是因为 cd 是 bash 的内置命令.sudo 让A变成了root,然后 bash 再去查找 sudo 后面跟着的命令,然而找不到cd这个命令,所以也就无法执行成功了. –来源于这个回答 How to enter a directory wi
在UBUNTU采用163或是阿里云来更新源,最新的更新源地址可以在网上查阅, 阿里源 deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu