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

[Bug]: dog can't run #7745

Closed
ghost opened this issue Oct 15, 2021 · 3 comments
Closed

[Bug]: dog can't run #7745

ghost opened this issue Oct 15, 2021 · 3 comments
Labels
bug report Something is not working properly.

Comments

@ghost
Copy link

ghost commented Oct 15, 2021

Problem description

Cannot run with the dog command

What steps will reproduce the bug?

apt install dog
dog MX google.com

What is the expected behavior?

thread 'main' panicked at 'Failed to get nameserver: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/requests.rs:88:51
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
[1] 17223 abort dog MX google.com

System information

Application version:
0.117
Packages CPU architecture:
aarch64
Subscribed repositories:

sources.list

deb https://packages.termux.org/apt/termux-main/ stable main

game-repo (sources.list.d/game.list)

deb https://packages.termux.org/apt/termux-games games stable

science-repo (sources.list.d/science.list)

deb https://packages.termux.org/apt/termux-science science stable

root-repo (sources.list.d/root.list)

deb https://packages.termux.org/apt/termux-root root stable

unstable-repo (sources.list.d/unstable.list)

deb https://packages.termux.org/apt/termux-unstable unstable main

x11-repo (sources.list.d/x11.list)

deb https://packages.termux.org/apt/termux-x11 x11 main
Updatable packages:
git/stable 2.33.1 aarch64 [upgradable from: 2.33.0-1]
Android version:
9
Kernel build information:
Linux localhost 4.9.148 #1 SMP PREEMPT Thu Apr 15 06:23:15 CST 2021 aarch64 Android
Device manufacturer:
HUAWEI
Device model:
VTR-AL00

@ghost ghost added the bug report Something is not working properly. label Oct 15, 2021
@ghost
Copy link

ghost commented Oct 15, 2021

Needs to be patched for the correct resolv.conf path.

Use this as temporary workaround:

pkg install resolv-conf proot
termux-chroot dog MX google.com

ghost pushed a commit that referenced this issue Oct 15, 2021
@ghost
Copy link
Author

ghost commented Oct 15, 2021

需要修补正确的 resolv.conf 路径。

将此用作临时解决方法:

pkg install resolv-conf proot
termux-chroot 狗 MX google.com

Okay thank you very much :-)

@ghost
Copy link

ghost commented Oct 15, 2021

Should be fixed in 0.1.0-1 which is available on packages.termux.org and soon will be on mirrors.

@ghost ghost closed this as completed Oct 15, 2021
metayan pushed a commit to metayan/termux-packages that referenced this issue Nov 28, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Something is not working properly.
Projects
None yet
Development

No branches or pull requests

0 participants