Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » 'Updating Software' has encountered a problem.(Just tried to do an update and got a bunch of errors.)
'Updating Software' has encountered a problem. [message #1760076] Fri, 21 April 2017 20:46 Go to next message
Chuck Pergiel is currently offline Chuck PergielFriend
Messages: 26
Registered: April 2016
Location: Silicon Forest
Junior Member
This is what the update box showed.

'Updating Software' has encountered a problem.

An error occurred while collecting iterms to be installed

When I asked for details it gave me a list of a zillion lines like this:
An error occurred while collecting items to be installed
session context was:(profile=_home_c_eclipse_cpp-neon_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.cdt,9.2.1.201704050430
No repository found containing: osgi.bundle,org.eclipse.cdt.autotools.core,2.0.0.201704050430
No repository found containing: osgi.bundle,org.eclipse.cdt.autotools.docs,2.0.2.201704050430
. . .


Sent from my Commodore-64 via a US Robotics 300 Baud Modem
Re: 'Updating Software' has encountered a problem. [message #1760086 is a reply to message #1760076] Sat, 22 April 2017 06:39 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30653
Registered: July 2009
Senior Member
There could have been a network failure.
Re: 'Updating Software' has encountered a problem. [message #1760097 is a reply to message #1760086] Sat, 22 April 2017 13:37 Go to previous messageGo to next message
Chuck Pergiel is currently offline Chuck PergielFriend
Messages: 26
Registered: April 2016
Location: Silicon Forest
Junior Member
If there was a network failure, it's not on my end. I just ran an update on Linux and it worked fine. Then I tried to update Eclipse again and I got the same error as before.

Sent from my Commodore-64 via a US Robotics 300 Baud Modem
Re: 'Updating Software' has encountered a problem. [message #1760133 is a reply to message #1760097] Sun, 23 April 2017 15:41 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30653
Registered: July 2009
Senior Member
Maybe there are more clues in the Error Log?
Re: 'Updating Software' has encountered a problem. [message #1760135 is a reply to message #1760133] Sun, 23 April 2017 16:05 Go to previous messageGo to next message
Chuck Pergiel is currently offline Chuck PergielFriend
Messages: 26
Registered: April 2016
Location: Silicon Forest
Junior Member
Error Log? Where is the Error Log?

Sent from my Commodore-64 via a US Robotics 300 Baud Modem
Re: 'Updating Software' has encountered a problem. [message #1760137 is a reply to message #1760135] Sun, 23 April 2017 16:09 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30653
Registered: July 2009
Senior Member
Type Error Log in the Quick Access to open the Error Log view.
Re: 'Updating Software' has encountered a problem. [message #1760138 is a reply to message #1760137] Sun, 23 April 2017 16:29 Go to previous messageGo to next message
Chuck Pergiel is currently offline Chuck PergielFriend
Messages: 26
Registered: April 2016
Location: Silicon Forest
Junior Member
Most of today's entries in the Error Log are the same as above. I did find these four items from Friday at 2:30PM, which was like 9 hours before I tried to do the update.

Unknown Host: http://download.eclipse.org/oomph/updates/milestone/latest/compositeContent.xml
Unknown Host: http://download.eclipse.org/tools/cdt/releases/9.2/compositeContent.xml
Unknown Host: http://download.eclipse.org/eclipse/updates/4.6/compositeContent.xml
Unknown Host: http://download.eclipse.org/releases/neon/compositeContent.xml

The event details for all four of these are identical, except for the URL.

eclipse.buildId=4.6.3.M20170301-0400
java.version=1.8.0_121
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.epp.package.cpp.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.cpp.product

org.eclipse.equinox.p2.transport.ecf
Error
Fri Apr 21 14:29:07 PDT 2017
Unknown Host: http://download.eclipse.org/oomph/updates/milestone/latest/compositeContent.xml

java.net.UnknownHostException: download.eclipse.org
at java.net.InetAddress.getAllByName0(InetAddress.java:1280)
at java.net.InetAddress.getAllByName(InetAddress.java:1192)
at java.net.InetAddress.getAllByName(InetAddress.java:1126)
at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:44)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:259)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:159)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:263)
at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


Sent from my Commodore-64 via a US Robotics 300 Baud Modem
Re: 'Updating Software' has encountered a problem. [message #1760157 is a reply to message #1760138] Mon, 24 April 2017 06:11 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30653
Registered: July 2009
Senior Member
These logs entries suggest network problems, at least at that point in time. You could clear the log, try again, and see what's all in the log. I'm not sure what else to suggest. Perhaps there is some inconsistency in CDT's update sites. You might try using Windows -> Preferences -> Install/Update -> Available Software Sites and disabling the CDT one; CDT should be in the Neon repository anyway.
Re: 'Updating Software' has encountered a problem. [message #1760182 is a reply to message #1760157] Mon, 24 April 2017 11:37 Go to previous messageGo to next message
Tauno Voipio is currently online Tauno VoipioFriend
Messages: 509
Registered: August 2014
Senior Member
There might be something fishy in the links or Eclipse repository.
When used as browser URL's, only the CDT link got a XML page, the other three gave the Eclipse project 'Not found' page.



--

Tauno Voipio
Re: 'Updating Software' has encountered a problem. [message #1806532 is a reply to message #1760182] Fri, 10 May 2019 08:48 Go to previous messageGo to next message
Wojciech Lisik is currently offline Wojciech LisikFriend
Messages: 4
Registered: May 2019
Junior Member
I strongly suggest closing down Eclipse as this bug (its a BUG) is still relevant 2 years on.....
It clearly shows that developers give a middle finger to it. Either because they don't have a clue what's going on, or they don't care....
Re: 'Updating Software' has encountered a problem. [message #1806570 is a reply to message #1806532] Fri, 10 May 2019 13:36 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3528
Registered: July 2009
Senior Member

Is it? You've reopened a two year old thread about an outdated release without adding any other information.

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: 'Updating Software' has encountered a problem. [message #1815594 is a reply to message #1806570] Sun, 06 October 2019 17:29 Go to previous messageGo to next message
Wojciech Lisik is currently offline Wojciech LisikFriend
Messages: 4
Registered: May 2019
Junior Member
Nitin Dahyabhai wrote on Fri, 10 May 2019 13:36
Is it? You've reopened a two year old thread about an outdated release without adding any other information.


And ?/???

I see no need to be super-skilled APP tider to know that this should not have been happening.

There is no need for you to reject/oppose this....
Re: 'Updating Software' has encountered a problem. [message #1815597 is a reply to message #1815594] Sun, 06 October 2019 20:07 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30653
Registered: July 2009
Senior Member
It's true. Network failures should not happen. Networks should be perfect, and servers should never ever go down, nor ever serve up stale content.

Unfortunately reality often rears its ugly head. Anything that could possibly go wrong between you and the server (and on the server) does in fact sometimes go wrong. No doubt some gremlin with an overactive middle finger is involved; there's definitely no need to reject or oppose those gremlins.

That being said, if you have a question, try to state it in the form of a sentence that ends with a question mark. The more information you provide to help frame the context of your question the better.

However, if your basic underlying assumption is that the people who provide you the free software and the free help desire only to show you their middle finger, isn't it kind of pointless for you to post anything at all?

It seems a little to me like the annoying people who honk their horn at the bus stopped at the bus stop in front of my house because it's in their way: I know it's just a way to vent their understandable frustration. Unfortunately it does so in a way that disturbs the peace of the entire neighborhood, and unfortunately for them, that bus always stops there when there are people waiting to get on or wanting to get off, no matter how frustrating that is for people in a hurry. So I always think, please don't honk your horn in front of my house.
Re: 'Updating Software' has encountered a problem. [message #1815600 is a reply to message #1815597] Sun, 06 October 2019 21:26 Go to previous messageGo to next message
Chuck Pergiel is currently offline Chuck PergielFriend
Messages: 26
Registered: April 2016
Location: Silicon Forest
Junior Member
I was not expecting to see a response this morning to a forum post I made two years ago, but here we are. I gave up on Eclipse shortly after I made this post. It might be very wonderful, but I wanted something that was ready to go for what I was doing. Configuring it to work the way I wanted was more effort than it was worth. Between printf and the Linux debugger, and I can get where I want to go without having to immerse myself in Eclipse's arcane ways.

Sent from my Commodore-64 via a US Robotics 300 Baud Modem
Re: 'Updating Software' has encountered a problem. [message #1816874 is a reply to message #1815600] Sat, 09 November 2019 15:14 Go to previous messageGo to next message
Wojciech Lisik is currently offline Wojciech LisikFriend
Messages: 4
Registered: May 2019
Junior Member
Everyone who oppose the need of action, please go to https://bugs.eclipse.org/bugs/show_bug.cgi?id=481414
Still NEW status and NO answer from developers? Seriously?
Re: 'Updating Software' has encountered a problem. [message #1816877 is a reply to message #1816874] Sat, 09 November 2019 18:17 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30653
Registered: July 2009
Senior Member
You again provide no new information. How about describing what you tried to do that failed? Was it no artifact not found? Was it a deadlock during update? Was it a connection timeout? What was the problem?

What I noticed a few weeks ago is that its possible when an update site changes (e.g., a composite update site adds a new child site), that the server will serve inconsistent state for a while. In general the server caches the files that it serves, so even when the underlying file in the file system changes, the server can and does for a while serve up the previous version. Because an update site consists of both content metadata and artifact metadata (two separate resources), if the server serves up the newer version of the content metadata but the older version of the artifact metadata then the resolve process finds the new set of installable units, but, when it then proceeds to try to download the corresponding artifacts, it ends seeing only older artifact metadata and can't find that newer artifacts. This generally corrects itself after a while, and there's not much one can do at the receiving end (the resolve process) to deal with this problem. The process of publishing the new metadata should manually flush the server cache; but no one (the publishers) actual does that (because most people don't even realize this problem exists). I notice because I've tested a million times...

You also seem to assume that developers are ignoring you. The problem is that no active p2 developer exists. And that's of course because everything is free, so there is no profit and hence no flow of money with which an active developer could in principle buy a slice of dry day old bread to fuel their work.
Previous Topic:export an RCP product to a package?
Next Topic:Everythings perfect. But Eclipse installer can't install it for a reason that it can't find the JDK
Goto Forum:
  


Current Time: Wed Nov 20 19:17:47 GMT 2019

Powered by FUDForum. Page generated in 0.03909 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top