Skip to content

flutter update-packages --force-upgrade no longer can make edits #170455

Description

@matanlurey

This is probably a bug due to the workspace changes:

diff --git a/dev/conductor/core/pubspec.yaml b/dev/conductor/core/pubspec.yaml
index d78519417c8..fd54286594f 100644
--- a/dev/conductor/core/pubspec.yaml
+++ b/dev/conductor/core/pubspec.yaml
@@ -13,7 +13,6 @@ dependencies:
   meta: any
   path: any
   process: any
-  protobuf: any
 
   file: any
   fixnum: any
$ flutter-dev update-packages --force-upgrade
Upgrading packages...
Verifying pubspecs...
Pubspec in /Users/matanl/Developer/flutter/dev/conductor/core has out of date dependencies. Please run "flutter update-packages --force-upgrade" to update them correctly. The hash does not
match the expectation.

Activity

  1. self-assigned this
    on Jun 11, 2025
  2. added theissue type on Jun 11, 2025
  3. added
    c: regressionIt was better in the past than it is now
    P0Critical issues such as a build break or regression
    team-toolOwned by Flutter Tool team
    P2Important issues not at the top of the work list
    and removed
    P0Critical issues such as a build break or regression
    on Jun 11, 2025
  4. matanlurey commented on Jun 11, 2025

    @matanlurey
    ContributorAuthor

    No, just --update-hashes is now required. I'll update the error message.

  5. github-actions commented on Jun 25, 2025

    @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 Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: regressionIt was better in the past than it is nowteam-toolOwned by Flutter Tool team

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions