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

- #161

Closed
cuj opened this issue Nov 19, 2020 · 12 comments
Closed

- #161

cuj opened this issue Nov 19, 2020 · 12 comments

Comments

@cuj
Copy link

cuj commented Nov 19, 2020

@cuj cuj changed the title Change "Press any key to continue. . ." to Press the enter key to continue. . ." pacman -Syyu gives errors in arch WSL Nov 19, 2020
@yuk7
Copy link
Owner

yuk7 commented Nov 19, 2020

Can other software in ArchWSL connect to the Internet?

Try ping mirrors.kernel.org

@yuk7
Copy link
Owner

yuk7 commented Nov 19, 2020

hmm...
So what about ping 8.8.8.8?

@yuk7
Copy link
Owner

yuk7 commented Nov 19, 2020

Ok.

@yuk7
Copy link
Owner

yuk7 commented Nov 19, 2020

You can also choose to use another mirror server.
Try commenting out a mirror server near you in /etc/mirrorlist`

@yuk7 yuk7 added the linux🐧 label Nov 21, 2020
@cuj cuj closed this as completed Dec 23, 2020
@sheeepdev
Copy link

sheeepdev commented Dec 26, 2020

I tried to close my terminal and reopen it and open wsl and change the mirrors but it does not work. Also, I sometimes get errors like that when installing packages on pacman, for example, I got an error "Connection too slow" and more and I don't know how to fix them.

@escape0707
Copy link

escape0707 commented Dec 26, 2020

@sheeepdev do you mean that you are experiencing the same problem as OP's?

@sheeepdev
Copy link

@sheeepdev do you mean that you are experiencing the same problem as OP?

Yes

@escape0707
Copy link

escape0707 commented Dec 26, 2020

It sounds like a pure pacman config problem. You should post your error log first. And maybe try some other mirrors. Guide can be found on ArchWiki.

@sheeepdev
Copy link

Pacman on ArchWSL in general is sometimes buggy and gives me random errors, 404, 403, and this and more

@escape0707
Copy link

escape0707 commented Dec 27, 2020

@sheeepdev I'd really like to suggest you to first try some other mirrors like those hosted by your local / contries' universities. Did you do that?

@sheeepdev
Copy link

@sheeepdev I'd really like to suggest you to first try some other mirrors like those hosted by your local / contries' universities. Did you do that?

Yes.

@escape0707
Copy link

escape0707 commented Dec 27, 2020

@sheeepdev And you tried ping the mirror you chose?
Please paste more log (pacman, ping, /etc/pacman.conf, /etc/pacman.d/mirrorlist) to enable people to help you identifying what's the problem.

@cuj cuj changed the title pacman -Syyu gives errors in arch WSL - Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants