Opened 8 years ago

Closed 2 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

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.

Subtickets

Change History (5)

comment:1 Changed 8 years ago by zzz

Milestone: 0.8.140.9.3

comment:2 Changed 7 years ago by zzz

Milestone: 0.9.30.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().

comment:3 Changed 5 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 2 years ago by zzz

Status: infoneeded_newnew

agreed

comment:5 Changed 2 years ago by zzz

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