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

DNS problem #12488

Open
whitecat346 opened this issue Jan 22, 2025 · 6 comments
Open

DNS problem #12488

whitecat346 opened this issue Jan 22, 2025 · 6 comments

Comments

@whitecat346
Copy link

when i use pacman -Syyu, it tell me this:

:: Synchronizing package databases...
 core downloading...
 extra downloading...
 community downloading...
error: failed retrieving file 'extra.db' from geo.mirror.pkgbuild.com : Could not resolve host: geo.mirror.pkgbuild.com
warning: fatal error from geo.mirror.pkgbuild.com, skipping for the remainder of this transaction
error: failed retrieving file 'community.db' from geo.mirror.pkgbuild.com : Could not resolve host: geo.mirror.pkgbuild.com
error: failed retrieving file 'core.db' from geo.mirror.pkgbuild.com : Could not resolve host: geo.mirror.pkgbuild.com
error: failed retrieving file 'extra.db' from mirror.rackspace.com : Could not resolve host: mirror.rackspace.com
warning: fatal error from mirror.rackspace.com, skipping for the remainder of this transaction
error: failed retrieving file 'community.db' from mirror.rackspace.com : Could not resolve host: mirror.rackspace.com
error: failed retrieving file 'core.db' from mirror.rackspace.com : Could not resolve host: mirror.rackspace.com
error: failed retrieving file 'extra.db' from mirror.leaseweb.net : Could not resolve host: mirror.leaseweb.net
warning: fatal error from mirror.leaseweb.net, skipping for the remainder of this transaction
error: failed retrieving file 'community.db' from mirror.leaseweb.net : Could not resolve host: mirror.leaseweb.net
error: failed retrieving file 'core.db' from mirror.leaseweb.net : Could not resolve host: mirror.leaseweb.net
error: failed to synchronize all databases (invalid url for server)

also, i can't use ping. it will tell me ping: baidu.com: Temporary failure in name resolution.
i don't know what should i do to solve DNS problem.

Copy link

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How 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 script will output the path of the log file once done.

If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here

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

Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to [email protected] with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.

@whitecat346
Copy link
Author

@whitecat346
Copy link
Author

and wsl logs

WslLogs-2025-01-22_13-33-39.zip

Copy link

Diagnostic information
Found '/question', adding tag 'question'
.wslconfig found
Detected appx version: 2.3.26.0
optional-components.txt not found

Copy link

The log file doesn't contain any WSL traces. Please make sure that you reproduced the issue while the log collection was running.

Diagnostic information
.wslconfig found
Detected appx version: 2.3.26.0
Found no WSL traces in the logs

@whitecat346
Copy link
Author

Diagnostic information

Found '/question', adding tag 'question'
.wslconfig found
Detected appx version: 2.3.26.0
optional-components.txt not found

the reason of optional-compnents.txt not found is this:

Get-WindowsOptionalFeature: C:\Users\WhiteCAT\collect-wsl-logs.ps1:57
Line |
  57 |  Get-WindowsOptionalFeature -Online > $folder/optional-components.txt
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | 没有注册类

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

2 participants