Skip to content

Problem: Rocky Linux 9 install fails due to missing GPG dependency #1781

@replaceafill

Description

@replaceafill

Expected behaviour

The Storage Service installs successfully on Rocky Linux 9.

Current behaviour

Installation fails because the qa/1.x branch of the ansible-archivematica-src Ansible role attempts to install gnupg1, which is not available on Rocky Linux 9 with EPEL enabled:

Ansible output
TASK [artefactual.archivematica-src : include_tasks] ***************************
skipping: [localhost] => (item={'name': 'Storage Service osdeps 3', 'packages': []})  => {"ansible_loop_var": "item", "changed": false, "false_condition": "item.packages|length>0", "item": {"name": "Storage Service osdeps 3", "packages": []}, "skip_reason": "Conditional result was False"}
included: /home/runner/work/deploy-pub/deploy-pub/tests/archivematica-acceptance-tests/roles/artefactual.archivematica-src/tasks/install-packages.yml for localhost => (item={'name': 'Storage Service osdeps 1', 'packages': ['epel-release']})
included: /home/runner/work/deploy-pub/deploy-pub/tests/archivematica-acceptance-tests/roles/artefactual.archivematica-src/tasks/install-packages.yml for localhost => (item={'name': 'Storage Service osdeps 2', 'packages': ['nginx', 'unar', 'rsync', 'python3.12-devel', 'libxml2-devel', 'libxslt-devel', 'zlib-devel', 'libffi-devel', 'openssl-devel', 'gcc', 'gcc-c++', 'gettext', 'p7zip', 'p7zip-plugins', 'gnupg1', 'rng-tools', 'openldap-devel', 'rclone']})

TASK [artefactual.archivematica-src : Install/Upgrade Debian packages: Storage Service osdeps 1] ***
skipping: [localhost] => {"changed": false, "false_condition": "ansible_os_family == \"Debian\"", "skip_reason": "Conditional result was False"}

TASK [artefactual.archivematica-src : Install/Upgrade RHEL/CentOS/Rocky packages: Storage Service osdeps 1] ***
ok: [localhost] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []}

TASK [artefactual.archivematica-src : Install/Upgrade Debian packages: Storage Service osdeps 2] ***
skipping: [localhost] => {"changed": false, "false_condition": "ansible_os_family == \"Debian\"", "skip_reason": "Conditional result was False"}

TASK [artefactual.archivematica-src : Install/Upgrade RHEL/CentOS/Rocky packages: Storage Service osdeps 2] ***
fatal: [localhost]: FAILED! => {"changed": false, "failures": ["No package gnupg1 available."], "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}

PLAY RECAP *********************************************************************
localhost                  : ok=132  changed=75   unreachable=0    failed=1    skipped=127  rescued=0    ignored=0   

Steps to reproduce

  1. Provision a Rocky Linux 9 host.
  2. Install the Storage Service using the qa/1.x branch of ansible-archivematica-src.
  3. The process fails because gnupg1 is unavailable.

Your environment (version of Archivematica, operating system, other relevant details)

artefactual-labs/ansible-archivematica-src@42a2192


For Artefactual use:

Before you close this issue, you must check off the following:

  • All pull requests related to this issue are properly linked
  • All pull requests related to this issue have been merged
  • A testing plan for this issue has been implemented and passed (testing plan information should be included in the issue body or comments)
  • Documentation regarding this issue has been written and merged (if applicable)
  • Details about this issue have been added to the release notes (if applicable)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: reviewThe issue's code has been merged and is ready for testing/review.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions