Skip to content

Cannot fetch pytorch repo as it can't acquire lock for reference update #595

Closed
@Byron

Description

@Byron

Reproduction

git clone https://github.com/pytorch/pytorch
cd pytorch
gix -v fetch

The above results in the following error:

❯ gix -v fetch
 14:54:16 read pack done 184.6KB in 0.64s (288.0KB/s)
 14:54:16  indexing 282 objects were resolved into 179 objects during thin-pack resolution
 14:54:16  indexing done 179.0 objects in 0.53s (340.0 objects/s)
 14:54:16 decompressing done 3.5MB in 0.53s (6.7MB/s)
 14:54:16     Resolving done 179.0 objects in 0.06s (3.2k objects/s)
 14:54:16      Decoding done 6.6MB in 0.06s (119.2MB/s)
 14:54:16 writing index file done 6.1KB in 0.00s (25.1MB/s)
 14:54:16  create index file done 179.0 objects in 0.58s (307.0 objects/s)
Error: Failed to update references to their new position to match their remote locations

Caused by:
    0: A lock could not be obtained for reference "refs/remotes/origin/update-test-distribute"
    1: The lock for resource './.git/refs/remotes/origin/update-test-distribute could not be obtained after 0.10s after 8 attempt(s). The lockfile at './.git/refs/remotes/origin/update-test-distribute.lock' might need manual deletion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions