[root@Sailfish ubuntu]# chroot ./ # apt-get update Err:1 http://ports.ubuntu.com/ubuntu-ports yakkety InRelease Temporary failure resolving 'ports.ubuntu.com' Err:2 http://ports.ubuntu.com/ubuntu-ports yakkety-updates InRelease Temporary failure resolving 'ports.ubuntu.com' Err:3 http://ports.ubuntu.com/ubuntu-ports yakkety-backports InRelease Temporary failure resolving 'ports.ubuntu.com' Err:4 http://ports.ubuntu.com/ubuntu-ports yakkety-security InRelease Temporary failure resolving 'ports.ubuntu.com' Reading package lists... Done W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/yakkety/InRelease Temporary failure resolving 'ports.ubuntu.com' W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/yakkety-updates/I nRelease Temporary failure resolving 'ports.ubuntu.com' W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/yakkety-backports /InRelease Temporary failure resolving 'ports.ubuntu.com' W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/yakkety-security/ InRelease Temporary failure resolving 'ports.ubuntu.com' W: Some index files failed to download. They have been ignored, or old ones use d instead.
echo nameserver 103.25.7.1 > /etc/resolv.conf