Opened 9 years ago

Closed 4 years ago

#569 closed defect (wontfix)

Router will update to a version less than the latest

Reported by: zzz Owned by:
Priority: minor Milestone:
Component: router/update Version: 0.8.11
Keywords: Cc:
Parent Tickets: Sensitive: no


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 (5)

comment:1 Changed 9 years ago by zzz


comment:2 Changed 8 years ago by zzz


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().

comment:3 Changed 6 years ago by str4d

Milestone: 0.9.6
Status: newinfoneeded_new

Is this still valid? Every router tries to use torrents by default now; resolving this ticket would only help routers that fall back to HTTP *and* don't find the latest version.

comment:4 Changed 4 years ago by zzz

Status: infoneeded_newnew


comment:5 Changed 4 years ago by zzz

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.