Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git can't clone when WSL1 is installed on Citrix #10529

Closed
1 of 2 tasks
MCornejoS opened this issue Sep 22, 2023 · 4 comments
Closed
1 of 2 tasks

Git can't clone when WSL1 is installed on Citrix #10529

MCornejoS opened this issue Sep 22, 2023 · 4 comments

Comments

@MCornejoS
Copy link

Windows Version

Microsoft Windows [Version 10.0.19045.3324]

WSL Version

1.2.5.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.90.1

Distro Version

Ubuntu 22.04

Other Software

Citrix 27.7.1.18(2307.1)

Repro Steps

In a WSL&Ubuntu 22.04 clean install:

git clone https://github.com/microsoft/WSL.git #(It doesn't matter what repo you use)

Expected Behavior

Repo cloned into local.

Actual Behavior

Cloning into 'WSL'...
remote: Enumerating objects: 1001, done.
remote: Counting objects: 100% (358/358), done.
remote: Compressing objects: 100% (207/207), done.
remote: Total 1001 (delta 217), reused 212 (delta 151), pack-reused 643
Receiving objects: 100% (1001/1001), 7.56 MiB | 11.62 MiB/s, done.
Resolving deltas: 100% (464/464), done.
fatal: bad object a1fadd2
fatal: remote did not send all necessary objects

Diagnostic Logs

No response

@MCornejoS
Copy link
Author

Apparently, the issue only happens when I try to clone to WSL storage, if I clone to /mnc/c/whatever it works.

@OneBlue
Copy link
Collaborator

OneBlue commented Sep 22, 2023

/logs

@microsoft-github-policy-service
Copy link
Contributor

Hello! Could you please provide more logs to help us better diagnose your issue?

To collect WSL logs, download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The scipt will output the path of the log file once done.

Once completed please upload the output files to this Github issue.

Click here for more info on logging

Thank you!

@MCornejoS
Copy link
Author

I've finally resolve the issue thanks to the information in #2577, it seems to be related to a permissions problem with Windows Store apps, relocating the Ubuntu folder fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants