Skip to content

NoMachine Installation Fails due to Broken Download Links #46

@ghen

Description

@ghen

Bug: NoMachine Installation Fails due to Broken Download Links

Problem Description

The Ansible installation of NoMachine in the automator project is currently failing. The download links for version 9.4.14_1 (both primary and mirror) redirect to the NoMachine homepage, resulting in an HTML file being saved as /tmp/nomachine.deb. This causes dpkg-deb to fail with the error: 'not a Debian format archive'.

Verified Fix

  1. Updated src/ansible/roles/remote-desktop/defaults/main.yml to use version 9.5.7_2.
  2. Switched to the verified stable mirror: https://web9001.nomachine.com/download/9.5/Linux/nomachine_9.5.7_2_amd64.deb.

Execution Logs

TASK [remote-desktop : Initialize NoMachine installation state nomachine_package_ready=False, nomachine_installed=False] **************************************************************************
ok: [35.86.185.172]

TASK [remote-desktop : Download NoMachine server package url={{ nomachine_deb_url }}, dest={{ nomachine_deb_path }}, mode=0644, timeout=600, force=True] ******************************************
changed: [35.86.185.172]

TASK [remote-desktop : Validate NoMachine package _raw_params=dpkg-deb --info {{ nomachine_deb_path }}] *******************************************************************************************
[ERROR]: Task failed: Module failed: non-zero return code
Origin: /app/src/ansible/roles/remote-desktop/tasks/nomachine.yml:34:7

32         force: true
33
34     - name: Validate NoMachine package
         ^ column 7

fatal: [35.86.185.172]: FAILED! => {
    "changed": false,
    "cmd": [
        "dpkg-deb",
        "--info",
        "/tmp/nomachine.deb"
    ],
    "delta": "0:00:00.002118",
    "end": "2026-05-10 11:07:42.193976",
    "rc": 2,
    "start": "2026-05-10 11:07:42.191858"
}

STDERR:

dpkg-deb: error: '/tmp/nomachine.deb' is not a Debian format archive


MSG:

non-zero return code

TASK [remote-desktop : Remove invalid NoMachine package path={{ nomachine_deb_path }}, state=absent] **********************************************************************************************
changed: [35.86.185.172]

TASK [remote-desktop : Download NoMachine server package from mirror url={{ nomachine_deb_mirror_url }}, dest={{ nomachine_deb_path }}, mode=0644, timeout=600, force=True] ***********************
changed: [35.86.185.172]

TASK [remote-desktop : Validate NoMachine package from mirror _raw_params=dpkg-deb --info {{ nomachine_deb_path }}] *******************************************************************************
[ERROR]: Task failed: Module failed: non-zero return code
Origin: /app/src/ansible/roles/remote-desktop/tasks/nomachine.yml:59:11

57             force: true
58
59         - name: Validate NoMachine package from mirror
             ^ column 11

fatal: [35.86.185.172]: FAILED! => {
    "changed": false,
    "cmd": [
        "dpkg-deb",
        "--info",
        "/tmp/nomachine.deb"
    ],
    "delta": "0:00:00.002109",
    "end": "2026-05-10 11:08:05.434600",
    "rc": 2,
    "start": "2026-05-10 11:08:05.432491"
}

STDERR:

dpkg-deb: error: '/tmp/nomachine.deb' is not a Debian format archive


MSG:

non-zero return code

TASK [remote-desktop : Remove invalid NoMachine mirror package path={{ nomachine_deb_path }}, state=absent] ***************************************************************************************
changed: [35.86.185.172]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions