-
Notifications
You must be signed in to change notification settings - Fork 23
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
Can't downlaod any file in Archlinux #5
Comments
is the ping command work? In case resolve.conf is empty or not found execute this command |
ping command is not working either. I have also noticed that after exiting linux and killlinux command, resolve.conf gets reset every time. |
Have you tried other distro? Arch Linux ARM is untested apparently, because the tarball size is so big. |
I have also tried Manjaro and it has the same issue. |
this or this might help? My issue personally was with apt, and telling it to run as root, not as the _apt user, however the posts have some information on how/why certain users are unable to access the internet in chroot on Android. Edit: debugging apt was made harder by the fact that the debian image doesn't include ping or curl. Also it would be nice to have a way to include extra mounts without having to bind-mount it myself (I included my magisk modules, since they have several native binaries like nano) |
to fix apt, at least in ubuntu and debian, try this inside your chroot: also worth noting that the ubuntu ports repository (for armhf) doesn't seem to be signed, or the wrong keys are in the tarball or something... quick fix for that. albeit VERY UNSAFE: ping can be used through busybox (which seems to be built in on the tarball I received): |
thank you this solution solve my problem for apt-get that return temporary failure resolving |
change your user id to 4000 or more, just works, |
Distro= ArchLinux ARM
Android 12
basically cant download files or clone repos with wget and git with users other than root.
downloading works fine with root user tho.
Error= could not resolve host: aur.archlinux.org
I do remember finding a fix for this a few years ago but can't find it today. i think it had something to do with /etc/resolve.conf
The text was updated successfully, but these errors were encountered: