Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No repository found for Egit upgrade in Eclipse

Tags:

eclipse

egit

p2

Where is the latest Egit p2 repositories? I'm using Oxygen .2 and I get these following errors after trying to check for software updates.

!ENTRY org.eclipse.equinox.p2.engine 4 4 2018-01-18 14:17:43.037
!MESSAGE An error occurred while collecting items to be installed
!SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2018-01-18 14:17:43.037
!MESSAGE session context was:(profile=_home_isheedm_bin_jee-latest-released_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
!SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 0 2018-01-18 14:17:43.037
!MESSAGE No repository found containing: osgi.bundle,org.eclipse.egit,4.11.0.201801172130
!SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 0 2018-01-18 14:17:43.037
!MESSAGE No repository found containing: osgi.bundle,org.eclipse.egit.core,4.11.0.201801172130
!SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 0 2018-01-18 14:17:43.037
!MESSAGE No repository found containing: osgi.bundle,org.eclipse.egit.doc,4.11.0.201801172130
!SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 0 2018-01-18 14:17:43.037
!MESSAGE No repository found containing: osgi.bundle,org.eclipse.egit.gitflow,4.11.0.201801172130
!SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 0 2018-01-18 14:17:43.037
!MESSAGE No repository found containing: osgi.bundle,org.eclipse.egit.gitflow.ui,4.11.0.201801172130
!SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 0 2018-01-18 14:17:43.037
!MESSAGE No repository found containing: osgi.bundle,org.eclipse.egit.mylyn.ui,4.11.0.201801172130
!SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 0 2018-01-18 14:17:43.037
!MESSAGE No repository found containing: osgi.bundle,org.eclipse.egit.ui,4.11.0.201801172130
!SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 0 2018-01-18 14:17:43.038
!MESSAGE No repository found containing: osgi.bundle,org.eclipse.jgit,4.11.0.201801171708
!SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 0 2018-01-18 14:17:43.038
!MESSAGE No repository found containing: osgi.bundle,org.eclipse.jgit.archive,4.11.0.201801171659
!SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 0 2018-01-18 14:17:43.038
!MESSAGE No repository found containing: osgi.bundle,com.jcraft.jzlib,1.1.1.v201205102305
!SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 0 2018-01-18 14:17:43.038
!MESSAGE No repository found containing: org.eclipse.update.feature,org.eclipse.egit,4.11.0.201801172130
!SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 0 2018-01-18 14:17:43.038
!MESSAGE No repository found containing: org.eclipse.update.feature,org.eclipse.egit.gitflow.feature,4.11.0.201801172130
!SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 0 2018-01-18 14:17:43.038
!MESSAGE No repository found containing: org.eclipse.update.feature,org.eclipse.egit.mylyn,4.11.0.201801172130
!SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 0 2018-01-18 14:17:43.038
!MESSAGE No repository found containing: org.eclipse.update.feature,org.eclipse.jgit,4.11.0.201801171711
like image 997
David I. Avatar asked Dec 13 '22 18:12

David I.


2 Answers

The problem definitely lies in the protocol. Change all the download.eclipse.org/* update sites from http to https protocol and the problem will be resolved. The same solution is valid for other Eclipse plugins too.

like image 182
Petr Krampl Avatar answered Dec 28 '22 12:12

Petr Krampl


maybe the problem is that "http://" can't get the the repository, but "https://" can.

My repository url with problem is "http://download.eclipse.org/egit/updates-nightly/".

When I ran "Help -> check for Updates" it can get the upgradable package list, but when I confirmed to download and upgrade them, it would get an error says "No repository found containing: osgi.bundle,org.eclipse.egit,5.3.0.201901221321" and so on. After I changed the repository url in the setting "Available Software Site" from "http://download.eclipse.org/egit/updates-nightly/" to "https://download.eclipse.org/egit/updates-nightly/", the problem solved.

like image 35
Cu635 Avatar answered Dec 28 '22 12:12

Cu635