LINUX.ORG.RU
ФорумAdmin

docker: Не могу собрать образ на базе ubuntu-18.04 (Проблемы с apt и ключами: E: The repository '...' is not signed.)

 , , ddocker


0

1

Здравствуйте! Мой Dockerfile:

FROM appium/appium
ARG PYTHON_VERSION=3.8

RUN apt update && apt install -y \
    software-properties-common \
    apt-utils
RUN add-apt-repository ppa:deadsnakes/ppa -y 
RUN apt update && apt install -y \
    python$PYTHON_VERSION \
    python$PYTHON_VERSION-dev \
    python$PYTHON_VERSION-venv
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.6 1 && \
    update-alternatives --install /usr/bin/python python /usr/bin/python3.8 2 && \
    update-alternatives  --set python /usr/bin/python3.8
RUN curl "https://bootstrap.pypa.io/get-pip.py" -o get-pip.py \
    && python get-pip.py

Собираю: docker build -t appium-tests:v1 $PWD

Получаю:

Sending build context to Docker daemon    898kB
Step 1/15 : FROM appium/appium
 ---> db8c3c16635e
Step 2/15 : ARG PYTHON_VERSION=3.8
 ---> Using cache
 ---> 79411aa67e20
Step 3/15 : RUN apt update && apt install -y     software-properties-common     apt-utils
 ---> Running in 32559f925924

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease
  At least one invalid signature was encountered.
Err:2 http://security.ubuntu.com/ubuntu bionic-security InRelease
  At least one invalid signature was encountered.
Err:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
  At least one invalid signature was encountered.
Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Err:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
  At least one invalid signature was encountered.
Get:5 https://deb.nodesource.com/node_12.x bionic InRelease [4584 B]
Err:5 https://deb.nodesource.com/node_12.x bionic InRelease
  At least one invalid signature was encountered.
Fetched 257 kB in 5s (47.2 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
12 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com/ubuntu bionic InRelease: At least one invalid signature was encountered.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.ubuntu.com/ubuntu bionic-security InRelease: At least one invalid signature was encountered.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com/ubuntu bionic-updates InRelease: At least one invalid signature was encountered.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com/ubuntu bionic-backports InRelease: At least one invalid signature was encountered.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://deb.nodesource.com/node_12.x bionic InRelease: At least one invalid signature was encountered.
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease  At least one invalid signature was encountered.
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease  At least one invalid signature was encountered.
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease  At least one invalid signature was encountered.
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease  At least one invalid signature was encountered.
W: Failed to fetch https://deb.nodesource.com/node_12.x/dists/bionic/InRelease  At least one invalid signature was encountered.
W: Some index files failed to download. They have been ignored, or old ones used instead.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  cron gir1.2-glib-2.0 libgirepository-1.0-1 powermgmt-base python3-dbus
  python3-gi python3-software-properties unattended-upgrades xz-utils
Suggested packages:
  anacron logrotate checksecurity exim4 | postfix | mail-transport-agent
  python-dbus-doc python3-dbus-dbg bsd-mailx default-mta
  | mail-transport-agent needrestart
The following NEW packages will be installed:
  apt-utils cron gir1.2-glib-2.0 libgirepository-1.0-1 powermgmt-base
  python3-dbus python3-gi python3-software-properties
  software-properties-common unattended-upgrades xz-utils
0 upgraded, 11 newly installed, 0 to remove and 12 not upgraded.
Need to get 899 kB of archives.
After this operation, 4210 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 cron amd64 3.0pl1-128.1ubuntu1 [68.8 kB]
Err:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 apt-utils amd64 1.6.12
  404  Not Found [IP: 91.189.88.142 80]
Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgirepository-1.0-1 amd64 1.56.1-1 [82.0 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 gir1.2-glib-2.0 amd64 1.56.1-1 [131 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-dbus amd64 1.2.6-1 [89.9 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-gi amd64 3.26.1-2ubuntu1 [153 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 xz-utils amd64 5.2.2-1.3 [83.8 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 powermgmt-base all 1.33 [8660 B]
Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-software-properties all 0.96.24.32.12 [23.6 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 software-properties-common all 0.96.24.32.12 [10.0 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 unattended-upgrades all 1.1ubuntu1.18.04.14 [41.7 kB]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/apt/apt-utils_1.6.12_amd64.deb  404  Not Found [IP: 91.189.88.142 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Fetched 692 kB in 5s (130 kB/s)
The command '/bin/sh -c apt update && apt install -y     software-properties-common     apt-utils' returned a non-zero code: 100

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com/ubuntu bionic InRelease: At least one invalid signature was encountered. - странно… раньше такого не было…

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/apt/apt-utils_1.6.12_amd64.deb 404 Not Found [IP: 91.189.88.142 80] - ну ок, пёс с ним, с этим пакетом, тем более, что уже точно не помню зачем его добавлял (скорее всего из-за debconf: delaying package configuration, since apt-utils is not installed)

Теперь падает при попытке добавить PPA с мёртвыми змеями:

W: GPG error: http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease: At least one invalid signature was encountered.
E: The repository 'http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease' is not signed.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com/ubuntu bionic InRelease: At least one invalid signature was encountered.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.ubuntu.com/ubuntu bionic-security InRelease: At least one invalid signature was encountered.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com/ubuntu bionic-updates InRelease: At least one invalid signature was encountered.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com/ubuntu bionic-backports InRelease: At least one invalid signature was encountered.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://deb.nodesource.com/node_12.x bionic InRelease: At least one invalid signature was encountered.
The command '/bin/sh -c add-apt-repository ppa:deadsnakes/ppa -y' returned a non-zero code: 100

ок, убираю и эту строку, оставляю только установку нужной версии питона:

Sending build context to Docker daemon  898.6kB
Step 1/17 : FROM appium/appium
 ---> db8c3c16635e
Step 2/17 : ARG PYTHON_VERSION=3.8
 ---> Using cache
 ---> 79411aa67e20
Step 3/17 : RUN apt-get clean
 ---> Using cache
 ---> a1112c0802ba
Step 4/17 : RUN apt update
 ---> Using cache
 ---> 7e3519447163
Step 5/17 : RUN apt install -y     software-properties-common
 ---> Using cache
 ---> 52361f033f77
Step 6/17 : RUN apt-get clean
 ---> Using cache
 ---> 560502e60a8d
Step 7/17 : RUN apt update && apt install -y --fix-missing     python$PYTHON_VERSION     python$PYTHON_VERSION-dev     python$PYTHON_VERSION-venv
 ---> Running in 9e3e1023f5f1

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease
  At least one invalid signature was encountered.
Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Err:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
  At least one invalid signature was encountered.
Err:2 http://security.ubuntu.com/ubuntu bionic-security InRelease
  At least one invalid signature was encountered.
Get:5 https://deb.nodesource.com/node_12.x bionic InRelease [4584 B]
Err:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
  At least one invalid signature was encountered.
Err:5 https://deb.nodesource.com/node_12.x bionic InRelease
  At least one invalid signature was encountered.
Fetched 257 kB in 2s (135 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com/ubuntu bionic InRelease: At least one invalid signature was encountered.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com/ubuntu bionic-updates InRelease: At least one invalid signature was encountered.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.ubuntu.com/ubuntu bionic-security InRelease: At least one invalid signature was encountered.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com/ubuntu bionic-backports InRelease: At least one invalid signature was encountered.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://deb.nodesource.com/node_12.x bionic InRelease: At least one invalid signature was encountered.
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease  At least one invalid signature was encountered.
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease  At least one invalid signature was encountered.
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease  At least one invalid signature was encountered.
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease  At least one invalid signature was encountered.
W: Failed to fetch https://deb.nodesource.com/node_12.x/dists/bionic/InRelease  At least one invalid signature was encountered.
W: Some index files failed to download. They have been ignored, or old ones used instead.
12 packages can be upgraded. Run 'apt list --upgradable' to see them.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libc-dev-bin libc6-dev libexpat1-dev libpython3.8 libpython3.8-dev
  libpython3.8-minimal libpython3.8-stdlib linux-libc-dev manpages
  manpages-dev python-pip-whl python3.8-minimal zlib1g-dev
Suggested packages:
  glibc-doc man-browser python3.8-doc binutils binfmt-support
The following NEW packages will be installed:
  libc-dev-bin libc6-dev libexpat1-dev libpython3.8 libpython3.8-dev
  libpython3.8-minimal libpython3.8-stdlib linux-libc-dev manpages
  manpages-dev python-pip-whl python3.8 python3.8-dev python3.8-minimal
  python3.8-venv zlib1g-dev
0 upgraded, 16 newly installed, 0 to remove and 12 not upgraded.
Need to get 70.1 MB of archives.
After this operation, 150 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 libpython3.8-minimal amd64 3.8.0-3~18.04 [704 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python3.8-minimal amd64 3.8.0-3~18.04 [1816 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 manpages all 4.15-1 [1234 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 libc-dev-bin amd64 2.27-3ubuntu1 [71.8 kB]
Ign:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-libc-dev amd64 4.15.0-99.100
Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 libc6-dev amd64 2.27-3ubuntu1 [2587 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1-dev amd64 2.2.5-3ubuntu0.2 [122 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 libpython3.8-stdlib amd64 3.8.0-3~18.04 [1677 kB]
Err:5 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 linux-libc-dev amd64 4.15.0-99.100
  404  Not Found [IP: 91.189.88.152 80]
Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 libpython3.8 amd64 3.8.0-3~18.04 [1630 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 libpython3.8-dev amd64 3.8.0-3~18.04 [54.3 MB]
Get:11 http://archive.ubuntu.com/ubuntu bionic/main amd64 manpages-dev all 4.15-1 [2217 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python-pip-whl all 9.0.1-2.3~ubuntu1.18.04.1 [1653 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python3.8 amd64 3.8.0-3~18.04 [355 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-0ubuntu2 [176 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python3.8-dev amd64 3.8.0-3~18.04 [510 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python3.8-venv amd64 3.8.0-3~18.04 [5292 B]
Fetched 69.1 MB in 16s (4240 kB/s)
Unable to correct missing packages.
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_4.15.0-99.100_amd64.deb  404  Not Found [IP: 91.189.88.152 80]
E: Aborting install.
The command '/bin/sh -c apt update && apt install -y --fix-missing     python$PYTHON_VERSION     python$PYTHON_VERSION-dev     python$PYTHON_VERSION-venv' returned a non-zero code: 100

ничерта не понимаю… Смотрел в Dockerfile исходного образа и вроде бы не нашел ничего противоестественного… Вот тут у кого-то похожая проблема. Ок, пробую сделать как тут, т.е. прописываю в /etc/docker/daemon.json гугловые DNS. Рестартую докер-сервис. Записи в /etc/resolv.conf есть, но всё равно 404 ровно на том же месте. Касательно ключей, GPG errors, not signed ошибок: Пробовал делать то же, что и тут - не помогло. И да, в основном всё, что находилось, это советы в духе: apt/apt-get update, apt-get clean и т.п. Примерно наверное пару-тройку недель назад таких проблем не было… Никак не могу понять в чем дело… Проверял sources.list, вроде бы всё как у всех:

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ bionic universe
# deb-src http://archive.ubuntu.com/ubuntu/ bionic universe
deb http://archive.ubuntu.com/ubuntu/ bionic-updates universe
# deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu/ bionic multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu/ bionic-security main restricted
deb http://security.ubuntu.com/ubuntu/ bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu/ bionic-security universe
deb http://security.ubuntu.com/ubuntu/ bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu/ bionic-security multiverse

Пробовал apt-key update - тоже не помогает…:

Step 3/19 : RUN apt-key update
 ---> Running in 019688ef6ddd
Warning: apt-key output should not be parsed (stdout is not a terminal)
Warning: 'apt-key update' is deprecated and should not be used anymore!
gpg: WARNING: unsafe permissions on homedir '/tmp/apt-key-gpghome.tKjXfDpFJJ'
gpg: WARNING: unsafe permissions on homedir '/tmp/apt-key-gpghome.tKjXfDpFJJ'
gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys
gpg: key 3B4FE6ACC0B21F32: "Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>" not changed
gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
gpg: key D94AA3F0EFE21092: "Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>" not changed
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: key 871920D1991BC93C: "Ubuntu Archive Automatic Signing Key (2018) <ftpmaster@ubuntu.com>" not changed
gpg: Total number processed: 3
gpg:              unchanged: 3
gpg: WARNING: unsafe permissions on homedir '/tmp/apt-key-gpghome.tKjXfDpFJJ'
gpg: WARNING: unsafe permissions on homedir '/tmp/apt-key-gpghome.tKjXfDpFJJ'
gpg: WARNING: unsafe permissions on homedir '/tmp/apt-key-gpghome.tKjXfDpFJJ'
gpg: WARNING: unsafe permissions on homedir '/tmp/apt-key-gpghome.tKjXfDpFJJ'
gpg: WARNING: unsafe permissions on homedir '/tmp/apt-key-gpghome.tKjXfDpFJJ'
gpg: WARNING: unsafe permissions on homedir '/tmp/apt-key-gpghome.tKjXfDpFJJ'
gpg: WARNING: unsafe permissions on homedir '/tmp/apt-key-gpghome.tKjXfDpFJJ'
gpg: WARNING: unsafe permissions on homedir '/tmp/apt-key-gpghome.tKjXfDpFJJ'
gpg: WARNING: unsafe permissions on homedir '/tmp/apt-key-gpghome.tKjXfDpFJJ'
gpg: WARNING: unsafe permissions on homedir '/tmp/apt-key-gpghome.tKjXfDpFJJ'
gpg: WARNING: unsafe permissions on homedir '/tmp/apt-key-gpghome.tKjXfDpFJJ'
gpg: WARNING: unsafe permissions on homedir '/tmp/apt-key-gpghome.tKjXfDpFJJ'
gpg: WARNING: unsafe permissions on homedir '/tmp/apt-key-gpghome.tKjXfDpFJJ'
gpg: WARNING: unsafe permissions on homedir '/tmp/apt-key-gpghome.tKjXfDpFJJ'
gpg: WARNING: unsafe permissions on homedir '/tmp/apt-key-gpghome.tKjXfDpFJJ'
Removing intermediate container 019688ef6ddd

Хотя не уверен, всё ли тут ок:

Step 4/20 : RUN APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key list
 ---> Running in fce25dce31d2
/etc/apt/trusted.gpg
--------------------
pub   rsa4096 2014-06-13 [SC]
      9FD3 B784 BC1C 6FC3 1A8A  0A1C 1655 A0AB 6857 6280
uid           [ unknown] NodeSource <gpg@nodesource.com>
sub   rsa4096 2014-06-13 [E]

gpg: WARNING: unsafe permissions on homedir '/tmp/apt-key-gpghome.v0VBfmMbcM'
/etc/apt/trusted.gpg.d/ubuntu-keyring-2012-archive.gpg
------------------------------------------------------
pub   rsa4096 2012-05-11 [SC]
      790B C727 7767 219C 42C8  6F93 3B4F E6AC C0B2 1F32
uid           [ unknown] Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>

gpg: WARNING: unsafe permissions on homedir '/tmp/apt-key-gpghome.v0VBfmMbcM'
/etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg
------------------------------------------------------
pub   rsa4096 2012-05-11 [SC]
      8439 38DF 228D 22F7 B374  2BC0 D94A A3F0 EFE2 1092
uid           [ unknown] Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>

gpg: WARNING: unsafe permissions on homedir '/tmp/apt-key-gpghome.v0VBfmMbcM'
/etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg
------------------------------------------------------
pub   rsa4096 2018-09-17 [SC]
      F6EC B376 2474 EDA9 D21B  7022 8719 20D1 991B C93C
uid           [ unknown] Ubuntu Archive Automatic Signing Key (2018) <ftpmaster@ubuntu.com>

gpg: WARNING: unsafe permissions on homedir '/tmp/apt-key-gpghome.v0VBfmMbcM'
Removing intermediate container fce25dce31d2
 ---> 721688bdc358

Перерыл кучу форумов, но так и не смог найти нормального решения вышеописанных проблем. Еще правда советуют ключ --allow-unauthenticated, но я не уверен, что это хорошая идея… Извиняюсь, если сумбурно получилось описать проблему. Сам просто не до конца понимаю в чём может быть дело.



Последнее исправление: cetjs2 (всего исправлений: 1)

Больше похоже на проблемы с твоей сетью, может провайдер чудит.

Отвлекись от docker и поразбирайся с сетью.

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.