KG-demo-for-movie
KG-demo-for-movie copied to clipboard
Dockerfile:Unable to locate package python3.6
=> ERROR [ 9/16] RUN apt-get -y install python3.6 1.9s
[ 9/16] RUN apt-get -y install python3.6: 0.466 Reading package lists... 1.598 Building dependency tree... 1.794 Reading state information... 1.870 E: Unable to locate package python3.6 1.870 E: Couldn't find any package by glob 'python3.6' 1.870 E: Couldn't find any package by regex 'python3.6'
Dockerfile:11
9 | RUN apt-get update 10 | RUN apt-get upgrade -y 11 | >>> RUN apt-get -y install python3.6 12 | RUN apt-get -y install python3.6-dev 13 | RUN apt-get -y install default-jdk
ERROR: failed to solve: process "/bin/sh -c apt-get -y install python3.6" did not complete successfully: exit code: 100
我已收到您的邮件,祝您生活愉快!
Complete Log:
#0 building with "default" instance using docker driver
#1 [internal] load .dockerignore
#1 transferring context: 2B done
#1 DONE 0.0s
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 890B done
#2 DONE 0.1s
#3 [internal] load metadata for docker.io/library/ubuntu:16.04
#3 DONE 1.1s
#4 [ 1/15] FROM docker.io/library/ubuntu:16.04@sha256:1f1a2d56de1d604801a9671f301190704c25d604a416f59e03c04f5c6ffee0d6
#4 DONE 0.0s
#5 [ 2/15] RUN sed -i 's#http://archive.ubuntu.com/#http://mirrors.tuna.tsinghua.edu.cn/#' /etc/apt/sources.list
#5 CACHED
#6 [ 3/15] RUN apt-get update
#6 CACHED
#7 [ 4/15] RUN apt-get -y install python-software-properties
#7 CACHED
#8 [ 6/15] RUN add-apt-repository ppa:deadsnakes/ppa -y
#8 CACHED
#9 [ 5/15] RUN apt-get -y install software-properties-common
#9 CACHED
#10 [ 7/15] RUN apt-get update
#10 CACHED
#11 [internal] load build context
#11 transferring context: 40.33kB 0.0s done
#11 DONE 0.1s
#12 [ 8/15] RUN apt-get -y install python3.6
#12 0.393 Reading package lists...
#12 1.175 Building dependency tree...
#12 1.327 Reading state information...
#12 1.374 E: Unable to locate package python3.6
#12 1.374 E: Couldn't find any package by glob 'python3.6'
#12 1.374 E: Couldn't find any package by regex 'python3.6'
#12 ERROR: process "/bin/sh -c apt-get -y install python3.6" did not complete successfully: exit code: 100
------
> [ 8/15] RUN apt-get -y install python3.6:
1.327 Reading state information...
1.374 E: Unable to locate package python3.6
1.374 E: Couldn't find any package by glob 'python3.6'
1.374 E: Couldn't find any package by regex 'python3.6'
------
Dockerfile:10
--------------------
8 | RUN add-apt-repository ppa:deadsnakes/ppa -y
9 | RUN apt-get update
10 | >>> RUN apt-get -y install python3.6
11 | RUN apt-get -y install python3.6-dev
12 | RUN apt-get -y install default-jdk
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get -y install python3.6" did not complete successfully: exit code: 100
我已收到您的邮件,祝您生活愉快!
我也遇到了同样的问题,请问改如何解决呢?
请问这个问题博主还没解答吗?
我已收到您的邮件,祝您生活愉快!