Docker Community Forums

Share and learn in the Docker community.

Problem with ubuntu:latest


(Boistordu) #1

Why have I this when I try to use ubuntu:latest in my dockerfile

Get:9 http://archive.ubuntu.com/ubuntu xenial/universe amd64 DEP-11 Metadata [3,410 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial/universe DEP-11 64x64 Icons [7,448 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [336 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [199 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 DEP-11 Metadata [157 B]
Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [107 kB]
Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [119 kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [79.8 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [62.9 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial-security/restricted amd64 DEP-11 Metadata [158 B]
Get:19 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [7,407 B]
Get:20 http://archive.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [16.4 kB]

** (appstreamcli:247): CRITICAL **: Error while moving old database out of the way.
AppStream cache update failed.
Fetched 13.1 MB in 1s (7,505 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package RUN
E: Unable to locate package clone
E: Unable to locate package https://github.com/syl20bnr
E: Couldn't find any package by glob 'https://github.com/syl20bnr'
E: Couldn't find any package by regex 'https://github.com/syl20bnr'
The command '/bin/sh -c DEBIAN_FRONTEND=noninteractive add-apt-repository ppa:ubuntu-desktop/ubuntu-make &&     apt-get update && apt-get install -y     lshw     gettext     gedit     
gnome-terminal     byobu     build-essential     curl     htop     libasound2     libdbus-glib-1-2     gtk+2.0     pango1.0     libxt6     libxrender1     lxde     software-properties-
common  wget    x11vnc  python  python-numpy    unzip   xvfb    firefox         openbox         geany   menu RUN git clone https://github.com/syl20bnr/spacemacs.git' returned a non-zer
o code: 100

is this a ubuntu problem?


(Boistordu) #2

nevermind I found the problem. The encoding of the dockerfile who added some bad sign