Skip to content

flutter update-packages is failing locally #144033

@goderbauer

Description

@goderbauer

On tip of tree when I run flutter update-packages -v is is failing with the following error:

                        | | fatal: cannot use bare repository '/Users/goderbauer/.pub-cache/git/cache/goldens-9579e0161a174b307c855fff52478bf0dc30bb1a' (safe.bareRepository is 'explicit')
                    SLVR:   fact: assets_for_android_views from git doesn't exist (Could not find git ref '64d0f6051b9b7b9933d3d16194170a38f544634a' (fatal: cannot use bare repository
                    '/Users/goderbauer/.pub-cache/git/cache/goldens-9579e0161a174b307c855fff52478bf0dc30bb1a' (safe.bareRepository is 'explicit')))
                    SLVR:   conflict: assets_for_android_views from git doesn't exist (Could not find git ref '64d0f6051b9b7b9933d3d16194170a38f544634a' (fatal: cannot use bare repository
                    '/Users/goderbauer/.pub-cache/git/cache/goldens-9579e0161a174b307c855fff52478bf0dc30bb1a' (safe.bareRepository is 'explicit')))
                    SLVR:   ! assets_for_android_views from git is satisfied by assets_for_android_views from git
                    SLVR:   ! which is caused by "flutter_update_packages depends on assets_for_android_views from git"
                    SLVR:   ! thus: version solving failed

It looks like it is related to these two dependencies:

assets_for_android_views:
git:
url: https://github.com/flutter/goldens.git
ref: 64d0f6051b9b7b9933d3d16194170a38f544634a
path: dev/integration_tests/assets_for_android_views

assets_for_android_views:
git:
url: https://github.com/flutter/goldens.git
ref: 64d0f6051b9b7b9933d3d16194170a38f544634a
path: dev/integration_tests/assets_for_android_views

Metadata

Metadata

Assignees

No one assigned

    Labels

    fyi-toolFor the attention of Flutter Tool teamteam-androidOwned by Android platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions