Skip to content

Integrity check missing? #169915

@rekire

Description

@rekire

Steps to reproduce

I broke my flutter setup by a canceled git rebase. It ended that the dart executable was deleted.

> flutter doctor    
Building flutter tool...
/Users/rekire/dev/flutter/bin/internal/shared.sh: line 23: /Users/rekire/dev/flutter/bin/cache/dart-sdk/bin/dart: No such file or directory
Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (9 tries left)
/Users/rekire/dev/flutter/bin/internal/shared.sh: line 23: /Users/rekire/dev/flutter/bin/cache/dart-sdk/bin/dart: No such file or directory
Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (8 tries left)

I think the shared.sh should check (more carefully) if in my case the dart executable is present and if not to delete the cache to automatically download the executables again.

My fix was to delete flutter/bin/cache and rerun any flutter command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: invalidIssue is closed as not validteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy