Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpg: no valid OpenPGP data found. #6

Open
Omib0t opened this issue Jan 17, 2021 · 2 comments
Open

gpg: no valid OpenPGP data found. #6

Omib0t opened this issue Jan 17, 2021 · 2 comments

Comments

@Omib0t
Copy link

Omib0t commented Jan 17, 2021

The command '/bin/sh -c echo deb http://1c.postgrespro.ru/deb/ xenial main > /etc/apt/sources.list.d/postgrespro-1c.list && wget --quiet -O- http://1c.postgrespro.ru/keys/GPG-KEY-POSTGRESPRO-1C | apt-key add - && apt-get -qq update && apt-get -qq install --yes --no-install-recommends postgresql-common-pro-1c && sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf && apt-get -qq install --yes --no-install-recommends postgresql-pro-1c-$SERVER_VERSION && apt-get clean && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 2
Вновь сломались ссылки на репы, пытаюсь перебить ссылки в скрипте но начинает ругаться на:

Для пакета «postgresql-common-pro-1c» не найден кандидат на установку

ENV SERVER_VERSION 13
ENV PATH /usr/lib/postgresql/$SERVER_VERSION/bin:$PATH
ENV PGDATA /data
RUN wget --quiet -O- http://repo.postgrespro.ru/keys/GPG-KEY-POSTGRESPRO | apt-key add - \
  && echo deb http://repo.postgrespro.ru/pg1c-13/ubuntu/ xenial main > /etc/apt/sources.list.d/postgrespro-1c.list \
  && apt-get -qq update \
  && apt-get -qq install --yes --no-install-recommends postgresql-common-pro-1c \
  && sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf \
  && apt-get -qq install --yes --no-install-recommends postgrespro-1c-$SERVER_VERSION \
  && apt-get clean \
  && rm -rf /var/lib/apt/lists/*
@alexanderfefelov
Copy link
Owner

common, кажется, более не существует. С сайта производителя:

Продукт
Postgres Pro Standard 13

Поддерживаемые конфигурации: версии операционной системы и архитектуры

  • ubuntu 16.04: x86_64
  • ubuntu 18.04: x86_64
  • ubuntu 20.04: x86_64, ppc64le, aarch64
  • ubuntu 20.10: x86_64

Инструкции по установке

curl -o apt-repo-add.sh https://repo.postgrespro.ru/pgpro-13/keys/apt-repo-add.sh
sh apt-repo-add.sh

Если наш продукт единственный Postgres на вашей машине и вы хотите сразу получить готовую к употреблению базу:

apt-get install postgrespro-std-13

@alexanderfefelov
Copy link
Owner

И далее:

Если вы хотите создать базу пригодную для использования с продуктами 1С:

apt-get install postgrespro-std-13-contrib
/opt/pgpro/std-13/bin/pg-setup initdb --tune=1c
/opt/pgpro/std-13/bin/pg-setup service enable
/opt/pgpro/std-13/bin/pg-setup service start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants