【发布时间】:2016-07-12 19:57:01
【问题描述】:
我正在尝试安装 nodejs,但它一直失败。所以我卸载了nodejs,发现 sudo apt-get update 仍然失败。我用postgresql已经很久了。但这是我在 sudo apt-get update 期间的错误:
Get:41 http://ph.archive.ubuntu.com vivid-updates/universe Translation-en [81.6 kB]
Err http://apt.postgresql.org precise-pgdg InRelease
Err http://apt.postgresql.org precise-pgdg Release.gpg
Cannot initiate the connection to apt.postgresql.org:80 (2a00:f10:111:50::228). - connect (101: Network is unreachable) [IP: 2a00:f10:111:50::228 80]
Fetched 14.4 MB in 6min 3s (39.5 kB/s)
Reading package lists... Done
W: Failed to fetch http://apt.postgresql.org/pub/repos/apt/dists/precise-pgdg/InRelease
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/vivid/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/vivid/main/binary-i386/Packages 404 Not Found
W: Failed to fetch http://apt.postgresql.org/pub/repos/apt/dists/precise-pgdg/Release.gpg Cannot initiate the connection to apt.postgresql.org:80 (2a00:f10:111:50::228). - connect (101: Network is unreachable) [IP: 2a00:f10:111:50::228 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
如您所见,第一行成功,其余更新在其上方。错误从第二行开始。我不知道还能去哪里。请帮我。 由于 sudo apt-get update 出现问题,我无法继续进行任何操作。
【问题讨论】:
-
不是编程问题,可能与此重复:askubuntu.com/questions/329450/…
-
哦,我把 stackoverflow 和 askubuntu 搞混了。我会在askubuntu上问这个。谢谢。但我不认为这与那个链接是同一个问题,因为这不能解决我的问题。
-
我在 askubuntu 上问过这个问题。非常遗憾。我应该删除这个帖子吗? @spicyramen
标签: node.js postgresql ubuntu