我可以通过Linux中的浏览器加载任何网页

发布于 2025-01-22 03:45:28 字数 274 浏览 2 评论 0原文

我无法在浏览器(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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

回眸一笑 2025-01-29 03:45:28

关于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 of apt running somewhere. You really don't want doing multiple operations on your system's packages at the same time so apt 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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文