mrt*_*mgs 2 linux ubuntu apt-get apt ubuntu-16.04
我在运行时遇到问题sudo apt-get update
。我总是收到这个错误:
Err:1 https://deb.packager.io/gh/opf/openproject-ce xenial InRelease
Could not resolve host: deb.packager.io
Hit:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:5 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial InRelease
Hit:6 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:7 https://download.docker.com/linux/ubuntu xenial InRelease
Reading package lists... Done
W: Failed to fetch https://deb.packager.io/gh/opf/openproject-ce/dists/xenial/InRelease Could not resolve host: deb.packager.io
W: Some index files failed to download. They have been ignored, or old ones used instead.
Run Code Online (Sandbox Code Playgroud)
我不明白为什么 apt 试图openproject
在更新时获取包。我删除了整个包并运行了,sudo apt-get purge openproject
但我仍然遇到相同的错误。
知道如何解决这个问题吗?
命令apt-get update
不会更新系统,而只是更新可用软件包的列表。所以它不是试图获取包,而是从该 URL 中获取包的列表。您需要检查 file/etc/apt/sources.list
以及目录/etc/apt/sources.list.d/
中包含 URL 的行的文件deb.packager.io
并将它们注释掉。文档中的更多详细信息。
一旦apt-get update
更新包的列表,你可与升级系统apt-get upgrade
或apt-get dist-upgrade
。在 AskUbuntu 上对这个问题的回答中解释了差异。
归档时间: |
|
查看次数: |
13913 次 |
最近记录: |