我可以通过Linux中的浏览器加载任何网页
我无法在浏览器(Mozilla和Chrome)中加载任何网页。 另外,我无法执行sudo apt Update
命令,因为我的文件/var/lib/apt/lists/lock
process> Process 917
锁定。
但是我的计算机有互联网,因为像电报这样的使者正在工作。
而且我可以执行命令ping -c5 8.8.8.8
,它可以很好地加载软件包。
有人可以帮我吗?
I can't load any webpage in browsers (mozilla and chrome).
Also i can't execute sudo apt update
command, because my file /var/lib/apt/lists/lock
locked by process 917
.
But my computer has internet, because messengers like telegram is working.
And i can execute command ping -c5 8.8.8.8
and it loads packages fine.
Can someone help me please?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
关于
apt
的问题,您可能有另一个apt
在某处运行的实例。您真的不想同时在系统软件包上进行多次操作,因此apt
自动设置锁定文件(/var/var/lib/apt/apt/lists/lists/lock
)为了避免这种情况。tl.dr。找到
apt
的另一个运行实例,并在适当的情况下杀死它。如果您找不到任何(有时可能发生),请删除/var/lib/apt/lists/lock
文件(请参阅 https://askubuntu.com/a/335801 )。Regarding the issue with
apt
, you likely have another instance ofapt
running somewhere. You really don't want doing multiple operations on your system's packages at the same time soapt
automatically sets a lock file (/var/lib/apt/lists/lock
) to avoid that.tl.dr. find the other running instance of
apt
and kill it if appropriate. If you cant find any (can happen sometimes), delete the/var/lib/apt/lists/lock
file yourself (please see https://askubuntu.com/a/335801).