PDF
Download PDF
Download page Некорректный пакет установки.
Некорректный пакет установки
Статья является возможным решением инцидента AAC. Ошибка установки
Окружение
- Astra Linux Special Edition 1.7 Update 5 (№ 2023-1023SE17)
- Automation Controller 1.0
Диагностика
Проверить, что установка завершается сообщением вида:
INFO: TASK [astra.postgresql.postgresql : Ensure PostgreSQL packages are installed.] *** INFO: fatal: [ac01]: FAILED! => {"cache_update_time": 1705390014, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" install 'libpq-dev=13.11-0+deb11u1' 'postgresql-13=13.11-0+deb11u1' 'postgresql-server-dev-13=13.11-0+deb11u1'' failed: E: Unable to correct problems, you have held broken packages.\n", "rc": 100, "stderr": "E: Unable to correct problems, you have held broken packages.\n", "stderr_lines": ["E: Unable to correct problems, you have held broken packages."], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nSome packages could not be installed. This may mean that you have\nrequested an impossible situation or if you are using the unstable\ndistribution that some required packages have not yet been created\nor been moved out of Incoming.\nThe following information may help to resolve the situation:\n\nThe following packages have unmet dependencies:\n libpq-dev : Depends: libpq5 (= 13.11-0+deb11u1) but 1:11.21-astra.se6+ci1 is to be installed\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "Some packages could not be installed. This may mean that you have", "requested an impossible situation or if you are using the unstable", "distribution that some required packages have not yet been created", "or been moved out of Incoming.", "The following information may help to resolve the situation:", "", "The following packages have unmet dependencies:", " libpq-dev : Depends: libpq5 (= 13.11-0+deb11u1) but 1:11.21-astra.se6+ci1 is to be installed"]} INFO: PLAY RECAP ********************************************************************* INFO: ac01 : ok=33 changed=14 unreachable=0 failed=1 skipped=5 rescued=0 ignored=0 ERROR: Installation of the bundle failed: Command '['ansible-playbook', '-i', './inventory', 'playbooks/install.yml', '--extra-vars', 'ansible_python_interpreter=python3']' returned non-zero exit status 2.CODE
Решение
Ответ доступен с подключенной услугой «Техническая поддержка».
Внимание! Для авторизации используйте учетные данные Личного кабинета
Если учетная запись от новой версии личного кабинета отсутствует, просим писать на почту lk@astralinux.ru
Проверить, что установка завершается сообщением вида:
INFO: TASK [astra.postgresql.postgresql : Ensure PostgreSQL packages are installed.] *** INFO: fatal: [ac01]: FAILED! => {"cache_update_time": 1705390014, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" install 'libpq-dev=13.11-0+deb11u1' 'postgresql-13=13.11-0+deb11u1' 'postgresql-server-dev-13=13.11-0+deb11u1'' failed: E: Unable to correct problems, you have held broken packages.\n", "rc": 100, "stderr": "E: Unable to correct problems, you have held broken packages.\n", "stderr_lines": ["E: Unable to correct problems, you have held broken packages."], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nSome packages could not be installed. This may mean that you have\nrequested an impossible situation or if you are using the unstable\ndistribution that some required packages have not yet been created\nor been moved out of Incoming.\nThe following information may help to resolve the situation:\n\nThe following packages have unmet dependencies:\n libpq-dev : Depends: libpq5 (= 13.11-0+deb11u1) but 1:11.21-astra.se6+ci1 is to be installed\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "Some packages could not be installed. This may mean that you have", "requested an impossible situation or if you are using the unstable", "distribution that some required packages have not yet been created", "or been moved out of Incoming.", "The following information may help to resolve the situation:", "", "The following packages have unmet dependencies:", " libpq-dev : Depends: libpq5 (= 13.11-0+deb11u1) but 1:11.21-astra.se6+ci1 is to be installed"]} INFO: PLAY RECAP ********************************************************************* INFO: ac01 : ok=33 changed=14 unreachable=0 failed=1 skipped=5 rescued=0 ignored=0 ERROR: Installation of the bundle failed: Command '['ansible-playbook', '-i', './inventory', 'playbooks/install.yml', '--extra-vars', 'ansible_python_interpreter=python3']' returned non-zero exit status 2.
Возможная причина: Некорректный пакет установки. Перейти к решению.