rogaha/docker-desktop

xdm not available

Closed this issue · 2 comments

Hi,

Not a defect, but this might help others:

I get this error when building the image:

root@lp01728:/space/docker# docker build -t zwischenzugs/docker-desktop git://github.com/rogaha/docker-desktop.git
Step 1 : FROM ubuntu:12.10
---> b750fe79269d
Step 2 : MAINTAINER Roberto G. Hashioka "roberto_hashioka@hotmail.com"
---> Using cache
---> d60f2e1b6916
Step 3 : RUN apt-get update
---> Using cache
---> 55b6655dc9b4
Step 4 : ENV DEBIAN_FRONTEND noninteractive
---> Using cache
---> ecb989327277
Step 5 : RUN apt-get install -y xpra rox-filer ssh pwgen xserver-xephyr xdm fluxbox
---> Running in 6683aa0f970d
Reading package lists...
Building dependency tree...
Package xdm is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package xpra
E: Unable to locate package rox-filer
E: Unable to locate package xserver-xephyr
E: Package 'xdm' has no installation candidate
E: Unable to locate package fluxbox
Error build: The command [/bin/sh -c apt-get install -y xpra rox-filer ssh pwgen xserver-xephyr xdm fluxbox] returned a non-zero code: 100
The command [/bin/sh -c apt-get install -y xpra rox-filer ssh pwgen xserver-xephyr xdm fluxbox] returned a non-zero code: 100

root@lp01728:/space/docker#

However, when I run the build by hand it seems to work.

Solution was to add no-cache:

root@lp01728:/space/docker# docker build -no-cache=true /space/git/docker-desktop

zwischenzugs

Hi @zwischenzugs,

Thanks for sharing this issue. I'll try to replicate it and I'll test your solution.

Regards,
Roberto

Hi @zwischenzugs,

I was not able to replicate it using the latest version of docker. I'm going to close this issue, but feel free to open it again if you have this type of problem again!

Thanks