I2P

Invisible Internet Project


Ticket #569 (new defect)

Opened 17 months ago

Last modified 5 months ago

Router will update to a version less than the latest

Reported by: zzz Owned by:
Priority: minor Milestone: 0.9.6
Component: router/update Version: 0.8.11
Keywords: Cc:

Description

www.i2p2.i2p often does not have the latest .sud/su2 files,

Say versions X < Y < Z.

If a router is at version X and news says the latest is version Z, it will still download version Y and update to it first, if it's unlucky enough to pick an update host that has version Y but not Z.

This is because the update process just looks for a version > X.

Then the console won't even let you update again, because it gets a 304 from the news host so it says no update available. Even though the news section is declaring that version Z is available.

So not only did the user update to the wrong version but he can't get the latest until echelon edits the news again.

This is a bad user experience. Yes it would also be nice if all the update hosts always had the latest.

Change History

Changed 15 months ago by zzz

  • milestone changed from 0.8.14 to 0.9.3

Changed 5 months ago by zzz

  • milestone changed from 0.9.3 to 0.9.6

This was not fixed in the big update rewrite for 0.9.4. UpdateRunner?.transferComplete() for the partial eepget still compares the downloaded version to the current version, not the expected version. And again in ConsoleUpdateManager?.handleSudFile().

Note: See TracTickets for help on using tickets.