# apt-get update не работает внутри контейнера: репозиторий yarn не подписан

**URL:** <https://meta.discourse.org/t/apt-get-update-fails-inside-container-yarn-repo-not-signed/253133>\
**Category:** Bug\
**Created:** [27.Январь.2023 17:02:41 UTC](https://meta.discourse.org/t/apt-get-update-fails-inside-container-yarn-repo-not-signed/253133 "2023-01-27T17:02:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [27.Январь.2023 17:20:01 UTC](https://meta.discourse.org/t/apt-get-update-fails-inside-container-yarn-repo-not-signed/253133/3 "2023-01-27T17:20:01Z")

</div>

Клянусь, это стандартная установка. . .

```plaintext
# cat /VERSION 
2.0.20230116

```

~~Я всё ещё проверяю свой CI, чтобы убедиться, что там нет какой-нибудь глупости (что вполне возможно). Не совсем понятно, что именно вызывает `apt-get update`.~~

РЕДАКТИРОВАНИЕ: В моём CI используется шаблон, который устанавливает `vim`. Он выполняет `apt-get update`. В обычной установке, насколько я вижу, `apt-get update` не выполняется, поэтому ваш CI не падает.

Многие шаблоны импорта и шаблоны обновления PostgreSQL (перечисленные ниже) выполняют `apt-get update`, так что это станет проблемой в какой-то момент.

```plaintext
root@monstera:/var/discourse# grep -lr 'apt-get update'
templates/postgres.9.5.template.yml
templates/postgres.13.template.yml
templates/postgres.template.yml
templates/import/mbox.template.yml
templates/import/mysql-dep.template.yml
templates/import/vanilla.template.yml
templates/import/chrome-dep.template.yml
templates/import/phpbb3.template.yml
templates/postgres.10.template.yml
templates/postgres.12.template.yml
image/base/slim.Dockerfile

```

---

_[View the full topic](https://meta.discourse.org/t/apt-get-update-fails-inside-container-yarn-repo-not-signed/253133)._
