On Friday 08 January 2016 20:37:27 BogDan Vatra wrote: > On Friday 08 January 2016 20:21:10 BogDan Vatra wrote: > > On Friday 08 January 2016 17:16:27 Julian Andres Klode wrote: > > > On Fri, Jan 08, 2016 at 05:16:00PM +0100, Julian Andres Klode wrote: > > > > Control: tag -1 moreinfo > > > > > > > > On Fri, Jan 08, 2016 at 05:28:02PM +0200, Bogdan Vatra wrote: > > > > > Package: apt > > > > > Version: 1.1.10 > > > > > Severity: serious > > > > > > > > > > --- Please enter the report below this line. --- > > > > > The problem happens on an chrooted arm64 image on Android. > > > > > > > > > > Commands log: > > > > > > > > > > root@localhost:~# apt update > > > > > Err:1 http://httpredir.debian.org/debian sid InRelease > > > > > > > > > > Temporary failure resolving 'httpredir.debian.org' > > > > > > > > > > Reading package lists... Done > > > > > Building dependency tree > > > > > Reading state information... Done > > > > > All packages are up to date. > > > > > W: Failed to fetch > > > > > http://httpredir.debian.org/debian/dists/sid/InRelease > > > > > Temporary failure resolving 'httpredir.debian.org' > > > > > W: Some index files failed to download. They have been ignored, or > > > > > old > > > > > ones > > > > > used instead. > > > > > > > > Probably /etc/resolv.conf is not readable by _apt? > > > > > > _apt being a username used by the fetching process. > > > > Well it is world readable: > > > > root@localhost:~# ls -l /etc/resolv.conf > > -rw-r--r--. 1 root root 43 Jan 8 14:57 /etc/resolv.conf > > > > I think the problem is that apt is running under _apt user which on > > android > > it doesn't network permissions. > > > > Is it possible to run at as root? > > I "fixed" it by changing _apt UID to 0 :), but IMHO it is not the best > solution... >
I found the proper solution. I needed to install android-permissions and add _apt used to inet group. Sorry for the noise :). Yours, BogDan.