rogaha/docker-desktop

Cant install some libraries...

Closed this issue · 4 comments

running the docker build gave me an error:

Get:254 http://archive.ubuntu.com/ubuntu/ trusty/main ssh-import-id all 3.21-0ubuntu1 [9624 B]
Err http://archive.ubuntu.com/ubuntu/ trusty-security/universe libavutil52 amd64 6:9.14-0ubuntu0.14.04.1
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com/ubuntu/ trusty-security/universe libavcodec54 amd64 6:9.14-0ubuntu0.14.04.1
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com/ubuntu/ trusty-security/universe libswscale2 amd64 6:9.14-0ubuntu0.14.04.1
404 Not Found [IP: 91.189.91.13 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/liba/libav/libavutil52_9.14-0ubuntu0.14.04.1_amd64.deb 404 Not Found [IP: 91.189.91.13 80]

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/liba/libav/libavcodec54_9.14-0ubuntu0.14.04.1_amd64.deb 404 Not Found [IP: 91.189.91.13 80]

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/liba/libav/libswscale2_9.14-0ubuntu0.14.04.1_amd64.deb 404 Not Found [IP: 91.189.91.13 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Fetched 64.3 MB in 7min 18s (147 kB/s)
2014/08/13 18:20:12 The command [/bin/sh -c apt-get install -y xpra rox-filer openssh-server pwgen xserver-xephyr xdm fluxbox xvfb] returned a non-zero code: 100

Hi @codemonkeybr, it's probably a caching issue. Can you please try: docker build --no-cache -t ...

Ok, --no-cache fixed that! those next errors ocurred during the install process, are they supposed to happen?

Setting up dbus (1.6.18-0ubuntu4.1) ...
invoke-rc.d: policy-rc.d denied execution of start.

Setting up libpam-systemd:amd64 (204-5ubuntu20.4) ...
invoke-rc.d: unknown initscript, /etc/init.d/systemd-logind not found.
invoke-rc.d: policy-rc.d denied execution of start.
Processing triggers for menu (2.1.46ubuntu1) ...

Setting up packagekit (0.8.12-1ubuntu5) ...
invoke-rc.d: policy-rc.d denied execution of force-reload.
Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Setting up packagekit-tools (0.8.12-1ubuntu5) ...

Well, went thought... everything seems to work fine, but when i attach to :10 nothing else happens

XPRA show its connected, but no windows appear
screenshot from 2014-08-14 08 48 28

I can connect thoguht ssh and start rootless apps "DISPLAY=:10 firefox &"

tesso@tesso:~$ xpra --ssh="ssh -p 49153" attach ssh:docker@127.0.0.1:10
xpra client version 0.12.3
docker@127.0.0.1's password: 2014-08-14 08:34:39,298 PyOpenGL warning: missing accelerate module
2014-08-14 08:34:39,299 PyOpenGL warning: missing array format handlers: numeric, vbo, vbooffset
2014-08-14 08:34:39,299 OpenGL Version: 2.1 Mesa 10.2.0-devel
2014-08-14 08:34:39,312 OpenGL support not enabled: vendor 'VMware, Inc.' is blacklisted!
2014-08-14 08:34:40,281 detected keyboard: rules=evdev, model=a4techKB21, layout=br,us
2014-08-14 08:34:40,282 desktop size is 3200x900 with 1 screen(s):
2014-08-14 08:34:40,282 ':0.0' (847x238 mm) workarea: 3149x876 at 51x24
2014-08-14 08:34:40,282 DVI-0 1600x900 (443x249 mm)
2014-08-14 08:34:40,282 VGA-0 1600x900 at 1600x0 (443x249 mm)

2014-08-14 08:34:50,537 server: Linux Ubuntu 14.04 trusty, Xpra version 0.12.3 (r6075)
2014-08-14 08:34:50,568 Server's virtual screen is too small -- (server: 800x600 vs. client: 3200x900)
You may see strange behavior.
Please see https://www.xpra.org/trac/ticket/10
2014-08-14 08:34:50,568 Attached to ssh:docker@127.0.0.1:10 (press Control-C to detach)

Host machine: Ubuntu 14.04

Fixed. Closing.