无法在 http://download.eclipse.org/releases/indigo 读取存储库
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7625943/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Unable to read repository at http://download.eclipse.org/releases/indigo
提问by Hari K T
I was trying to add the PDT,
我试图添加 PDT,
Indigo - http://download.eclipse.org/releases/indigo
靛蓝 - http://download.eclipse.org/releases/indigo
Unable to read repository at http://download.eclipse.org/releases/indigo. Unable to read repository at http://download.eclipse.org/releases/indigo. http://download.eclipse.org/releases/indigois not a valid repository location.
无法在http://download.eclipse.org/releases/indigo读取存储库。无法在http://download.eclipse.org/releases/indigo读取存储库。 http://download.eclipse.org/releases/indigo不是有效的存储库位置。
So what's the correct url ? I went and looked lots of places. Can someone point me to the exact link ?
那么正确的网址是什么?我去了很多地方。有人可以指出我的确切链接吗?
Edit:
编辑:
Problem once you go to http://download.eclipse.org/releases/indigo, you will see the below error. So I guess its moved somewhere.
问题一旦您转到http://download.eclipse.org/releases/indigo,您将看到以下错误。所以我猜它搬到了某个地方。
This software repository URL, http://download.eclipse.org/releases/indigo/, provides access to the software repository for the Eclipse indigo release. Until its released in June 2011, it will contain milestone builds.
The repository site URL is typically pre-populated in the list of software repositories when you install the Eclipse Platform or SDK.
For more information about installing or updating software, see the Eclipse Platform Help.
There is also a collection of handy, downloadable all-in-one zip files available for many interests and platforms. Many people find these all-in-one packages the easiest way to get started.
此软件存储库 URL http://download.eclipse.org/releases/indigo/提供对 Eclipse indigo 版本的软件存储库的访问。在 2011 年 6 月发布之前,它将包含里程碑版本。
当您安装 Eclipse 平台或 SDK 时,存储库站点 URL 通常预先填充在软件存储库列表中。
有关安装或更新软件的更多信息,请参阅 Eclipse 平台帮助。
还有一系列方便、可下载的一体式 zip 文件,可用于许多兴趣和平台。许多人发现这些多合一的软件包是最简单的入门方法。
回答by Fredrik
Can you connect to internet at all through Eclipse?
你能通过 Eclipse 连接到互联网吗?
- Open the internal webbrowser. In Eclipse: Window -> show view -> Other -> General: Internal web browser.
- Look up any normal adress, is it working?
- 打开内部网络浏览器。在 Eclipse 中:窗口 -> 显示视图 -> 其他 -> 常规:内部 Web 浏览器。
- 查找任何正常地址,是否有效?
Can you connect to another update site? Try for example Eclipse Emma: http://update.eclemma.org/Do you see anything there?
您可以连接到另一个更新站点吗?尝试例如 Eclipse Emma:http: //update.eclemma.org/你在那里看到什么了吗?
What are your proxy preferences? Go to Window -> preferences -> General: Network connections.
您的代理偏好是什么?转到窗口 -> 首选项 -> 常规:网络连接。
The active provider:
主动提供者:
Specifies the settings profile to be used when opening connections. Choosing the Direct provider causes all the connections to be opened without the use of a proxy server. Selecting Manual causes settings defined in Eclipse to be used. On some platforms there is also a Native provider available, selecting this one causes settings that were discovered in the OS to be used.
指定打开连接时要使用的设置配置文件。选择直接提供程序会导致在不使用代理服务器的情况下打开所有连接。选择 Manual 会导致使用 Eclipse 中定义的设置。在某些平台上,还有一个 Native 提供程序可用,选择此提供程序会导致使用在操作系统中发现的设置。
If internet is working fine outside of Eclipse, try changing to Native. After that, try Direct.
如果 Internet 在 Eclipse 之外工作正常,请尝试更改为 Native。之后,尝试直接。
I have encountered problems where an update site would not load, then I had to remove it and add it again. This forces Eclipse to reread the contents of the site even if it has a cached copy. So, if you still get no connection to the indigo update site, but everything else is working, try that. Go to Window -> Preferences -> Install/update: Available Software sites. Then remove and add the indigo site. Just remember to copy the adress so you can add it again.
我遇到了无法加载更新站点的问题,然后我不得不将其删除并重新添加。这会强制 Eclipse 重新读取站点的内容,即使它有缓存的副本。因此,如果您仍然无法连接到 Indigo 更新站点,但其他一切正常,请尝试。转到窗口 -> 首选项 -> 安装/更新:可用软件站点。然后删除并添加靛蓝站点。请记住复制地址,以便您可以再次添加。
As suggested in a comment below by @lostiniceland, this is a simpler way to achieve the above:
正如@lostiniceland 在下面的评论中所建议的,这是实现上述目标的一种更简单的方法:
Goto Window -> Preferences -> Install Update -> Available Software Sites => select the entry and click the "Reload" button to the right. This is sometimes also helpful when you have a local updatesite for testing custom plugins
转到窗口 -> 首选项 -> 安装更新 -> 可用软件站点 => 选择条目并单击右侧的“重新加载”按钮。当您有本地更新站点用于测试自定义插件时,这有时也很有用
回答by user2956341
I had the same problem and resolved it by
我遇到了同样的问题并通过以下方式解决了它
- Deleting the cache directory
\eclipse\p2\org.eclipse.equinox.p2.repository\cache
- Refreshing the repositories.
- Preferences -> Install Update -> Available Software Sites => select the entry
- Click the "Reload"
- 删除缓存目录
\eclipse\p2\org.eclipse.equinox.p2.repository\cache
- 刷新存储库。
- 首选项 -> 安装更新 -> 可用软件站点 => 选择条目
- 点击“重新加载”
回答by Ajil Mohan
Check if you are able to connect to eclipse market place url (http://marketplace.eclipse.org/) from browser. If its working then the issue is because of proxy server using in your network. We have to update eclipse with proxy server details used in our network.
检查您是否能够从浏览器连接到 eclipse 市场网址 ( http://marketplace.eclipse.org/)。如果它正常工作,那么问题是因为您的网络中使用了代理服务器。我们必须使用我们网络中使用的代理服务器详细信息更新 eclipse。
Go to :- Windows-> Preference -> General -> Network Connections.
转到:- Windows-> 首选项-> 常规-> 网络连接。
And edit HTTP ,with proxy details.
并使用代理详细信息编辑 HTTP。
Click OK
单击确定
Done.
完毕。
回答by user3233995
Another way to solve this kind of error is to start eclipse with this argument
解决此类错误的另一种方法是使用此参数启动eclipse
-vmargs -Djava.net.preferIPv4Stack=true
-vmargs -Djava.net.preferIPv4Stack=true
Working fine with Eclipse (x64) 4.3.1
与 Eclipse (x64) 4.3.1 配合良好
回答by David Minor
I was having this problem and it turned out to be our firewall. It has some very general functions for blocking ActiveX, Java, etc., and the Java functionality was blocking the jar downloads as Eclipse attempted them.
我遇到了这个问题,结果是我们的防火墙。它有一些非常通用的功能来阻止 ActiveX、Java 等,并且 Java 功能会在 Eclipse 尝试下载 jar 时阻止它们。
The firewall was returning an html page explaining that the content was blocked, which of course went unseen. Thank goodness for Wireshark :)
防火墙正在返回一个 html 页面,解释内容被阻止,这当然是看不见的。谢天谢地 Wireshark :)
回答by user1762278
Had this problem in Linux, and I found that the user doesn't have permission to update the eclipse directory
linux下有这个问题,发现用户没有更新eclipse目录的权限
change the owner of eclipse folder recursively, or run eclipse with user who has write permission to the folder
递归更改 eclipse 文件夹的所有者,或使用对该文件夹具有写入权限的用户运行 eclipse
回答by ergohack
Kudos to @Fredrikabove. His answerdidn't work for me, but lead me to the resolution of my issue:
荣誉对@Fredrik以上。他的回答对我不起作用,但引导我解决我的问题:
In 'Window'|'Preferences'|'Install/Update'|'Available Software Sites'. The location that I was attempting to install from the 'Marketplace' was getting inserted with an https://
URL. Editing this to http://
allowed me to then use 'Help'|Install New Software ...' to select the repository from the drop down 'Work with:' combobox instead of having the https://
one automatically inserted and used.
在“窗口”|“首选项”|“安装/更新”|“可用软件站点”中。我试图从“市场”安装的位置被插入了一个https://
URL。编辑它以http://
允许我然后使用“帮助”|安装新软件...”从下拉“使用:”组合框中选择存储库,而不是https://
自动插入和使用一个。
回答by frenchy
I had the same problem. Try to deactivate your Firewall (I had avast!), which worked for me.
我有同样的问题。尝试停用您的防火墙(我有 avast!),这对我有用。
(Sorry for my English I'm French :D)
(对不起,我的英语我是法语 :D)
回答by Bulent
In Windows 7 32-bit version, I started the eclipse with as an administrator. This worked for me.
在Windows 7 32位版本中,我以管理员身份启动了eclipse。这对我有用。
回答by Duck Dodgers
What worked for me:
什么对我有用:
Since yesterday, I have been trying to install the Eclipse plugin - "Remote System Explorer" from the Eclipse marketplace on a freshly downloaded Eclipse 4.8 as shown below,
从昨天开始,我一直在尝试在新下载的 Eclipse 4.8 上安装来自 Eclipse 市场的 Eclipse 插件——“远程系统资源管理器”,如下所示,
and everytime I was getting this error:
每次我收到此错误时:
Unable to read repository at http://download.eclipse.org/releases/kepler/. Unable to read repository at http://download.eclipse.org/releases/kepler/201306260900/content.jar. download.eclipse.org:80 failed to respond
无法在http://download.eclipse.org/releases/kepler/读取存储库。无法在http://download.eclipse.org/releases/kepler/201306260900/content.jar读取存储库。download.eclipse.org:80 未能响应
which brought me to this SO post.
这让我看到了这个 SO 帖子。
I tried a few solutions mentioned here in the different answers like this oneand this oneand this one, but none of them worked. I just gave up almost, thinking that either the corporate network here is somehow blocking the specific download requests or the 4.8 version of Eclipse is buggy.
我尝试了在不同的答案中提到的一些解决方案,例如this one、this one和this one,但没有一个起作用。差点就放弃了,想要么是这里的公司网络以某种方式阻止了特定的下载请求,要么是4.8版本的Eclipse有问题。
Discovery:
发现:
I could not reload allthe paths under 'Window' -> 'Preferences' -> 'Install/Update' -> 'Available Software Sites'
.
我不能重装所有下的路径'Window' -> 'Preferences' -> 'Install/Update' -> 'Available Software Sites'
。
Preconditions:
先决条件:
What did work for me from the beginning was:
- I could open google.comfrom the internal web browserof eclipse and,
- some of the update paths, I could reload even. (As was mentioned as a possible solution or test, in some of the answers here, like this one.)
从一开始对我有用的是:
- 我可以从Eclipse的内部网络浏览器打开google.com,然后,
- 一些更新路径,我什至可以重新加载。(正如在此处的一些答案中提到的可能的解决方案或测试一样,例如这个。)
Finally, this answerput me on the right track - for my specific case, at least. Just my step was to do the exact opposite of what that answer was doing.
最后,这个答案让我走上了正确的道路 - 至少对于我的具体情况。只是我的步骤是做与答案完全相反的事情。
Solution:
解决方案:
I had to change all the http:\\
paths to https:\\
and suddenly it started to work. I don't know who - either IE/Edge on Windows 10 or the Windows 10 firewall or the company firewall is blocking HTTP communications. But with HTTPS, I can finally install plugins from the Marketplace.
我不得不改变所有的http:\\
路径https:\\
,突然它开始工作。我不知道是谁 - Windows 10 上的 IE/Edge 或 Windows 10 防火墙或公司防火墙阻止了 HTTP 通信。但是使用 HTTPS,我终于可以从 Marketplace 安装插件。
I must say, what is strange is that not all the paths required https
. Except a few, the rest seemed to have had no problem working with HTTP
. But I anyways changed all to HTTPS
, just for good measure.
我必须说,奇怪的是并不是所有的路径都需要https
。除了少数几个,其余的似乎在使用HTTP
. 但我无论如何都改为HTTPS
,只是为了更好的衡量。
- Then reload all the repositories one by one. Press "Apply and close".
- Then check for updates. Eclipse will update itself successfully now.
- Restart after update.
- Finally you can install whichever Plugin you would like to from the Eclipse Marketplace.
- 然后一一重新加载所有存储库。按“应用并关闭”。
- 然后检查更新。Eclipse 现在将成功更新自身。
- 更新后重启。
- 最后,您可以从 Eclipse Marketplace 安装您想要的任何插件。
Note: In case during the update, this same error pops up again, then see in the repositories that any new paths added by eclipse during the update, are also HTTPS and not HTTP.
注意:万一在更新过程中,同样的错误再次弹出,然后在存储库中看到更新过程中 eclipse 添加的任何新路径也是 HTTPS 而不是 HTTP。