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

WARN: failed to ensure package github.com/pawn-lang/YSI-Includes:v5.0.6.1932: remote repository is empty #625

Open
Chavdar0v opened this issue Oct 17, 2022 · 2 comments

Comments

@Chavdar0v
Copy link

I have an error while install YSI-Includes.

I try with sampctl p ensure and sampctl p install YSI-Includes in all versions.

image

Can someone help me with this error, please?

@Chavdar0v
Copy link
Author

Hello, I update the thread.
I have used this command which I have found on the official SAMP discord.

**git clone --recurse-submodules -j8 https://github.com/pawn-lang/YSI-Includes.git
**

I have done this after doing a sampctl p ensure. The latter is so that the dependencies folder elements are created.

Later I made a sampctl p ensure and it turned out satisfactorily.

I hope someone else finds it useful.

@ADRFranklin
Copy link
Contributor

This is not a problem with YSI, but a problem with a specific issue with sampctl and how repositories are handled. There seems to be a common, yet rare case where repositories are cloned but become empty, and what should happen in this case is, that sampctl should be deleteing the repository so it can attempt to re-try to pull it again. However it seems in this case it either is not deleting the broken repository or it's running in the same issue again.

Without the --verbose flag being appended to the sampctl command, I won't be able to tell off the bat which part of the ensure code crapped out.

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