|
2017-02-11
, 20:46
|
Posts: 1,196 |
Thanked: 1,413 times |
Joined on Aug 2011
|
#52
|
[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
|
2017-02-12
, 21:00
|
Posts: 1,196 |
Thanked: 1,413 times |
Joined on Aug 2011
|
#53
|
|
2017-02-12
, 21:40
|
Posts: 5 |
Thanked: 26 times |
Joined on Sep 2016
@ 0o0
|
#54
|
In Ubuntu,
After that i try apt-get update and same thing same error why?Code:echo nameserver 103.25.7.1 > /etc/resolv.conf
How to resolve this problem?
Impossible to edit resolv.conf file cause i don't have gedit or nano installed.
it uses apt and dpkg directly so can only work on a debian system
|
2017-02-12
, 21:52
|
Posts: 1,196 |
Thanked: 1,413 times |
Joined on Aug 2011
|
#55
|
I faced the exact same issue but with Debian. I think its because of the way the distribution is built.
If it was built with multistrap, you have to remember that multistrap depends on a Debian (which SFOS is not) on the top of it.
I am trying to avoid using multistrap and build a proper debian image using qemu and debootstrap.
On the ubuntu side the images must be readily available and usable
|
2017-02-14
, 13:11
|
Posts: 68 |
Thanked: 147 times |
Joined on Dec 2016
|
#56
|
The Following 5 Users Say Thank You to bomo For This Useful Post: | ||
|
2017-02-14
, 16:17
|
|
Posts: 172 |
Thanked: 628 times |
Joined on Apr 2010
@ Albuquerque, NM, USA
|
#57
|
I'm just dropping an idea here:
Maybe "systemd-nspawn" could be used to provide a more user friendly alternative to chroot? systemd-nspawn is also available in SFOS. Does anyone have experience with that?
|
2017-02-14
, 16:23
|
|
Posts: 654 |
Thanked: 2,368 times |
Joined on Jul 2014
@ UK
|
#58
|
|
2017-02-14
, 22:28
|
|
Posts: 172 |
Thanked: 628 times |
Joined on Apr 2010
@ Albuquerque, NM, USA
|
#59
|
Do you know why that option is required? What is missing in the chroot that would usually be used to sandbox chromium? Seems like a bad idea not to sandbox a browser...or do you think the fact that it's running in a chroot is enough sandboxing in itself?
|
2017-02-15
, 01:34
|
|
Posts: 172 |
Thanked: 628 times |
Joined on Apr 2010
@ Albuquerque, NM, USA
|
#60
|
export DISPLAY=:0 xhost +
sudo -u \#100000 bash
export $(dbus-launch) export XDG_RUNTIME_DIR=/run/user/100000 export DISPLAY=:0 startlxde
The Following 17 Users Say Thank You to preflex For This Useful Post: | ||
How to run application like transmission-qt?
EDIT:
https://tlhp.cf/kde-plasma-on-wayland/
Is it possible to have a full desktop working if i follow the steps on this website?
Thank you
Last edited by n950; 2017-02-11 at 21:21.