无法在apt-get更新时获取错误

MRTNMGS

我在跑步时遇到问题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.

我不明白为什么apt试图openproject在更新时获取软件包我删除了整个程序包,也运行了,sudo apt-get purge openproject但是仍然遇到相同的错误。

任何想法如何解决这个问题?

康拉德·波托(Konrad Botor)

Commandapt-get update不会更新系统,而只会更新可用软件包的列表。因此,它不是尝试获取软件包,而是从该URL获取软件包列表。您需要检查file/etc/apt/sources.list和目录中的文件以查找/etc/apt/sources.list.d/包含URL的行deb.packager.io并将其注释掉。文档中有更多详细信息

一旦apt-get update更新包的列表,你可与升级系统apt-get upgradeapt-get dist-upgrade在AskUbuntu上对此问题的回答中解释了差异。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章