package cockpit* not found

  • What version of apnscp are you running?
revision: ca92487ad55c94763dc5ee86356589136e86246e
timestamp: 1762907856
ver_maj: 3
ver_min: 2
ver_patch: 48
ver_pre: ''
dirty: false
debug: false
  • Which version of RHEL or CentOS are you using?
    Rocky 10
  • Can you reproduce this bug reliably? Provide steps. If not, provide steps to the best of your recollection.
    When running upcp -b this error has popped up. Executing dnf install cockpit -y finds the package without problems, installs it and after that the ansible script runs through without problems.
included: /usr/local/apnscp/resources/playbooks/roles/system/yum/tasks/enable-auto-updates-dnf.yml for localhost
included: /usr/local/apnscp/resources/playbooks/roles/common/tasks/implicitly-import-overrides.yml for localhost
included: /usr/local/apnscp/resources/playbooks/roles/software/imagick/tasks/set-xml-element.yml for localhost
included: /usr/local/apnscp/resources/playbooks/roles/software/imagick/tasks/set-xml-element.yml for localhost
included: /usr/local/apnscp/resources/playbooks/roles/software/watchdog/tasks/enable-watchdog.yml for localhost
included: /usr/local/apnscp/resources/playbooks/roles/apnscp/install-services/tasks/template-service.yml for localhost
included: /usr/local/apnscp/resources/playbooks/roles/apnscp/install-services/tasks/install-service.yml for localhost

TASK [software/cockpit : dnf] **********************************************************************************************************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "failures": ["cockpit* - No result for argument: cockpit*"], "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}

PLAY RECAP *****************************************************************************************************************************************************************************************************************************************************************************
localhost                  : ok=1222 changed=30   unreachable=0    failed=1    skipped=686  rescued=1    ignored=0

I’m not able to reproduce this on Rocky 10.1

Run this command twice to trigger the bug (or however you were invoking it previously). Provide the full output or PM it to me for further examination.

upcp -sbvv software/cockpit
# ansible --version

ansible [core 2.16.14]
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.12/site-packages/ansible
  ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/bin/ansible
  python version = 3.12.12 (main, Oct 10 2025, 00:00:00) [GCC 14.3.1 20250617 (Red Hat 14.3.1-2)] (/usr/bin/python3)
  jinja version = 3.1.6
  libyaml = True
1 Like

Running this cmd for a 2nd time seems to have fixed the error.