-
Notifications
You must be signed in to change notification settings - Fork 846
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
network problem mirrored #11905
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
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 View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Closed similar issues:
|
This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-file it as a new issue. Thank you! |
cat /etc/resolv.conf
This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/wsl.conf:
[network]
generateResolvConf = false
nameserver 10.255.255.254
search 1.1.1.1
root@DESKTOP-ONPAHN0:~# apt install net-tools --fix-missing
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
apport-symptoms libperl5.36 libpython3.11-minimal libpython3.11-stdlib perl-modules-5.36 python3-certifi python3-chardet python3-problem-report python3-systemd python3-urllib3 python3.11 python3.11-minimal ubuntu-advantage-tools
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
net-tools
0 upgraded, 1 newly installed, 0 to remove and 24 not upgraded.
2 not fully installed or removed.
Need to get 204 kB of archives.
After this operation, 811 kB of additional disk space will be used.
Ign:1 http://archive.ubuntu.com/ubuntu noble/main amd64 net-tools amd64 2.10-0.1ubuntu4
Ign:1 http://archive.ubuntu.com/ubuntu noble/main amd64 net-tools amd64 2.10-0.1ubuntu4
Ign:1 http://archive.ubuntu.com/ubuntu noble/main amd64 net-tools amd64 2.10-0.1ubuntu4
Err:1 http://archive.ubuntu.com/ubuntu noble/main amd64 net-tools amd64 2.10-0.1ubuntu4
Could not connect to 127.0.0.1:2222 (127.0.0.1), connection timed out
Setting up postfix (3.8.6-1build2) ...
Postfix (main.cf) configuration was not changed. If you need to make changes,
edit /etc/postfix/main.cf (and others) as needed. To view Postfix
configuration values, see postconf(1).
After modifying main.cf, be sure to run 'systemctl reload postfix'.
Running newaliases
newaliases: warning: valid_hostname: misplaced delimiter: DESKTOP-ONPAHN0.
newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: DESKTOP-ONPAHN0.
dpkg: error processing package postfix (--configure):
installed postfix package post-installation script subprocess returned error exit status 75
dpkg: dependency problems prevent configuration of gpg-wks-server:
gpg-wks-server depends on default-mta | mail-transport-agent; however:
Package default-mta is not installed.
Package postfix which provides default-mta is not configured yet.
Package mail-transport-agent is not installed.
Package postfix which provides mail-transport-agent is not configured yet.
dpkg: error processing package gpg-wks-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
postfix
gpg-wks-server
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/n/net-tools/net-tools_2.10-0.1ubuntu4_amd64.deb Could not connect to 127.0.0.1:2222 (127.0.0.1), connection timed out
E: Sub-process /usr/bin/dpkg returned an error code (1)
my proxy is working in windows as well but in linux has problem
The text was updated successfully, but these errors were encountered: