Opened 7 years ago

Closed 19 months 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:

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 7 years ago by zzz

  • Milestone changed from 0.8.14 to 0.9.3

comment:2 Changed 6 years 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().

comment:3 Changed 4 years ago by str4d

  • Milestone 0.9.6 deleted
  • Status changed from new to infoneeded_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 19 months ago by zzz

  • Status changed from infoneeded_new to new

agreed

comment:5 Changed 19 months ago by zzz

  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.