Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

dep ensure: Unable to update checked out version #618

@elliots

Description

@elliots

The error message is Unable to update checked out version: error: The following untracked working tree files would be overwritten by checkout

Tried newer versions of the package, which failed in the same way.

Gopkg.toml

[[dependencies]]
  name = "github.com/Azure/azure-sdk-for-go"
  version = "^8.1.1-beta" 

Output

$ dep ensure
ensure Solve(): No versions of github.com/Azure/azure-sdk-for-go met constraints:
       	v1.2: Could not introduce github.com/Azure/azure-sdk-for-go@v1.2, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	v1.1: Could not introduce github.com/Azure/azure-sdk-for-go@v1.1, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	v1.0: Could not introduce github.com/Azure/azure-sdk-for-go@v1.0, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	v10.0.3-beta: Could not introduce github.com/Azure/azure-sdk-for-go@v10.0.3-beta, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	v10.0.2-beta: Could not introduce github.com/Azure/azure-sdk-for-go@v10.0.2-beta, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	v10.0.1-beta: Could not introduce github.com/Azure/azure-sdk-for-go@v10.0.1-beta, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	v10.0.0-beta: Could not introduce github.com/Azure/azure-sdk-for-go@v10.0.0-beta, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	v9.0.1-beta: Could not introduce github.com/Azure/azure-sdk-for-go@v9.0.1-beta, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	v9.0.0-beta: Could not introduce github.com/Azure/azure-sdk-for-go@v9.0.0-beta, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	v8.1.1-beta: Unable to update checked out version: error: The following untracked working tree files would be overwritten by checkout:
       	storage/README.md
       	storage/authorization.go
       	storage/authorization_test.go
       	storage/blob.go
       	storage/blob_test.go
       	storage/client.go
       	storage/client_test.go
       	storage/directory.go
       	storage/directory_test.go
       	storage/file.go
       	storage/file_test.go
       	storage/fileserviceclient.go
       	storage/queue.go
       	storage/queue_test.go
       	storage/share.go
       	storage/share_test.go
       	storage/storagepolicy.go
       	storage/table.go
       	storage/table_entities.go
       	storage/table_test.go
       	storage/util.go
       	storage/util_test.go
       	storage/version.go
Please move or remove them before you switch branches.
Aborting

       	v8.1.0-beta: Could not introduce github.com/Azure/azure-sdk-for-go@v8.1.0-beta, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	v8.0.1-beta: Could not introduce github.com/Azure/azure-sdk-for-go@v8.0.1-beta, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	8.0.1-beta: Could not introduce github.com/Azure/azure-sdk-for-go@8.0.1-beta, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	v8.0.0-beta: Could not introduce github.com/Azure/azure-sdk-for-go@v8.0.0-beta, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	v7.0.1-beta: Could not introduce github.com/Azure/azure-sdk-for-go@v7.0.1-beta, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	v7.0.0-beta: Could not introduce github.com/Azure/azure-sdk-for-go@v7.0.0-beta, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	v6.0.0-beta: Could not introduce github.com/Azure/azure-sdk-for-go@v6.0.0-beta, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	v5.0.0-beta: Could not introduce github.com/Azure/azure-sdk-for-go@v5.0.0-beta, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	v4.0.0-beta: Could not introduce github.com/Azure/azure-sdk-for-go@v4.0.0-beta, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	v3.2.0-beta: Could not introduce github.com/Azure/azure-sdk-for-go@v3.2.0-beta, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	v3.1.0-beta: Could not introduce github.com/Azure/azure-sdk-for-go@v3.1.0-beta, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	v3.0.0-beta: Could not introduce github.com/Azure/azure-sdk-for-go@v3.0.0-beta, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	v2.2.0-beta: Could not introduce github.com/Azure/azure-sdk-for-go@v2.2.0-beta, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	v2.1.1-beta: Could not introduce github.com/Azure/azure-sdk-for-go@v2.1.1-beta, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	v2.1.0-beta: Could not introduce github.com/Azure/azure-sdk-for-go@v2.1.0-beta, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	v2.0.0-beta: Could not introduce github.com/Azure/azure-sdk-for-go@v2.0.0-beta, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	v0.2.0-beta: Could not introduce github.com/Azure/azure-sdk-for-go@v0.2.0-beta, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	master: Could not introduce github.com/Azure/azure-sdk-for-go@master, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	dev: Could not introduce github.com/Azure/azure-sdk-for-go@dev, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.
       	experimental/allAPIVersions: Could not introduce github.com/Azure/azure-sdk-for-go@experimental/allAPIVersions, as it is not allowed by constraint ^8.1.1-beta from project myorg.com/myapp.

Versions

go version go1.8 darwin/amd64
git version 2.11.0 (Apple Git-81)
Darwin thor 16.5.0 Darwin Kernel Version 16.5.0: Fri Mar 3 16:52:33 PST 2017; root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions