Linux作业系统(Ubuntu) [英] Linux operating system ( Ubuntu)

查看:92
本文介绍了Linux作业系统(Ubuntu)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在终端上绑定了sudo apt-get install gparted命令,但它无法正常工作并显示此错误.可能是什么问题?

I am tying sudo apt-get install gparted command on terminal but it is not working properly and showing this error. What could be the problem?

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?

推荐答案

重新启动系统应该可以解决该问题.如果重启没有帮助,请尝试

Restarting the system should solve the problem. If the restarting doesn't help, try this link

您可以使用以下命令删除锁定文件:

You can delete the lock file with the following command:

sudo rm /var/lib/apt/lists/lock

您可能还需要删除缓存目录中的锁定文件

You may also need to delete the lock file in the cache directory

sudo rm /var/cache/apt/archives/lock

这篇关于Linux作业系统(Ubuntu)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆