Project

General

Profile

bug #7079

Updated by Andreas Kohlbecker about 6 years ago

The behavior of the automatic update is somewhat undeterministic: On some systems it works and on some it doesn't. There are even cases where only the nightly update or only the stable update works. 

 We have to investigate how to deterministically reproduce the problem. 

 P2 caches update information. This could also be a problem. 

 ## p2 cache 

 The p2 cache is located in the Taxeditor installation folder at `./p2/org.eclipse.equinox.p2.repository/cache` this folder contains a file with a cryptic name. In my case it is named `-622154754`. This file is an `xz` archive, which seems to have the same content as the `content.xml.xz`in the p2 download site. Maybe this is exactly the file which has been downloaded from the update site.   

 ---- 

 repeating description of #5061 which has been set as duplicate of this issue: 

 This may be due to http://eclipsesource.com/blogs/2012/08/31/reloading-your-p2-cache/ 

 We can solve this problem by simply forcing a reload of the p2 caches always before the update check, but first we need to confirm that this is indeed the problem. 

 This can be checked by choosing Preferences -> Install / Update -> Available Software Sites. Then select the nightly site and click reload. If this works then it should be the cache that is causing the problem. 

 ---- 

Back