Skip to content

Stuck at old version when trying to upgrade #6683

Closed

Description

@sethladd

Since yesterday, I'm seeing this behavior every time I try to run a flutter upgrade

~/Code/flutter/examples/flutter_gallery[master*] $ flutter upgrade
Downloading package sky_engine...                    712ms
Running 'flutter packages get' in sky_engine...      498ms
Building Dart SDK summary...                         1779ms
Downloading engine artifacts android-arm...          2445ms
Downloading engine artifacts android-arm-profile...  2273ms
Downloading engine artifacts android-arm-release...  1882ms
Downloading engine artifacts android-x64...          1488ms
Downloading engine artifacts android-x86...          1440ms
Downloading engine artifacts ios...                      
Download failed: https://storage.googleapis.com/flutter_infra/flutter/e54b0e286ba7e07dcc32d12d8c68f6ca45cdbdf7/ios/artifacts.zip
  because (404) Not Found
If this problem persists, please report the problem at
https://github.com/flutter/flutter/issues/new

Talking to @eseidelGoogle we think the issue is: when starting flutter upgrade, instead of updating the git repo, it's downloading assets. But, because the git repo is never updated, my version is stuck.

Activity

  1. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    on Nov 3, 2016
  2. sethladd commented on Nov 3, 2016

    @sethladd
    ContributorAuthor

    cc @danrubel

    Maybe we can always update the git repo as the first action when the user initiates a flutter upgrade ?

    For those following along, if you are stuck to, a workaround is:

    cd $FLUTTER_ROOT
    git pull
    
  3. added this to the milestone on Feb 27, 2017
  4. Hixie commented on Nov 21, 2017

    @Hixie
    Contributor

    This would be solved by fixing #6491.

  5. github-actions commented on Sep 4, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  6. locked as resolved and limited conversation to collaborators on Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    toolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions