Wenzel / docker-kdesrc-build

Dockerfiles to compile KDE source code into Docker with kdesrc-build script
GNU General Public License v2.0
47 stars 21 forks source link

Error adding PPA in Ubuntu Dockerfile #2

Closed David-Gil closed 9 years ago

David-Gil commented 9 years ago

Running Ubuntu Dockerfile I get the following message:

Cannot add PPA: 'ppa:ubuntu-sdk-team/ppa'. Please check that the PPA name or format is correct.

Whole log:

david@dgilo:~/devel/KF5> sudo docker build . root's password: Sending build context to Docker daemon 9.216 kB Sending build context to Docker daemon Step 0 : FROM ubuntu:latest ---> 8eaa4ff06b53 Step 1 : MAINTAINER Mathieu Tarral mathieu.tarral@gmail.com ---> Running in 5f986352772a ---> 1d6cbd7598f0 Removing intermediate container 5f986352772a Step 2 : ENV DEBIAN_FRONTEND noninteractive ---> Running in 9434db4bae3c ---> a22a3858582a Removing intermediate container 9434db4bae3c Step 3 : ENV http_proxy 'http://dgilo%40aemet.es:8AchB5@proxy.aemet.es:3128' ---> Running in c7b0dd96d576 ---> 828f1e7d1354 Removing intermediate container c7b0dd96d576 Step 4 : ENV https_proxy 'http://dgilo%40aemet.es:8AchB5@proxy.aemet.es:3128' ---> Running in 039a996816f2 ---> a3ca82f055b4 Removing intermediate container 039a996816f2 Step 5 : ENV HTTP_PROXY 'http://dgilo%40aemet.es:8AchB5@proxy.aemet.es:3128' ---> Running in 8a543c2bcdb7 ---> ce12f8774aaf Removing intermediate container 8a543c2bcdb7 Step 6 : ENV HTTPS_PROXY 'http://dgilo%40aemet.es:8AchB5@proxy.aemet.es:3128' ---> Running in b8f692ebeddd ---> 6d874576b954 Removing intermediate container b8f692ebeddd Step 7 : RUN (apt-get update -y && apt-get dist-upgrade -y && apt-get autoremove -y && apt-get clean -y) ---> Running in 2259877362c9 Ign http://archive.ubuntu.com trusty InRelease Ign http://archive.ubuntu.com trusty-updates InRelease Ign http://archive.ubuntu.com trusty-security InRelease Hit http://archive.ubuntu.com trusty Release.gpg Get:1 http://archive.ubuntu.com trusty-updates Release.gpg [933 B] Get:2 http://archive.ubuntu.com trusty-security Release.gpg [933 B] Hit http://archive.ubuntu.com trusty Release Get:3 http://archive.ubuntu.com trusty-updates Release [62.0 kB] Get:4 http://archive.ubuntu.com trusty-security Release [62.0 kB] Get:5 http://archive.ubuntu.com trusty/main Sources [1335 kB] Get:6 http://archive.ubuntu.com trusty/restricted Sources [5335 B] Get:7 http://archive.ubuntu.com trusty/universe Sources [7926 kB] Get:8 http://archive.ubuntu.com trusty/main amd64 Packages [1743 kB] Get:9 http://archive.ubuntu.com trusty/restricted amd64 Packages [16.0 kB] Get:10 http://archive.ubuntu.com trusty/universe amd64 Packages [7589 kB] Get:11 http://archive.ubuntu.com trusty-updates/main Sources [195 kB] Get:12 http://archive.ubuntu.com trusty-updates/restricted Sources [1874 B] Get:13 http://archive.ubuntu.com trusty-updates/universe Sources [120 kB] Get:14 http://archive.ubuntu.com trusty-updates/main amd64 Packages [499 kB] Get:15 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [14.8 kB] Get:16 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [307 kB] Get:17 http://archive.ubuntu.com trusty-security/main Sources [72.8 kB] Get:18 http://archive.ubuntu.com trusty-security/restricted Sources [1874 B] Get:19 http://archive.ubuntu.com trusty-security/universe Sources [19.1 kB] Get:20 http://archive.ubuntu.com trusty-security/main amd64 Packages [235 kB] Get:21 http://archive.ubuntu.com trusty-security/restricted amd64 Packages [14.8 kB] Get:22 http://archive.ubuntu.com trusty-security/universe amd64 Packages [106 kB] Fetched 20.3 MB in 36s (553 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: libcgmanager0 mime-support 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 58.6 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mime-support all 3.54ubuntu1.1 [29.3 kB] Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libcgmanager0 amd64 0.24-0ubuntu7.1 [29.3 kB] Fetched 58.6 kB in 0s (139 kB/s) (Reading database ... 11527 files and directories currently installed.) Preparing to unpack .../mime-support_3.54ubuntu1.1_all.deb ... Unpacking mime-support (3.54ubuntu1.1) over (3.54ubuntu1) ... Preparing to unpack .../libcgmanager0_0.24-0ubuntu7.1_amd64.deb ... Unpacking libcgmanager0:amd64 (0.24-0ubuntu7.1) over (0.24-0ubuntu7) ... Setting up mime-support (3.54ubuntu1.1) ... Setting up libcgmanager0:amd64 (0.24-0ubuntu7.1) ... Processing triggers for libc-bin (2.19-0ubuntu6.4) ... Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ---> bc752e463aa0 Removing intermediate container 2259877362c9 Step 8 : RUN apt-get install -y software-properties-common ---> Running in ca2ea4541c2b Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: ca-certificates gir1.2-glib-2.0 iso-codes krb5-locales libasn1-8-heimdal libcurl3-gnutls libdbus-glib-1-2 libgirepository-1.0-1 libglib2.0-0 libglib2.0-data libgssapi-krb5-2 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libidn11 libk5crypto3 libkeyutils1 libkrb5-26-heimdal libkrb5-3 libkrb5support0 libldap-2.4-2 libroken18-heimdal librtmp0 libsasl2-2 libsasl2-modules libsasl2-modules-db libwind0-heimdal libxml2 openssl python-apt-common python3-apt python3-dbus python3-gi python3-pycurl python3-software-properties sgml-base shared-mime-info unattended-upgrades xml-core xz-utils Suggested packages: isoquery krb5-doc krb5-user libsasl2-modules-otp libsasl2-modules-ldap libsasl2-modules-sql libsasl2-modules-gssapi-mit libsasl2-modules-gssapi-heimdal python3-apt-dbg python-apt-doc python-dbus-doc python3-dbus-dbg libcurl4-gnutls-dev python3-pycurl-dbg sgml-base-doc bsd-mailx mail-transport-agent debhelper The following NEW packages will be installed: ca-certificates gir1.2-glib-2.0 iso-codes krb5-locales libasn1-8-heimdal libcurl3-gnutls libdbus-glib-1-2 libgirepository-1.0-1 libglib2.0-0 libglib2.0-data libgssapi-krb5-2 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libidn11 libk5crypto3 libkeyutils1 libkrb5-26-heimdal libkrb5-3 libkrb5support0 libldap-2.4-2 libroken18-heimdal librtmp0 libsasl2-2 libsasl2-modules libsasl2-modules-db libwind0-heimdal libxml2 openssl python-apt-common python3-apt python3-dbus python3-gi python3-pycurl python3-software-properties sgml-base shared-mime-info software-properties-common unattended-upgrades xml-core xz-utils 0 upgraded, 43 newly installed, 0 to remove and 0 not upgraded. Need to get 7663 kB of archives. After this operation, 42.0 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libroken18-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1 [40.0 kB] Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main libasn1-8-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1 [160 kB] Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libkrb5support0 amd64 1.12+dfsg-2ubuntu4.2 [29.8 kB] Get:4 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libk5crypto3 amd64 1.12+dfsg-2ubuntu4.2 [79.8 kB] Get:5 http://archive.ubuntu.com/ubuntu/ trusty/main libkeyutils1 amd64 1.5.6-1 [7318 B] Get:6 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libkrb5-3 amd64 1.12+dfsg-2ubuntu4.2 [262 kB] Get:7 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgssapi-krb5-2 amd64 1.12+dfsg-2ubuntu4.2 [113 kB] Get:8 http://archive.ubuntu.com/ubuntu/ trusty/main libidn11 amd64 1.28-1ubuntu2 [93.0 kB] Get:9 http://archive.ubuntu.com/ubuntu/ trusty/main libhcrypto4-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1 [84.0 kB] Get:10 http://archive.ubuntu.com/ubuntu/ trusty/main libheimbase1-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1 [29.0 kB] Get:11 http://archive.ubuntu.com/ubuntu/ trusty/main libwind0-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1 [47.8 kB] Get:12 http://archive.ubuntu.com/ubuntu/ trusty/main libhx509-5-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1 [104 kB] Get:13 http://archive.ubuntu.com/ubuntu/ trusty/main libkrb5-26-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1 [197 kB] Get:14 http://archive.ubuntu.com/ubuntu/ trusty/main libheimntlm0-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1 [15.2 kB] Get:15 http://archive.ubuntu.com/ubuntu/ trusty/main libgssapi3-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1 [90.1 kB] Get:16 http://archive.ubuntu.com/ubuntu/ trusty/main libsasl2-modules-db amd64 2.1.25.dfsg1-17build1 [14.9 kB] Get:17 http://archive.ubuntu.com/ubuntu/ trusty/main libsasl2-2 amd64 2.1.25.dfsg1-17build1 [56.5 kB] Get:18 http://archive.ubuntu.com/ubuntu/ trusty/main libldap-2.4-2 amd64 2.4.31-1+nmu2ubuntu8 [154 kB] Get:19 http://archive.ubuntu.com/ubuntu/ trusty/main librtmp0 amd64 2.4+20121230.gitdf6c518-1 [57.5 kB] Get:20 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libcurl3-gnutls amd64 7.35.0-1ubuntu2.2 [165 kB] Get:21 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libglib2.0-0 amd64 2.40.2-0ubuntu1 [1058 kB] Get:22 http://archive.ubuntu.com/ubuntu/ trusty/main libdbus-glib-1-2 amd64 0.100.2-1 [74.1 kB] Get:23 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libxml2 amd64 2.9.1+dfsg1-3ubuntu4.4 [570 kB] Get:24 http://archive.ubuntu.com/ubuntu/ trusty/main sgml-base all 1.26+nmu4ubuntu1 [12.5 kB] Get:25 http://archive.ubuntu.com/ubuntu/ trusty-updates/main openssl amd64 1.0.1f-1ubuntu2.7 [489 kB] Get:26 http://archive.ubuntu.com/ubuntu/ trusty/main ca-certificates all 20130906ubuntu2 [175 kB] Get:27 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgirepository-1.0-1 amd64 1.40.0-1ubuntu0.2 [85.6 kB] Get:28 http://archive.ubuntu.com/ubuntu/ trusty-updates/main gir1.2-glib-2.0 amd64 1.40.0-1ubuntu0.2 [124 kB] Get:29 http://archive.ubuntu.com/ubuntu/ trusty/main iso-codes all 3.52-1 [2073 kB] Get:30 http://archive.ubuntu.com/ubuntu/ trusty-updates/main krb5-locales all 1.12+dfsg-2ubuntu4.2 [12.6 kB] Get:31 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libglib2.0-data all 2.40.2-0ubuntu1 [116 kB] Get:32 http://archive.ubuntu.com/ubuntu/ trusty/main libsasl2-modules amd64 2.1.25.dfsg1-17build1 [64.3 kB] Get:33 http://archive.ubuntu.com/ubuntu/ trusty/main python-apt-common all 0.9.3.5 [17.3 kB] Get:34 http://archive.ubuntu.com/ubuntu/ trusty/main python3-apt amd64 0.9.3.5 [139 kB] Get:35 http://archive.ubuntu.com/ubuntu/ trusty/main python3-dbus amd64 1.2.0-2build2 [82.1 kB] Get:36 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python3-gi amd64 3.12.0-1ubuntu1 [154 kB] Get:37 http://archive.ubuntu.com/ubuntu/ trusty/main shared-mime-info amd64 1.2-0ubuntu3 [415 kB] Get:38 http://archive.ubuntu.com/ubuntu/ trusty/main xml-core all 0.13+nmu2 [23.3 kB] Get:39 http://archive.ubuntu.com/ubuntu/ trusty/main python3-pycurl amd64 7.19.3-0ubuntu3 [47.5 kB] Get:40 http://archive.ubuntu.com/ubuntu/ trusty/main xz-utils amd64 5.1.1alpha+20120614-2ubuntu2 [78.8 kB] Get:41 http://archive.ubuntu.com/ubuntu/ trusty/main unattended-upgrades all 0.82.1ubuntu2 [25.5 kB] Get:42 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python3-software-properties all 0.92.37.2 [19.2 kB] Get:43 http://archive.ubuntu.com/ubuntu/ trusty-updates/main software-properties-common all 0.92.37.2 [9386 B] Extracting templates from packages: 100% Preconfiguring packages ... Fetched 7663 kB in 17s (435 kB/s) Selecting previously unselected package libroken18-heimdal:amd64. (Reading database ... 11527 files and directories currently installed.) Preparing to unpack .../libroken18-heimdal_1.6~git20131207+dfsg-1ubuntu1_amd64.deb ... Unpacking libroken18-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ... Selecting previously unselected package libasn1-8-heimdal:amd64. Preparing to unpack .../libasn1-8-heimdal_1.6~git20131207+dfsg-1ubuntu1_amd64.deb ... Unpacking libasn1-8-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ... Selecting previously unselected package libkrb5support0:amd64. Preparing to unpack .../libkrb5support0_1.12+dfsg-2ubuntu4.2_amd64.deb ... Unpacking libkrb5support0:amd64 (1.12+dfsg-2ubuntu4.2) ... Selecting previously unselected package libk5crypto3:amd64. Preparing to unpack .../libk5crypto3_1.12+dfsg-2ubuntu4.2_amd64.deb ... Unpacking libk5crypto3:amd64 (1.12+dfsg-2ubuntu4.2) ... Selecting previously unselected package libkeyutils1:amd64. Preparing to unpack .../libkeyutils1_1.5.6-1_amd64.deb ... Unpacking libkeyutils1:amd64 (1.5.6-1) ... Selecting previously unselected package libkrb5-3:amd64. Preparing to unpack .../libkrb5-3_1.12+dfsg-2ubuntu4.2_amd64.deb ... Unpacking libkrb5-3:amd64 (1.12+dfsg-2ubuntu4.2) ... Selecting previously unselected package libgssapi-krb5-2:amd64. Preparing to unpack .../libgssapi-krb5-2_1.12+dfsg-2ubuntu4.2_amd64.deb ... Unpacking libgssapi-krb5-2:amd64 (1.12+dfsg-2ubuntu4.2) ... Selecting previously unselected package libidn11:amd64. Preparing to unpack .../libidn11_1.28-1ubuntu2_amd64.deb ... Unpacking libidn11:amd64 (1.28-1ubuntu2) ... Selecting previously unselected package libhcrypto4-heimdal:amd64. Preparing to unpack .../libhcrypto4-heimdal_1.6~git20131207+dfsg-1ubuntu1_amd64.deb ... Unpacking libhcrypto4-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ... Selecting previously unselected package libheimbase1-heimdal:amd64. Preparing to unpack .../libheimbase1-heimdal_1.6~git20131207+dfsg-1ubuntu1_amd64.deb ... Unpacking libheimbase1-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ... Selecting previously unselected package libwind0-heimdal:amd64. Preparing to unpack .../libwind0-heimdal_1.6~git20131207+dfsg-1ubuntu1_amd64.deb ... Unpacking libwind0-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ... Selecting previously unselected package libhx509-5-heimdal:amd64. Preparing to unpack .../libhx509-5-heimdal_1.6~git20131207+dfsg-1ubuntu1_amd64.deb ... Unpacking libhx509-5-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ... Selecting previously unselected package libkrb5-26-heimdal:amd64. Preparing to unpack .../libkrb5-26-heimdal_1.6~git20131207+dfsg-1ubuntu1_amd64.deb ... Unpacking libkrb5-26-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ... Selecting previously unselected package libheimntlm0-heimdal:amd64. Preparing to unpack .../libheimntlm0-heimdal_1.6~git20131207+dfsg-1ubuntu1_amd64.deb ... Unpacking libheimntlm0-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ... Selecting previously unselected package libgssapi3-heimdal:amd64. Preparing to unpack .../libgssapi3-heimdal_1.6~git20131207+dfsg-1ubuntu1_amd64.deb ... Unpacking libgssapi3-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ... Selecting previously unselected package libsasl2-modules-db:amd64. Preparing to unpack .../libsasl2-modules-db_2.1.25.dfsg1-17build1_amd64.deb ... Unpacking libsasl2-modules-db:amd64 (2.1.25.dfsg1-17build1) ... Selecting previously unselected package libsasl2-2:amd64. Preparing to unpack .../libsasl2-2_2.1.25.dfsg1-17build1_amd64.deb ... Unpacking libsasl2-2:amd64 (2.1.25.dfsg1-17build1) ... Selecting previously unselected package libldap-2.4-2:amd64. Preparing to unpack .../libldap-2.4-2_2.4.31-1+nmu2ubuntu8_amd64.deb ... Unpacking libldap-2.4-2:amd64 (2.4.31-1+nmu2ubuntu8) ... Selecting previously unselected package librtmp0:amd64. Preparing to unpack .../librtmp0_2.4+20121230.gitdf6c518-1_amd64.deb ... Unpacking librtmp0:amd64 (2.4+20121230.gitdf6c518-1) ... Selecting previously unselected package libcurl3-gnutls:amd64. Preparing to unpack .../libcurl3-gnutls_7.35.0-1ubuntu2.2_amd64.deb ... Unpacking libcurl3-gnutls:amd64 (7.35.0-1ubuntu2.2) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../libglib2.0-0_2.40.2-0ubuntu1_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.40.2-0ubuntu1) ... Selecting previously unselected package libdbus-glib-1-2:amd64. Preparing to unpack .../libdbus-glib-1-2_0.100.2-1_amd64.deb ... Unpacking libdbus-glib-1-2:amd64 (0.100.2-1) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../libxml2_2.9.1+dfsg1-3ubuntu4.4_amd64.deb ... Unpacking libxml2:amd64 (2.9.1+dfsg1-3ubuntu4.4) ... Selecting previously unselected package sgml-base. Preparing to unpack .../sgml-base_1.26+nmu4ubuntu1_all.deb ... Unpacking sgml-base (1.26+nmu4ubuntu1) ... Selecting previously unselected package openssl. Preparing to unpack .../openssl_1.0.1f-1ubuntu2.7_amd64.deb ... Unpacking openssl (1.0.1f-1ubuntu2.7) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../ca-certificates_20130906ubuntu2_all.deb ... Unpacking ca-certificates (20130906ubuntu2) ... Selecting previously unselected package libgirepository-1.0-1. Preparing to unpack .../libgirepository-1.0-1_1.40.0-1ubuntu0.2_amd64.deb ... Unpacking libgirepository-1.0-1 (1.40.0-1ubuntu0.2) ... Selecting previously unselected package gir1.2-glib-2.0. Preparing to unpack .../gir1.2-glib-2.0_1.40.0-1ubuntu0.2_amd64.deb ... Unpacking gir1.2-glib-2.0 (1.40.0-1ubuntu0.2) ... Selecting previously unselected package iso-codes. Preparing to unpack .../iso-codes_3.52-1_all.deb ... Unpacking iso-codes (3.52-1) ... Selecting previously unselected package krb5-locales. Preparing to unpack .../krb5-locales_1.12+dfsg-2ubuntu4.2_all.deb ... Unpacking krb5-locales (1.12+dfsg-2ubuntu4.2) ... Selecting previously unselected package libglib2.0-data. Preparing to unpack .../libglib2.0-data_2.40.2-0ubuntu1_all.deb ... Unpacking libglib2.0-data (2.40.2-0ubuntu1) ... Selecting previously unselected package libsasl2-modules:amd64. Preparing to unpack .../libsasl2-modules_2.1.25.dfsg1-17build1_amd64.deb ... Unpacking libsasl2-modules:amd64 (2.1.25.dfsg1-17build1) ... Selecting previously unselected package python-apt-common. Preparing to unpack .../python-apt-common_0.9.3.5_all.deb ... Unpacking python-apt-common (0.9.3.5) ... Selecting previously unselected package python3-apt. Preparing to unpack .../python3-apt_0.9.3.5_amd64.deb ... Unpacking python3-apt (0.9.3.5) ... Selecting previously unselected package python3-dbus. Preparing to unpack .../python3-dbus_1.2.0-2build2_amd64.deb ... Unpacking python3-dbus (1.2.0-2build2) ... Selecting previously unselected package python3-gi. Preparing to unpack .../python3-gi_3.12.0-1ubuntu1_amd64.deb ... Unpacking python3-gi (3.12.0-1ubuntu1) ... Selecting previously unselected package shared-mime-info. Preparing to unpack .../shared-mime-info_1.2-0ubuntu3_amd64.deb ... Unpacking shared-mime-info (1.2-0ubuntu3) ... Selecting previously unselected package xml-core. Preparing to unpack .../xml-core_0.13+nmu2_all.deb ... Unpacking xml-core (0.13+nmu2) ... Selecting previously unselected package python3-pycurl. Preparing to unpack .../python3-pycurl_7.19.3-0ubuntu3_amd64.deb ... Unpacking python3-pycurl (7.19.3-0ubuntu3) ... Selecting previously unselected package xz-utils. Preparing to unpack .../xz-utils_5.1.1alpha+20120614-2ubuntu2_amd64.deb ... Unpacking xz-utils (5.1.1alpha+20120614-2ubuntu2) ... Selecting previously unselected package unattended-upgrades. Preparing to unpack .../unattended-upgrades_0.82.1ubuntu2_all.deb ... Unpacking unattended-upgrades (0.82.1ubuntu2) ... Selecting previously unselected package python3-software-properties. Preparing to unpack .../python3-software-properties_0.92.37.2_all.deb ... Unpacking python3-software-properties (0.92.37.2) ... Selecting previously unselected package software-properties-common. Preparing to unpack .../software-properties-common_0.92.37.2_all.deb ... Unpacking software-properties-common (0.92.37.2) ... Processing triggers for ureadahead (0.100.0-16) ... Setting up libroken18-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ... Setting up libasn1-8-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ... Setting up libkrb5support0:amd64 (1.12+dfsg-2ubuntu4.2) ... Setting up libk5crypto3:amd64 (1.12+dfsg-2ubuntu4.2) ... Setting up libkeyutils1:amd64 (1.5.6-1) ... Setting up libkrb5-3:amd64 (1.12+dfsg-2ubuntu4.2) ... Setting up libgssapi-krb5-2:amd64 (1.12+dfsg-2ubuntu4.2) ... Setting up libidn11:amd64 (1.28-1ubuntu2) ... Setting up libhcrypto4-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ... Setting up libheimbase1-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ... Setting up libwind0-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ... Setting up libhx509-5-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ... Setting up libkrb5-26-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ... Setting up libheimntlm0-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ... Setting up libgssapi3-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ... Setting up libsasl2-modules-db:amd64 (2.1.25.dfsg1-17build1) ... Setting up libsasl2-2:amd64 (2.1.25.dfsg1-17build1) ... Setting up libldap-2.4-2:amd64 (2.4.31-1+nmu2ubuntu8) ... Setting up librtmp0:amd64 (2.4+20121230.gitdf6c518-1) ... Setting up libcurl3-gnutls:amd64 (7.35.0-1ubuntu2.2) ... Setting up libglib2.0-0:amd64 (2.40.2-0ubuntu1) ... No schema files found: doing nothing. Setting up libdbus-glib-1-2:amd64 (0.100.2-1) ... Setting up libxml2:amd64 (2.9.1+dfsg1-3ubuntu4.4) ... Setting up sgml-base (1.26+nmu4ubuntu1) ... Setting up openssl (1.0.1f-1ubuntu2.7) ... Setting up ca-certificates (20130906ubuntu2) ... Setting up libgirepository-1.0-1 (1.40.0-1ubuntu0.2) ... Setting up gir1.2-glib-2.0 (1.40.0-1ubuntu0.2) ... Setting up iso-codes (3.52-1) ... Setting up krb5-locales (1.12+dfsg-2ubuntu4.2) ... Setting up libglib2.0-data (2.40.2-0ubuntu1) ... Setting up libsasl2-modules:amd64 (2.1.25.dfsg1-17build1) ... Setting up python-apt-common (0.9.3.5) ... Setting up python3-apt (0.9.3.5) ... Setting up python3-dbus (1.2.0-2build2) ... Setting up python3-gi (3.12.0-1ubuntu1) ... Setting up shared-mime-info (1.2-0ubuntu3) ... Setting up xml-core (0.13+nmu2) ... Setting up python3-pycurl (7.19.3-0ubuntu3) ... Setting up xz-utils (5.1.1alpha+20120614-2ubuntu2) ... update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode Setting up unattended-upgrades (0.82.1ubuntu2) ... Processing triggers for ureadahead (0.100.0-16) ... Setting up python3-software-properties (0.92.37.2) ... Setting up software-properties-common (0.92.37.2) ... Processing triggers for libc-bin (2.19-0ubuntu6.4) ... Processing triggers for ca-certificates (20130906ubuntu2) ... Updating certificates in /etc/ssl/certs... 164 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d....done. Processing triggers for sgml-base (1.26+nmu4ubuntu1) ... ---> 2cb4076041f5 Removing intermediate container ca2ea4541c2b Step 9 : RUN useradd -m docker ---> Running in 839035bd77fa ---> c8d0ba812973 Removing intermediate container 839035bd77fa Step 10 : RUN apt-get install -y sudo ---> Running in 3419c224e331 Reading package lists... Building dependency tree... Reading state information... sudo is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ---> 285d1e682b8c Removing intermediate container 3419c224e331 Step 11 : RUN echo "docker ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers ---> Running in 4dc9f2c00932 ---> 4a5043e522e2 Removing intermediate container 4dc9f2c00932 Step 12 : RUN apt-add-repository ppa:ubuntu-sdk-team/ppa && apt-get update ---> Running in f66e42e722b4 Cannot add PPA: 'ppa:ubuntu-sdk-team/ppa'. Please check that the PPA name or format is correct. 2015/01/08 10:22:03 The command [/bin/sh -c apt-add-repository ppa:ubuntu-sdk-team/ppa && apt-get update] returned a non-zero code: 1

Wenzel commented 9 years ago

Hello,

I tried to rebuild this container and I didn't get any error. I did some research about the error message 'Please check that the PPA name or format is correct.', and it's likely that the problem lies in the communication with the server.

This post suggest that it might be relate to a CA certificate error.

Please try to put this line before adding the PPA : RUN apt-get install --reinstall ca-certificates

David-Gil commented 9 years ago

Didn't work. Since I'm behind a proxy server, I entered the container and configured apt with the proxy server in apt.conf (environment variables are assigned through the Dockerfile, but I wanted to know whether it was the problem). It still doesn't work and gives the same message.

David-Gil commented 9 years ago

BTW, I install git and it works OK, so it's apt-related.

Wenzel commented 9 years ago

I fixed the base image to ubuntu:14.04 and hardcoded the URL. You should not have any issues with this build now.

David-Gil commented 9 years ago

Confirmed: no issues! :-D