先fork到自己的账号下,连接到heroku下无法创建成功,出错信息如下:
=== Fetching app code
=== Building web (Dockerfile)
Sending build context to Docker daemon 2.368MBStep 1/7 : FROM debian:sid
sid: Pulling from library/debian
a9fedee3000f: Pulling fs layer
a9fedee3000f: Verifying Checksum
a9fedee3000f: Download complete
a9fedee3000f: Pull complete
Digest: sha256:022a3cafe84d704c272794863ca5e383667c99312358e816ad1ff6e9a41ce4f6
Status: Downloaded newer image for debian:sid
---> a7723f2657fb
Step 2/7 : RUN set -ex && apt update -y && apt upgrade -y && apt install -y wget unzip qrencode && apt install -y shadowsocks-libev && apt install -y nginx && apt autoremove -y
---> Running in cbcfe31bfe0e
apt update -y
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Get:1 http://deb.debian.org/debian sid InRelease [161 kB]
Get:2 http://deb.debian.org/debian sid/main amd64 Packages [9372 kB]
Fetched 9533 kB in 1s (7719 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
9 packages can be upgraded. Run 'apt list --upgradable' to see them.
apt upgrade -y
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
base-files libc-bin libc6 libpam-modules libpam-modules-bin libpam-runtime
libpam0g login passwd
9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 6296 kB of archives.
After this operation, 268 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian sid/main amd64 base-files amd64 12.3 [70.3 kB]
Get:2 http://deb.debian.org/debian sid/main amd64 login amd64 1:4.12.3+dfsg1-1 [656 kB]
Get:3 http://deb.debian.org/debian sid/main amd64 libc6 amd64 2.35-2 [2944 kB]
Get:4 http://deb.debian.org/debian sid/main amd64 libc-bin amd64 2.35-2 [822 kB]
Get:5 http://deb.debian.org/debian sid/main amd64 libpam0g amd64 1.5.2-3 [131 kB]
Get:6 http://deb.debian.org/debian sid/main amd64 libpam-modules-bin amd64 1.5.2-3 [118 kB]
Get:7 http://deb.debian.org/debian sid/main amd64 libpam-modules amd64 1.5.2-3 [331 kB]
Get:8 http://deb.debian.org/debian sid/main amd64 libpam-runtime all 1.5.2-3 [200 kB]
Get:9 http://deb.debian.org/debian sid/main amd64 passwd amd64 1:4.12.3+dfsg1-1 [1024 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 6296 kB in 0s (94.4 MB/s)
(Reading database ... (Reading database ... 5%(Reading database ... 75%(Reading database ... 100%
Preparing to unpack .../base-files_12.3_amd64.deb ...
Unpacking base-files (12.3) over (12.2) ...
Setting up base-files (12.3) ...
(Reading database ... (Reading database ... 15%(Reading database ... 80%
Preparing to unpack .../login_1%3a4.12.3+dfsg1-1_amd64.deb ...
Unpacking login (1:4.12.3+dfsg1-1) over (1:4.11.1+dfsg1-2) ...
Setting up login (1:4.12.3+dfsg1-1) ...
(Reading database ... (Reading database ... 5%(Reading database ... 75%
Preparing to unpack .../libc6_2.35-2_amd64.deb ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.34.0 /usr/local/share/perl/5.34.0 /usr/lib/x86_64-linux-gnu/perl5/5.34 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.34 /usr/share/perl/5.34 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Unpacking libc6:amd64 (2.35-2) over (2.35-1) ...
Setting up libc6:amd64 (2.35-2) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.34.0 /usr/local/share/perl/5.34.0 /usr/lib/x86_64-linux-gnu/perl5/5.34 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.34 /usr/share/perl/5.34 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
(Reading database ... (Reading database ... 5%(Reading database ... 80%
Preparing to unpack .../libc-bin_2.35-2_amd64.deb ...
Unpacking libc-bin (2.35-2) over (2.35-1) ...
Setting up libc-bin (2.35-2) ...
(Reading database ... (Reading database ... 5%(Reading database ... 75%(Reading database ... 100%
Preparing to unpack .../libpam0g_1.5.2-3_amd64.deb ...
Unpacking libpam0g:amd64 (1.5.2-3) over (1.5.2-2) ...
Setting up libpam0g:amd64 (1.5.2-3) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.34.0 /usr/local/share/perl/5.34.0 /usr/lib/x86_64-linux-gnu/perl5/5.34 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.34 /usr/share/perl/5.34 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
(Reading database ... (Reading database ... 5%(Reading database ... 80%(Reading database ... 100%
Preparing to unpack .../libpam-modules-bin_1.5.2-3_amd64.deb ...
Unpacking libpam-modules-bin (1.5.2-3) over (1.5.2-2) ...
dpkg: error processing archive /var/cache/apt/archives/libpam-modules-bin_1.5.2-3_amd64.deb (--unpack):
trying to overwrite '/usr/share/man/man5/namespace.conf.5.gz', which is also in package libpam-modules:amd64 1.5.2-2
Errors were encountered while processing:
/var/cache/apt/archives/libpam-modules-bin_1.5.2-3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
The command '/bin/sh -c set -ex && apt update -y && apt upgrade -y && apt install -y wget unzip qrencode && apt install -y shadowsocks-libev && apt install -y nginx && apt autoremove -y' returned a non-zero code: 100
先fork到自己的账号下,连接到heroku下无法创建成功,出错信息如下: === Fetching app code === Building web (Dockerfile) Sending build context to Docker daemon 2.368MBStep 1/7 : FROM debian:sid sid: Pulling from library/debian a9fedee3000f: Pulling fs layer a9fedee3000f: Verifying Checksum a9fedee3000f: Download complete a9fedee3000f: Pull complete Digest: sha256:022a3cafe84d704c272794863ca5e383667c99312358e816ad1ff6e9a41ce4f6 Status: Downloaded newer image for debian:sid ---> a7723f2657fb Step 2/7 : RUN set -ex && apt update -y && apt upgrade -y && apt install -y wget unzip qrencode && apt install -y shadowsocks-libev && apt install -y nginx && apt autoremove -y ---> Running in cbcfe31bfe0e
请指教